Class WelcomeReplyServerPacket

Reply to selecting a character / entering game

Hierarchy

  • WelcomeReplyServerPacket

Constructors

Properties

_byteSize: number = 0
_welcomeCode: WelcomeCode = null
_welcomeCodeData: WelcomeCodeData

Accessors

  • get action(): PacketAction
  • Returns PacketAction

  • get byteSize(): number
  • Returns the size of the data that this was deserialized from.

    Returns

    The size of the data that this was deserialized from

    Returns number

  • get family(): PacketFamily
  • Returns PacketFamily

  • get welcomeCode(): WelcomeCode
  • Returns WelcomeCode

  • set welcomeCode(welcomeCode: WelcomeCode): void
  • Parameters

    Returns void

  • get welcomeCodeData(): WelcomeCodeData
  • Returns data associated with the welcomeCode field.

    Returns

    Data associated with the welcomeCode field

    Returns WelcomeCodeData

  • set welcomeCodeData(welcomeCodeData: WelcomeCodeData): void
  • Sets data associated with the welcomeCode field.

    Parameters

    Returns void

  • get action(): PacketAction
  • Returns the packet action associated with this type.

    Returns

    The packet action associated with this type

    Returns PacketAction

  • get family(): PacketFamily
  • Returns the packet family associated with this type.

    Returns

    The packet family associated with this type

    Returns PacketFamily

Methods

  • Parameters

    Returns void

  • Deserializes an instance of WelcomeReplyServerPacket from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns WelcomeReplyServerPacket

  • Serializes an instance of WelcomeReplyServerPacket to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc