Add return types to OnPluginEnd, OnPluginPauseChange, and OnGameFrame

This commit is contained in:
Ross Bemrose 2014-11-07 15:22:49 -05:00
parent 89e7d1c45c
commit 159f2c8335

View File

@ -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.