eolib - v2.0.1
    Preparing search index...

    Class PlayersList

    Information about online players

    Index

    Constructors

    Accessors

    Methods

    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 players(): OnlinePlayer[]

      Returns OnlinePlayer[]

      • Length must be 64008 or less.
    • set players(players: OnlinePlayer[]): void

      Parameters

      Returns void

      • Length must be 64008 or less.

    Methods

    • Deserializes an instance of PlayersList from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns PlayersList

      The deserialized data

    • Serializes an instance of PlayersList to the provided EoWriter.

      Parameters

      • writer: EoWriter

        the writer that the data will be serialized to

      • data: PlayersList

        the data to serialize

      Returns void