THEOplayer > PlayerList
Inherits from Array<ChromelessPlayer> . See parent page for inherited properties and methods.
List of players.
Signature:
export interface PlayerList extends Array<ChromelessPlayer>
Property |
Type |
Description |
---|---|---|
|
Length of the list. |
Method |
Description |
---|---|
getPlayerByUID(UID: |
Return the player with corresponding UID, if any. |
Length of the list.
Signature:
length: number;
Return the player with corresponding UID, if any.
Signature:
getPlayerByUID(UID: number): ChromelessPlayer | undefined;
Parameter |
Type |
Description |
---|---|---|
UID |
|
The UID of the requested player. |
The player with the given UID
, if any.