Show / Hide Table of Contents

    Class TextMessagePacket

    Class that represents a text message packet.

    Inheritance
    System.Object
    TextMessagePacket
    Implements
    IOutboundPacket
    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.Outgoing
    Assembly: Fibula.Communications.Packets.dll
    Syntax
    public class TextMessagePacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    TextMessagePacket(MessageType, String)

    Initializes a new instance of the TextMessagePacket class.

    Declaration
    public TextMessagePacket(MessageType type, string message)
    Parameters
    Type Name Description
    MessageType type

    The messsage type.

    System.String message

    The message.

    Properties

    | Improve this Doc View Source

    Message

    Gets the message contents.

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

    PacketType

    Gets the type of this packet.

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

    Type

    Gets the message type.

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

    Implements

    IOutboundPacket

    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.