Class TPlayersList

Unit

Declaration

type TPlayersList = class(TInterfacedObject, IPlayersList)

Description

Information about online players

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetPlayers: TArray<IOnlinePlayer>;
Public procedure SetPlayers(Players: TArray<IOnlinePlayer>);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TPlayersList;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Players: TArray<IOnlinePlayer> read GetPlayers write SetPlayers;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetPlayers: TArray<IOnlinePlayer>;

This item has no description.

Public procedure SetPlayers(Players: TArray<IOnlinePlayer>);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TPlayersList object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TPlayersList;

Deserializes an instance of TPlayersList from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property Players: TArray<IOnlinePlayer> read GetPlayers write SetPlayers;

Note
Length must be 64008 or less


Generated by PasDoc 0.16.0-snapshot.