Class ChatEntry
Chat Message information of the message being sent. Used in ChatMessage.
Inheritance
System.Object
ChatEntry
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: LlamaSoftware.Chat.Model
Assembly: LlamaSoftware.Chat.Model.dll
Syntax
[Serializable]
public class ChatEntry
Constructors
ChatEntry()
Declaration
public ChatEntry()
ChatEntry(String, UInt32, String, String)
Declaration
public ChatEntry(string Message, uint Channel, string SenderName, string ChannelName)
Parameters
Type | Name | Description |
---|---|---|
System.String | Message | |
System.UInt32 | Channel | |
System.String | SenderName | |
System.String | ChannelName |
Properties
Channel
Unique identifier for the Channel the message is being sent on.
Declaration
public uint Channel { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
ChannelName
Display name of the channel the message is being sent on.
Declaration
public string ChannelName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Message
Text of the message
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Origin
If the message is being sent on a local channel, the location in world space the message originated from.
Declaration
public Vector3 Origin { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
SenderName
Display name of the player sending the message
Declaration
public string SenderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()