Merge pull request #184 from powerlord/sminc-pragma-newdecls-forward-fix
Add return types to OnPluginEnd, OnPluginPauseChange, and OnGameFrame.
This commit is contained in:
commit
b89bd36335
@ -145,7 +145,7 @@ forward APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)
|
|||||||
*
|
*
|
||||||
* @noreturn
|
* @noreturn
|
||||||
*/
|
*/
|
||||||
forward OnPluginEnd();
|
forward void OnPluginEnd();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the plugin's pause status is changing.
|
* Called when the plugin's pause status is changing.
|
||||||
@ -153,14 +153,14 @@ forward OnPluginEnd();
|
|||||||
* @param pause True if the plugin is being paused, false otherwise.
|
* @param pause True if the plugin is being paused, false otherwise.
|
||||||
* @noreturn
|
* @noreturn
|
||||||
*/
|
*/
|
||||||
forward OnPluginPauseChange(bool:pause);
|
forward void OnPluginPauseChange(bool:pause);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called before every server frame. Note that you should avoid
|
* Called before every server frame. Note that you should avoid
|
||||||
* doing expensive computations here, and you should declare large
|
* doing expensive computations here, and you should declare large
|
||||||
* local arrays using 'decl' instead of 'new'.
|
* local arrays using 'decl' instead of 'new'.
|
||||||
*/
|
*/
|
||||||
forward OnGameFrame();
|
forward void OnGameFrame();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the map is loaded.
|
* Called when the map is loaded.
|
||||||
|
@ -177,7 +177,7 @@ native Float:GetTickInterval();
|
|||||||
* the map yet), then this will be called once the server begins ticking, even
|
* the map yet), then this will be called once the server begins ticking, even
|
||||||
* if there is no time limit set.
|
* if there is no time limit set.
|
||||||
*/
|
*/
|
||||||
forward OnMapTimeLeftChanged();
|
forward void OnMapTimeLeftChanged();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether or not the server is processing frames or not.
|
* Returns whether or not the server is processing frames or not.
|
||||||
|
Loading…
Reference in New Issue
Block a user