Class SpeechPacket
Class that represents a speech packet.
Inheritance
System.Object
SpeechPacket
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)
System.Object.ToString()
Namespace: Fibula.Communications.Packets.Incoming
Assembly: Fibula.Communications.Packets.dll
Syntax
public class SpeechPacket : IIncomingPacket, ISpeechInfo
Constructors
| Improve this Doc View SourceSpeechPacket(SpeechType, ChatChannelType, String, String)
Initializes a new instance of the SpeechPacket class.
Declaration
public SpeechPacket(SpeechType type, ChatChannelType channelId, string content, string receiver = "")
Parameters
Type | Name | Description |
---|---|---|
SpeechType | type | The type of speech. |
ChatChannelType | channelId | The channel type. |
System.String | content | The content spoken. |
System.String | receiver | Optional. The receiver of the message, if any. |
Properties
| Improve this Doc View SourceChannelType
Gets the channel type.
Declaration
public ChatChannelType ChannelType { get; }
Property Value
Type | Description |
---|---|
ChatChannelType |
Content
Gets the content of the message.
Declaration
public string Content { get; }
Property Value
Type | Description |
---|---|
System.String |
Receiver
Gets the receiver of the message.
Declaration
public string Receiver { get; }
Property Value
Type | Description |
---|---|
System.String |
SpeechType
Gets the type of speech.
Declaration
public SpeechType SpeechType { get; }
Property Value
Type | Description |
---|---|
SpeechType |