Data associated with banType value 0


The official client treats any value below 2 as a temporary ban.
The official server sends 1, but some game server implementations
erroneously send 0.

Hierarchy

  • BanTypeData0

Constructors

Properties

_byteSize: number = 0
_minutesRemaining: number = null

Accessors

  • 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 minutesRemaining(): number
  • Remarks

    • Value range is 0-255

    Returns number

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

    • Value range is 0-255

    Parameters

    • minutesRemaining: number

    Returns void

Methods

  • Deserializes an instance of BanTypeData0 from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns BanTypeData0

  • Serializes an instance of BanTypeData0 to the provided EoWriter.

    Parameters

    • writer: EoWriter

      the writer that the data will be serialized to

    • data: BanTypeData0

      the data to serialize

    Returns void

Generated using TypeDoc