Dear me, I should have committed this long ago...

1) Added natives to create and manipulate global and private forward
2) Added natives to call forwards and functions
3) Added an IChanageableForward::RemoveFunction overload for convenience or something
4) Added test suite plugins for functions and forwards
5) Some random touch-ups to some include files

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40627
This commit is contained in:
Scott Ehlert
2007-03-16 06:54:24 +00:00
parent b45b71fdd2
commit 5fa53bfc68
18 changed files with 1268 additions and 24 deletions
+3 -3
View File
@@ -91,7 +91,7 @@ native ServerExecute();
* @noreturn
* @error Invalid client index, or client not connected.
*/
native ClientCommand(client, const String:fmt[], {String,Float,Handle,_}:...);
native ClientCommand(client, const String:fmt[], {String,Float,Handle,Function,_}:...);
/**
* Sends a message to the server console.
@@ -100,7 +100,7 @@ native ClientCommand(client, const String:fmt[], {String,Float,Handle,_}:...);
* @param ... Variable number of format parameters.
* @noreturn
*/
native PrintToServer(const String:format[], {Handle,Float,String,_}:...);
native PrintToServer(const String:format[], {Handle,Float,String,Function,_}:...);
/**
* Sends a message to a client's console.
@@ -111,7 +111,7 @@ native PrintToServer(const String:format[], {Handle,Float,String,_}:...);
* @noreturn
* @error If the client is not connected an error will be thrown.
*/
native PrintToConsole(client, const String:format[], {Handle,Float,String,_}:...);
native PrintToConsole(client, const String:format[], {Handle,Float,String,Function,_}:...);
/**
* Called when a server-only command is invoked.