eolib - v2.0.1
    Preparing search index...

    Class TradeOpenServerPacket

    Trade window opens

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

      Returns number

      • Value range is 0-64008
    • set partnerPlayerId(partnerPlayerId: number): void

      Parameters

      • partnerPlayerId: number

      Returns void

      • Value range is 0-64008
    • get partnerPlayerName(): string

      Returns string

    • set partnerPlayerName(partnerPlayerName: string): void

      Parameters

      • partnerPlayerName: string

      Returns void

    • get yourPlayerId(): number

      Returns number

      • Value range is 0-64008
    • set yourPlayerId(yourPlayerId: number): void

      Parameters

      • yourPlayerId: number

      Returns void

      • Value range is 0-64008
    • get yourPlayerName(): string

      Returns string

    • set yourPlayerName(yourPlayerName: string): void

      Parameters

      • yourPlayerName: 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 TradeOpenServerPacket from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns TradeOpenServerPacket

      The deserialized data

    • Serializes an instance of TradeOpenServerPacket to the provided EoWriter.

      Parameters

      Returns void