Show / Hide Table of Contents

    Class CreatureSpeechPacket

    Class that represents a packet for when a creature speaks.

    Inheritance
    System.Object
    CreatureSpeechPacket
    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 CreatureSpeechPacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    CreatureSpeechPacket(UInt32, String, SpeechType, String, Location, ChatChannelType, UInt32)

    Initializes a new instance of the CreatureSpeechPacket class.

    Declaration
    public CreatureSpeechPacket(uint senderId, string senderName, SpeechType speechType, string text, Location location, ChatChannelType channelType, uint time)
    Parameters
    Type Name Description
    System.UInt32 senderId

    The id of the creature that spoke.

    System.String senderName

    The name of the creature that spoke.

    SpeechType speechType

    The type of speech.

    System.String text

    The content of the speech.

    Location location

    The location at which the speech originated.

    ChatChannelType channelType

    The type of channel in which the speech happened.

    System.UInt32 time

    The time at which the speech happened.

    Properties

    | Improve this Doc View Source

    Channel

    Gets the type of channel in which the speech happened.

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

    Location

    Gets the location at which the speech originated.

    Declaration
    public Location Location { get; }
    Property Value
    Type Description
    Location
    | 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

    SenderId

    Gets the id of the creature that spoke.

    Declaration
    public uint SenderId { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    SenderName

    Gets the name of the creature that spoke.

    Declaration
    public string SenderName { 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
    | Improve this Doc View Source

    Text

    Gets the content of the speech.

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

    Time

    Gets the time at which the speech happened.

    Declaration
    public uint Time { get; }
    Property Value
    Type Description
    System.UInt32

    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.