Changed some tags to "any" where appropriate (did I miss anything?)
Plus some other strange things... --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40640
This commit is contained in:
		
							parent
							
								
									bb40b22125
								
							
						
					
					
						commit
						5187ea1903
					
				@ -210,7 +210,7 @@ native AdminId:GetUserAdmin(client);
 | 
				
			|||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 * @error				Invalid client index, or client not connected.
 | 
					 * @error				Invalid client index, or client not connected.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native AddUserFlags(client, {AdminFlag}:...);
 | 
					native AddUserFlags(client, AdminFlag:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Removes flags from a client.  If the client is not an admin,
 | 
					 * Removes flags from a client.  If the client is not an admin,
 | 
				
			||||||
@ -221,7 +221,7 @@ native AddUserFlags(client, {AdminFlag}:...);
 | 
				
			|||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 * @error				Invalid client index, or client not connected.
 | 
					 * @error				Invalid client index, or client not connected.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native RemoveUserFlags(client, {AdminFlag}:...);
 | 
					native RemoveUserFlags(client, AdminFlag:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** 
 | 
					/** 
 | 
				
			||||||
 * Sets access flags on a client using bits instead of flags.  If the
 | 
					 * Sets access flags on a client using bits instead of flags.  If the
 | 
				
			||||||
 | 
				
			|||||||
@ -63,7 +63,7 @@
 | 
				
			|||||||
 * @param ...			Variable number of format parameters.
 | 
					 * @param ...			Variable number of format parameters.
 | 
				
			||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native ServerCommand(const String:format[], {Handle,Float,String,_}:...);
 | 
					native ServerCommand(const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Inserts a server command at the beginning of the server command buffer.
 | 
					 * Inserts a server command at the beginning of the server command buffer.
 | 
				
			||||||
@ -72,7 +72,7 @@ native ServerCommand(const String:format[], {Handle,Float,String,_}:...);
 | 
				
			|||||||
 * @param ...			Variable number of format parameters.
 | 
					 * @param ...			Variable number of format parameters.
 | 
				
			||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native InsertServerCommand(const String:format[], {Handle,Float,String,_}:...);
 | 
					native InsertServerCommand(const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Executes every command in the server's command buffer, rather than once per frame.
 | 
					 * Executes every command in the server's command buffer, rather than once per frame.
 | 
				
			||||||
@ -91,7 +91,7 @@ native ServerExecute();
 | 
				
			|||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 * @error				Invalid client index, or client not connected.
 | 
					 * @error				Invalid client index, or client not connected.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native ClientCommand(client, const String:fmt[], {String,Float,Handle,Function,_}:...);
 | 
					native ClientCommand(client, const String:fmt[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Sends a message to the server console.
 | 
					 * Sends a message to the server console.
 | 
				
			||||||
@ -100,7 +100,7 @@ native ClientCommand(client, const String:fmt[], {String,Float,Handle,Function,_
 | 
				
			|||||||
 * @param ...			Variable number of format parameters.
 | 
					 * @param ...			Variable number of format parameters.
 | 
				
			||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native PrintToServer(const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native PrintToServer(const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Sends a message to a client's console.
 | 
					 * Sends a message to a client's console.
 | 
				
			||||||
@ -111,7 +111,7 @@ native PrintToServer(const String:format[], {Handle,Float,String,Function,_}:...
 | 
				
			|||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 * @error			If the client is not connected an error will be thrown.
 | 
					 * @error			If the client is not connected an error will be thrown.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native PrintToConsole(client, const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native PrintToConsole(client, const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Called when a server-only command is invoked.  
 | 
					 * Called when a server-only command is invoked.  
 | 
				
			||||||
 | 
				
			|||||||
@ -54,7 +54,7 @@ enum PathType
 | 
				
			|||||||
 * @param ...			Format arguments.
 | 
					 * @param ...			Format arguments.
 | 
				
			||||||
 * @return				Number of bytes written to buffer (not including null terminator).
 | 
					 * @return				Number of bytes written to buffer (not including null terminator).
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native BuildPath(PathType:type, String:buffer[], maxlength, const String:fmt[], {Handle,Float,String,Function,_}:...);
 | 
					native BuildPath(PathType:type, String:buffer[], maxlength, const String:fmt[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * @brief Opens a directory/folder for contents enumeration.
 | 
					 * @brief Opens a directory/folder for contents enumeration.
 | 
				
			||||||
@ -186,4 +186,4 @@ native bool:RemoveDir(const String:path[]);
 | 
				
			|||||||
 * @param ...			Variable number of format parameters.
 | 
					 * @param ...			Variable number of format parameters.
 | 
				
			||||||
 * @return				True on success, false otherwise.
 | 
					 * @return				True on success, false otherwise.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native bool:WriteFileLine(Handle:hndl, const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native bool:WriteFileLine(Handle:hndl, const String:format[], any:...);
 | 
				
			||||||
 | 
				
			|||||||
@ -109,7 +109,7 @@ native Function:GetFunctionByName(Handle:plugin, const String:name[]);
 | 
				
			|||||||
 * @return 					Handle to new global forward.
 | 
					 * @return 					Handle to new global forward.
 | 
				
			||||||
 * @error					More than 32 paramater types passed.
 | 
					 * @error					More than 32 paramater types passed.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native Handle:CreateGlobalForward(const String:name[], ExecType:type, {ParamType}:...);
 | 
					native Handle:CreateGlobalForward(const String:name[], ExecType:type, ParamType:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Creates a private forward.
 | 
					 * Creates a private forward.
 | 
				
			||||||
@ -121,7 +121,7 @@ native Handle:CreateGlobalForward(const String:name[], ExecType:type, {ParamType
 | 
				
			|||||||
 * @return 					Handle to new private forward.
 | 
					 * @return 					Handle to new private forward.
 | 
				
			||||||
 * @error					More than 32 paramater types passed.
 | 
					 * @error					More than 32 paramater types passed.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native Handle:CreateForward(ExecType:type, {ParamType}:...);
 | 
					native Handle:CreateForward(ExecType:type, ParamType:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Returns the number of functions in a global or private forward's call list.
 | 
					 * Returns the number of functions in a global or private forward's call list.
 | 
				
			||||||
@ -348,7 +348,7 @@ native CreateNative(const String:name[], NativeCall:func);
 | 
				
			|||||||
 * @param fmt				Error message format.
 | 
					 * @param fmt				Error message format.
 | 
				
			||||||
 * @param ...				Format arguments.
 | 
					 * @param ...				Format arguments.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native ThrowNativeError(error, const String:fmt[], {Handle,Float,String,Function,_}:...);
 | 
					native ThrowNativeError(error, const String:fmt[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Retrieves the string length from a native parameter string.  This is useful 
 | 
					 * Retrieves the string length from a native parameter string.  This is useful 
 | 
				
			||||||
 | 
				
			|||||||
@ -189,7 +189,7 @@ native bool:GetPluginInfo(Handle:plugin, PluginInfo:info, String:buffer[], maxle
 | 
				
			|||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 * @error				Always!
 | 
					 * @error				Always!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native ThrowError(const String:fmt[], {Handle,Float,String,Function,_}:...);
 | 
					native ThrowError(const String:fmt[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Logs a generic message to the HL2 logs.
 | 
					 * Logs a generic message to the HL2 logs.
 | 
				
			||||||
@ -198,7 +198,7 @@ native ThrowError(const String:fmt[], {Handle,Float,String,Function,_}:...);
 | 
				
			|||||||
 * @param ...			Format arguments.
 | 
					 * @param ...			Format arguments.
 | 
				
			||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native LogToGame(const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native LogToGame(const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Logs a plugin message to the SourceMod logs.
 | 
					 * Logs a plugin message to the SourceMod logs.
 | 
				
			||||||
@ -207,7 +207,7 @@ native LogToGame(const String:format[], {Handle,Float,String,Function,_}:...);
 | 
				
			|||||||
 * @param ...			Format arguments.
 | 
					 * @param ...			Format arguments.
 | 
				
			||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native LogMessage(const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native LogMessage(const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Logs a plugin error message to the SourceMod logs.
 | 
					 * Logs a plugin error message to the SourceMod logs.
 | 
				
			||||||
@ -216,7 +216,7 @@ native LogMessage(const String:format[], {Handle,Float,String,Function,_}:...);
 | 
				
			|||||||
 * @param ...			Format arguments.
 | 
					 * @param ...			Format arguments.
 | 
				
			||||||
 * @noreturn
 | 
					 * @noreturn
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native LogError(const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native LogError(const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Gets the system time as a unix timestamp.
 | 
					 * Gets the system time as a unix timestamp.
 | 
				
			||||||
 | 
				
			|||||||
@ -93,7 +93,7 @@ native StrCopy(String:dest[], destLen, const String:source[]);
 | 
				
			|||||||
 * @param ...			Variable number of format parameters.
 | 
					 * @param ...			Variable number of format parameters.
 | 
				
			||||||
 * @return				Number of cells written.
 | 
					 * @return				Number of cells written.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native Format(String:buffer[], maxlength, const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native Format(String:buffer[], maxlength, const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Formats a string according to the SourceMod format rules (see documentation).
 | 
					 * Formats a string according to the SourceMod format rules (see documentation).
 | 
				
			||||||
@ -106,7 +106,7 @@ native Format(String:buffer[], maxlength, const String:format[], {Handle,Float,S
 | 
				
			|||||||
 * @param ...			Variable number of format parameters.
 | 
					 * @param ...			Variable number of format parameters.
 | 
				
			||||||
 * @return				Number of cells written.
 | 
					 * @return				Number of cells written.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
native FormatEx(String:buffer[], maxlength, const String:format[], {Handle,Float,String,Function,_}:...);
 | 
					native FormatEx(String:buffer[], maxlength, const String:format[], any:...);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Formats a string according to the SourceMod format rules (see documentation).
 | 
					 * Formats a string according to the SourceMod format rules (see documentation).
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user