Add OnServerHibernationUpdate forward (closes #1483) (#2151)

* Add OnServerHibernationUpdate forward (closes #1483)

* Clarify hibernation state

* make it 2 forwards instead of 1

---------

Co-authored-by: Odin Landers <[email protected]>
This commit is contained in:
ojlanders
2024-05-07 01:44:56 +00:00
committed by GitHub
co-authored by Odin Landers
parent 908ffdb523
commit e60c672485
2 changed files with 23 additions and 0 deletions
+12
View File
@@ -215,6 +215,18 @@ forward Action OnClientPreAdminCheck(int client);
*/
forward void OnClientPostAdminFilter(int client);
/**
* Called directly before the server enters hibernation.
* This is your last chance to do anything in the plugin before
* hibernation occurs, as SV_Frame will no longer be called.
*/
forward void OnServerEnterHibernation();
/**
* Called directly before the server leaves hibernation.
*/
forward void OnServerExitHibernation();
/**
* Called once a client is authorized and fully in-game, and
* after all post-connection authorizations have been performed.