Show / Hide Table of Contents

    Class SpeechPacket

    Class that represents a speech packet.

    Inheritance
    System.Object
    SpeechPacket
    Implements
    IIncomingPacket
    ISpeechInfo
    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 Source

    SpeechPacket(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 Source

    ChannelType

    Gets the channel type.

    Declaration
    public ChatChannelType ChannelType { get; }
    Property Value
    Type Description
    ChatChannelType
    | Improve this Doc View Source

    Content

    Gets the content of the message.

    Declaration
    public string Content { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Receiver

    Gets the receiver of the message.

    Declaration
    public string Receiver { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    SpeechType

    Gets the type of speech.

    Declaration
    public SpeechType SpeechType { get; }
    Property Value
    Type Description
    SpeechType

    Implements

    IIncomingPacket
    ISpeechInfo

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.