eolib - v2.0.1
    Preparing search index...

    Class BoardPlayerServerPacket

    Reply to reading a post on a town board

    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

    postBody

    • get postBody(): string

      Returns string

    • set postBody(postBody: string): void

      Parameters

      • postBody: string

      Returns void

    • get postId(): number

      Returns number

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

      Parameters

      • postId: number

      Returns void

      • Value range is 0-64008
    • 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 BoardPlayerServerPacket from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns BoardPlayerServerPacket

      The deserialized data

    • Serializes an instance of BoardPlayerServerPacket to the provided EoWriter.

      Parameters

      Returns void