Interface PlayerList

List of players.

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

Hierarchy

Indexable

[index: number]: ChromelessPlayer

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.

Generated using TypeDoc