Council
in package
Table of Contents
Properties
- $COUNCILS : array<int, array<int, array<int, int>>>
- $PRESIDENTS : array<int, array<int, int|false>>
Methods
- getPresidentID() : int|false
- Returns the Account ID of the President for this race (or false if no President).
- getRaceCouncil() : array<int, int>
- Returns an array of Account ID's of the Council for this race.
- isOnCouncil() : bool
Properties
$COUNCILS
protected
static array<int, array<int, array<int, int>>>
$COUNCILS
= []
$PRESIDENTS
protected
static array<int, array<int, int|false>>
$PRESIDENTS
= []
Methods
getPresidentID()
Returns the Account ID of the President for this race (or false if no President).
public
static getPresidentID(int $gameID, int $raceID) : int|false
Parameters
- $gameID : int
- $raceID : int
Return values
int|falsegetRaceCouncil()
Returns an array of Account ID's of the Council for this race.
public
static getRaceCouncil(int $gameID, int $raceID) : array<int, int>
Parameters
- $gameID : int
- $raceID : int
Return values
array<int, int>isOnCouncil()
public
static isOnCouncil(int $gameID, int $raceID, int $accountID) : bool
Parameters
- $gameID : int
- $raceID : int
- $accountID : int