eolib - v2.0.1
    Preparing search index...

    Class WalkAction

    Common data between walk packets

    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 coords(): Coords

      Returns Coords

    • set coords(coords: Coords): void

      Parameters

      Returns void

    • get direction(): Direction

      Returns Direction

    • set direction(direction: Direction): void

      Parameters

      Returns void

    • get timestamp(): number

      Returns number

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

      Parameters

      • timestamp: number

      Returns void

      • Value range is 0-16194276

    Methods

    • Deserializes an instance of WalkAction from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns WalkAction

      The deserialized data

    • Serializes an instance of WalkAction to the provided EoWriter.

      Parameters

      • writer: EoWriter

        the writer that the data will be serialized to

      • data: WalkAction

        the data to serialize

      Returns void