eolib - v2.0.1
    Preparing search index...

    Class TileEffect

    An effect playing on a tile

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

      Returns number

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

      Parameters

      • effectId: number

      Returns void

      • Value range is 0-64008

    Methods

    • Deserializes an instance of TileEffect from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns TileEffect

      The deserialized data

    • Serializes an instance of TileEffect to the provided EoWriter.

      Parameters

      • writer: EoWriter

        the writer that the data will be serialized to

      • data: TileEffect

        the data to serialize

      Returns void