eolib - v2.0.1
    Preparing search index...

    Class InitInitClientPacket

    Connection initialization request.
    This packet is unencrypted.

    Index

    Constructors

    Accessors

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

      Returns number

      • Value range is 0-16194276
    • set challenge(challenge: number): void

      Parameters

      • challenge: number

      Returns void

      • Value range is 0-16194276
    • get hdid(): string

      Returns string

      • Length must be 252 or less.
    • set hdid(hdid: string): void

      Parameters

      • hdid: string

      Returns void

      • Length must be 252 or less.
    • get version(): Version

      Returns Version

    • set version(version: Version): void

      Parameters

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

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns InitInitClientPacket

      The deserialized data

    • Serializes an instance of InitInitClientPacket to the provided EoWriter.

      Parameters

      Returns void