The PlayerExtraInfo class returns additional information about a player. An object of the PlayerExtraInfo type is returned when the getPlayerExtraInfo method of PlayersClient is called.
Return | Method |
boolean | Checks whether a player is an adult. |
String | Obtains the ID of the current player. |
int | Obtains the played time of a player on the current day, in minutes. |
boolean | Checks whether a player is a real-name player. |
Checks whether a player is an adult.
Return Values
Type | Description |
boolean | Indicates whether a player is an adult.
|
Obtains the ID of the current player.
Return Values
Type | Description |
String | ID of the current player. |
Obtains the played time of a player on the current day.
Return Values
Type | Description |
int | Played time of a player on the current day, in minutes. If the time is less than 1 minute, 1 minute is returned. |
Checks whether a player is a real-name player.
Return Values
Type | Description |
boolean | Indicates whether a player is a real-name player.
|