mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[raknet] Use char*
instead of unsigned char*
for RPC IDs
This commit is contained in:
@ -35,19 +35,19 @@ public:
|
||||
/// Register a C or static member function as available for calling as a remote procedure call
|
||||
/// \param[in] uniqueID: A null-terminated unique string to identify this procedure. Recommended you use the macro CLASS_MEMBER_ID for class member functions
|
||||
/// \param[in] functionPointer(...): The name of the function to be used as a function pointer. This can be called whether active or not, and registered functions stay registered unless unregistered
|
||||
virtual void RegisterAsRemoteProcedureCall( unsigned char* uniqueID, void ( *functionPointer ) ( RPCParameters *rpcParms ) )=0;
|
||||
virtual void RegisterAsRemoteProcedureCall( char* uniqueID, void ( *functionPointer ) ( RPCParameters *rpcParms ) )=0;
|
||||
|
||||
/// \ingroup RAKNET_RPC
|
||||
/// Register a C++ member function as available for calling as a remote procedure call.
|
||||
/// \param[in] uniqueID: A null terminated string to identify this procedure.Recommended you use the macro REGISTER_CLASS_MEMBER_RPC
|
||||
/// \param[in] functionPointer: The name of the function to be used as a function pointer. This can be called whether active or not, and registered functions stay registered unless unregistered with UnregisterAsRemoteProcedureCall
|
||||
/// \sa ObjectMemberRPC.cpp
|
||||
virtual void RegisterClassMemberRPC( unsigned char* uniqueID, void *functionPointer )=0;
|
||||
virtual void RegisterClassMemberRPC( char* uniqueID, void *functionPointer )=0;
|
||||
|
||||
///\ingroup RAKNET_RPC
|
||||
/// Unregisters a C function as available for calling as a remote procedure call that was formerly registeredwith RegisterAsRemoteProcedureCallOnly call offline
|
||||
/// \param[in] uniqueID A string of only letters to identify this procedure. Recommended you use the macro CLASS_MEMBER_ID for class member functions. Must match the parameterpassed to RegisterAsRemoteProcedureCall
|
||||
virtual void UnregisterAsRemoteProcedureCall( unsigned char* uniqueID )=0;
|
||||
virtual void UnregisterAsRemoteProcedureCall( char* uniqueID )=0;
|
||||
|
||||
virtual void vftable_64()=0;
|
||||
virtual void vftable_68()=0;
|
||||
|
Reference in New Issue
Block a user