Add return types to OnPluginEnd, OnPluginPauseChange, and OnGameFrame
This commit is contained in:
parent
89e7d1c45c
commit
159f2c8335
@ -145,7 +145,7 @@ forward APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)
|
||||
*
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnPluginEnd();
|
||||
forward void OnPluginEnd();
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnPluginPauseChange(bool:pause);
|
||||
forward void OnPluginPauseChange(bool:pause);
|
||||
|
||||
/**
|
||||
* Called before every server frame. Note that you should avoid
|
||||
* doing expensive computations here, and you should declare large
|
||||
* local arrays using 'decl' instead of 'new'.
|
||||
*/
|
||||
forward OnGameFrame();
|
||||
forward void OnGameFrame();
|
||||
|
||||
/**
|
||||
* Called when the map is loaded.
|
||||
|
Loading…
Reference in New Issue
Block a user