Merge pull request #294 from alliedmodders/explicit-ret-types
Add explicit return types to forwards missing them (r=dvander).
This commit is contained in:
commit
d72a9150a1
@ -63,17 +63,15 @@
|
||||
* the Handle or add categories.
|
||||
*
|
||||
* @param topmenu Handle to the admin menu's TopMenu.
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnAdminMenuCreated(Handle topmenu);
|
||||
forward void OnAdminMenuCreated(Handle topmenu);
|
||||
|
||||
/**
|
||||
* Called when the admin menu is ready to have items added.
|
||||
*
|
||||
* @param topmenu Handle to the admin menu's TopMenu.
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnAdminMenuReady(Handle topmenu);
|
||||
forward void OnAdminMenuReady(Handle topmenu);
|
||||
|
||||
/**
|
||||
* Retrieves the Handle to the admin top menu.
|
||||
|
@ -41,7 +41,7 @@
|
||||
* @param client Client index
|
||||
* @param muteState True if client was muted, false otherwise
|
||||
*/
|
||||
forward BaseComm_OnClientMute(client, bool:muteState);
|
||||
forward void BaseComm_OnClientMute(client, bool:muteState);
|
||||
|
||||
/**
|
||||
* Called when a client is gagged or ungagged
|
||||
@ -49,7 +49,7 @@
|
||||
* @param client Client index
|
||||
* @param gagState True if client was gaged, false otherwise
|
||||
*/
|
||||
forward BaseComm_OnClientGag(client, bool:gagState);
|
||||
forward void BaseComm_OnClientGag(client, bool:gagState);
|
||||
|
||||
/**
|
||||
* Returns whether or not a client is gagged
|
||||
|
@ -156,7 +156,7 @@ native bool:AreClientCookiesCached(client);
|
||||
*
|
||||
* @param client Client index.
|
||||
*/
|
||||
forward OnClientCookiesCached(client);
|
||||
forward void OnClientCookiesCached(client);
|
||||
|
||||
/**
|
||||
* Cookie Menu Callback prototype
|
||||
|
@ -399,32 +399,26 @@ native TF2_RemoveWearable(client, wearable);
|
||||
*
|
||||
* @param client Index of the client to which the conditon is being added.
|
||||
* @param condition Condition that is being added.
|
||||
* @noreturn
|
||||
*/
|
||||
forward TF2_OnConditionAdded(client, TFCond:condition);
|
||||
forward void TF2_OnConditionAdded(client, TFCond:condition);
|
||||
|
||||
/**
|
||||
* Called after a condition is removed from a player
|
||||
*
|
||||
* @param client Index of the client to which the condition is being removed.
|
||||
* @param condition Condition that is being removed.
|
||||
* @noreturn
|
||||
*/
|
||||
forward TF2_OnConditionRemoved(client, TFCond:condition);
|
||||
forward void TF2_OnConditionRemoved(client, TFCond:condition);
|
||||
|
||||
/**
|
||||
* Called when the server enters the Waiting for Players round state
|
||||
*
|
||||
* @noreturn
|
||||
*/
|
||||
forward TF2_OnWaitingForPlayersStart();
|
||||
forward void TF2_OnWaitingForPlayersStart();
|
||||
|
||||
/**
|
||||
* Called when the server exits the Waiting for Players round state
|
||||
*
|
||||
* @noreturn
|
||||
*/
|
||||
forward TF2_OnWaitingForPlayersEnd();
|
||||
forward void TF2_OnWaitingForPlayersEnd();
|
||||
|
||||
/**
|
||||
* Called when a player attempts to use a teleporter to decide if the player should be allowed to teleport.
|
||||
|
Loading…
Reference in New Issue
Block a user