eolib - v2.0.1
    Preparing search index...

    Class AccountAgreeClientPacket

    Change password

    Index

    Constructors

    Accessors

    • get action(): PacketAction

      Returns PacketAction

    • get byteSize(): number

      Returns the size of the data that this was deserialized from.

      Returns number

      The size of the data that this was deserialized from

    • 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 PacketAction

      The packet action associated with this type

    • get family(): PacketFamily

      Returns the packet family associated with this type.

      Returns PacketFamily

      The packet family associated with this type

    Methods

    • Parameters

      Returns void

    • Deserializes an instance of AccountAgreeClientPacket from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns AccountAgreeClientPacket

      The deserialized data

    • Serializes an instance of AccountAgreeClientPacket to the provided EoWriter.

      Parameters

      Returns void