Class AccountAgreeClientPacket

Change password

Hierarchy

  • AccountAgreeClientPacket

Constructors

Properties

_byteSize: number = 0
_newPassword: string = null
_oldPassword: string = null
_username: 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 newPassword(): string
  • Returns string

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

    • newPassword: string

    Returns void

  • get oldPassword(): string
  • Returns string

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

    • oldPassword: string

    Returns void

  • get username(): string
  • Returns string

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

    • username: 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 AccountAgreeClientPacket from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns AccountAgreeClientPacket

  • Serializes an instance of AccountAgreeClientPacket to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc