Nuclide
Software Development Kit for id Tech
|
Client Utility API Reference. More...
Functions | |
bool | Client_IsSpectator (NSClient) |
Returns if the specified client is a NSClientSpectator, doesn't matter if real or fake. More... | |
bool | Client_IsRealSpectator (NSClient cl) |
Returns if we're a permanent NSClientSpectator, USE THIS if you want to access NSClientSpectator class attributes. More... | |
bool | Client_IsFakeSpectator (NSClient cl) |
Returns if we're a fake NSClientSpectator, in case you need to be certain. More... | |
bool | Client_IsDead (NSClient) |
Return if the specified client is dead. More... | |
bool | Client_IsPlayer (NSClient cl) |
Returns if the specified client is a playable client class. More... | |
bool | Client_InIntermission (void) |
Are we in an intermission? (Match ending screen) More... | |
string | Util_GetKeyString (string strBind) |
Returns the name of the key that a given command is bound to. More... | |
bool | Client_InVehicle (void) |
Returns if the currently active client-seat is in a vehicle. More... | |
string | Util_GetTime (void) |
float | Util_GetTimeLeft (void) |
string | Util_GetAddress (void) |
Client Utility API Reference.
bool Client_InIntermission | ( | void | ) |
Are we in an intermission? (Match ending screen)
bool Client_InVehicle | ( | void | ) |
Returns if the currently active client-seat is in a vehicle.
bool Client_IsDead | ( | NSClient | cl | ) |
Return if the specified client is dead.
If they're a NSClientSpectator they're always alive.
bool Client_IsFakeSpectator | ( | NSClient | cl | ) |
Returns if we're a fake NSClientSpectator, in case you need to be certain.
bool Client_IsPlayer | ( | NSClient | cl | ) |
Returns if the specified client is a playable client class.
bool Client_IsRealSpectator | ( | NSClient | cl | ) |
Returns if we're a permanent NSClientSpectator, USE THIS if you want to access NSClientSpectator class attributes.
bool Client_IsSpectator | ( | NSClient | cl | ) |
Returns if the specified client is a NSClientSpectator, doesn't matter if real or fake.
Returns the name of the key that a given command is bound to.
strBind | the command in question. E.g. "+forward" |