@gameye/sdk
Version:
Node.js SDK for Gameye
20 lines (19 loc) • 805 B
TypeScript
import * as models from "../models";
export declare type PlayerItem = models.PlayerModel;
/**
* List all players in the match.
* @param statisticState statistic state
*/
export declare function selectPlayerList(statisticState: models.StatisticQueryState): PlayerItem[];
/**
* Get a list if all players in a team.
* @param statisticState statistic state
* @param teamKey identifier of the team
*/
export declare function selectPlayerListForTeam(statisticState: models.StatisticQueryState, teamKey: string): PlayerItem[];
/**
* Get a single player in the match.
* @param statisticState statistic state
* @param playerKey identifier of the player to get the details for
*/
export declare function selectPlayerItem(statisticState: models.StatisticQueryState, playerKey: string): PlayerItem | null;