Interface PlayerList

List of players.

interface PlayerList {
    length: number;
    getPlayerByUID(UID: number): undefined | ChromelessPlayer;
    [index: number]: ChromelessPlayer;
}

Hierarchy

Indexable

Properties

Methods

Properties

length: number

Length of the list.

Methods

  • Return the player with corresponding UID, if any.

    Parameters

    • UID: number

      The UID of the requested player.

    Returns undefined | ChromelessPlayer

    The player with the given UID, if any.