Class ArenaAcceptServerPacket

Arena win message

Hierarchy

  • ArenaAcceptServerPacket

Constructors

Properties

_byteSize: number = 0
_killerName: string = null
_killsCount: number = null
_victimName: string = null
_winnerName: string = null

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 killerName(): string
  • Returns string

  • set killerName(killerName: string): void
  • Parameters

    • killerName: string

    Returns void

  • get killsCount(): number
  • Remarks

    • Value range is 0-4097152080

    Returns number

  • set killsCount(killsCount: number): void
  • Remarks

    • Value range is 0-4097152080

    Parameters

    • killsCount: number

    Returns void

  • get victimName(): string
  • Returns string

  • set victimName(victimName: string): void
  • Parameters

    • victimName: string

    Returns void

  • get winnerName(): string
  • Returns string

  • set winnerName(winnerName: string): void
  • Parameters

    • winnerName: string

    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 ArenaAcceptServerPacket from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns ArenaAcceptServerPacket

  • Serializes an instance of ArenaAcceptServerPacket to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc