Update spcomp and includes to latest 1.10-fork
disable warning 241: Array-based enum structs will be removed in 1.11
This commit is contained in:
Vendored
+16
-16
@@ -38,50 +38,50 @@
|
||||
/**
|
||||
* Called when a client is muted or unmuted
|
||||
*
|
||||
* @param client Client index
|
||||
* @param muteState True if client was muted, false otherwise
|
||||
* @param client Client index
|
||||
* @param muteState True if client was muted, false otherwise
|
||||
*/
|
||||
forward void BaseComm_OnClientMute(int client, bool muteState);
|
||||
forward void BaseComm_OnClientMute(int client, bool muteState);
|
||||
|
||||
/**
|
||||
* Called when a client is gagged or ungagged
|
||||
*
|
||||
* @param client Client index
|
||||
* @param gagState True if client was gaged, false otherwise
|
||||
* @param client Client index
|
||||
* @param gagState True if client was gaged, false otherwise
|
||||
*/
|
||||
forward void BaseComm_OnClientGag(int client, bool gagState);
|
||||
forward void BaseComm_OnClientGag(int client, bool gagState);
|
||||
|
||||
/**
|
||||
* Returns whether or not a client is gagged
|
||||
*
|
||||
* @param client Client index.
|
||||
* @return True if client is gagged, false otherwise.
|
||||
* @param client Client index.
|
||||
* @return True if client is gagged, false otherwise.
|
||||
*/
|
||||
native bool BaseComm_IsClientGagged(int client);
|
||||
|
||||
/**
|
||||
* Returns whether or not a client is muted
|
||||
*
|
||||
* @param client Client index.
|
||||
* @return True if client is muted, false otherwise.
|
||||
* @param client Client index.
|
||||
* @return True if client is muted, false otherwise.
|
||||
*/
|
||||
native bool BaseComm_IsClientMuted(int client);
|
||||
|
||||
/**
|
||||
* Sets a client's gag state
|
||||
*
|
||||
* @param client Client index.
|
||||
* @param gagState True to gag client, false to ungag.
|
||||
* @return True if this caused a change in gag state, false otherwise.
|
||||
* @param client Client index.
|
||||
* @param gagState True to gag client, false to ungag.
|
||||
* @return True if this caused a change in gag state, false otherwise.
|
||||
*/
|
||||
native bool BaseComm_SetClientGag(int client, bool gagState);
|
||||
|
||||
/**
|
||||
* Sets a client's mute state
|
||||
*
|
||||
* @param client Client index.
|
||||
* @param muteState True to mute client, false to unmute.
|
||||
* @return True if this caused a change in mute state, false otherwise.
|
||||
* @param client Client index.
|
||||
* @param muteState True to mute client, false to unmute.
|
||||
* @return True if this caused a change in mute state, false otherwise.
|
||||
*/
|
||||
native bool BaseComm_SetClientMute(int client, bool muteState);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user