OpenTTD GameScript API
20241123-master-g26ae50baf9
|
Class that handles all client related functions. More...
Public Types | |
enum | ClientID : int { CLIENT_INVALID , CLIENT_SERVER , CLIENT_FIRST } |
Different constants related to ClientID. More... | |
Static Public Member Functions | |
static ClientID | ResolveClientID (ClientID client) |
Resolves the given client id to the correct index for the client. More... | |
static string | GetName (ClientID client) |
Get the name of the given client. More... | |
static GSCompany::CompanyID | GetCompany (ClientID client) |
Get the company in which the given client is playing. More... | |
static GSDate::Date | GetJoinDate (ClientID client) |
Get the economy-date when the given client has joined. More... | |
Class that handles all client related functions.
enum GSClient::ClientID : int |
|
static |
Get the company in which the given client is playing.
client | The client to get company for. |
|
static |
Get the economy-date when the given client has joined.
client | The client to get joining date for. |
|
static |
Get the name of the given client.
client | The client to get the name for. |