eolib - v2.0.1
    Preparing search index...

    Class AvatarChange

    Information about a nearby player's appearance changing

    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 changeTypeData(): ChangeTypeData

      Returns data associated with the changeType field.

      Returns ChangeTypeData

      Data associated with the changeType field

    • set changeTypeData(changeTypeData: ChangeTypeData): void

      Sets data associated with the changeType field.

      Parameters

      Returns void

    • get playerId(): number

      Returns number

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

      Parameters

      • playerId: number

      Returns void

      • Value range is 0-64008
    • get sound(): boolean

      Returns boolean

    • set sound(sound: boolean): void

      Parameters

      • sound: boolean

      Returns void

    Methods

    • Deserializes an instance of AvatarChange from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns AvatarChange

      The deserialized data

    • Serializes an instance of AvatarChange to the provided EoWriter.

      Parameters

      • writer: EoWriter

        the writer that the data will be serialized to

      • data: AvatarChange

        the data to serialize

      Returns void