#include "PluginInterface.h"
#include "DS_Map.h"
#include "PacketPriority.h"
#include "RakNetTypes.h"
#include "BitStream.h"
#include "Gen_RPC8.h"
#include "RakString.h"
#include "NetworkIDObject.h"
Usage of RakNet is subject to the appropriate license agreement. Creative Commons Licensees are subject to the license found at http://creativecommons.org/licenses/by-nc/2.5/ Single application licensees are subject to the license found at http://www.jenkinssoftware.com/SingleApplicationLicense.html Custom license users are subject to the terms therein. GPL license users are subject to the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
#define ARPC_REGISTER_CPP_FUNCTION | ( | autoRPCInstance, | |||
_IDENTIFIER_, | |||||
_RETURN_, | |||||
_CLASS_, | |||||
_FUNCTION_, | |||||
_PARAMS_ | ) | (autoRPCInstance)->RegisterFunction( (_IDENTIFIER_), GenRPC::PMFWrapper<_CLASS_, _RETURN_(AUTO_RPC_CALLSPEC _CLASS_::*) _PARAMS_ >( &_CLASS_::_FUNCTION_), true, -1 ) |
Get a pointer to a function member of a C++ class.
Cannot validate the number of parameters is correctly passed.
You must use one of these macros, or the code will be broken.
[in] | autoRPCInstance | A pointer to an instance of AutoRPC |
[in] | _IDENTIFIER_ | C string identifier to use on the remote system to call the function |
[in] | _RETURN_ | Return value of the function |
[in] | _CLASS_ | Base-most class of the containing class that contains your function |
[in] | _FUNCTION_ | Name of the function |
[in] | _PARAMS_ | Parameter list, include parenthesis |
#define ARPC_REGISTER_CPP_FUNCTION_N | ( | autoRPCInstance, | |||
_IDENTIFIER_, | |||||
_RETURN_, | |||||
_CLASS_, | |||||
_FUNCTION_, | |||||
... | ) | (autoRPCInstance)->RegisterFunction( (_IDENTIFIER_), GenRPC::PMFWrapper<_CLASS_, _RETURN_(AUTO_RPC_CALLSPEC _CLASS_::*)(__VA_ARGS__)>( &_CLASS_::_FUNCTION_), true, GenRPC::countFuncArgs( &_CLASS_::_FUNCTION_ ) - 1 ) |
Get a pointer to a function member of a C++ class
[in] | autoRPCInstance | A pointer to an instance of AutoRPC |
[in] | _IDENTIFIER_ | C string identifier to use on the remote system to call the function |
[in] | _RETURN_ | Return value of the function |
[in] | _CLASS_ | Base-most class of the containing class that contains your function |
[in] | _FUNCTION_ | Name of the function |
#define ARPC_REGISTER_CPP_FUNCTIONX | ( | autoRPCInstance, | |||
_IDENTIFIER_, | |||||
_RETURN_, | |||||
_CLASS_, | |||||
_FUNCTION_, | |||||
_PARAMS_, | |||||
_PARAM_COUNT_ | ) | (autoRPCInstance)->RegisterFunction( (_IDENTIFIER_), GenRPC::PMFWrapper<_CLASS_, _RETURN_(AUTO_RPC_CALLSPEC _CLASS_::*) _PARAMS_>( &_CLASS_::_FUNCTION_), true, _PARAM_COUNT_ ) |
Get a pointer to a function member of a C++ class.
Cannot validate the number of parameters is correctly passed.
You must use one of these macros, or the code will be broken.
[in] | autoRPCInstance | A pointer to an instance of AutoRPC |
[in] | _IDENTIFIER_ | C string identifier to use on the remote system to call the function |
[in] | _RETURN_ | Return value of the function |
[in] | _CLASS_ | Base-most class of the containing class that contains your function |
[in] | _FUNCTION_ | Name of the function |
[in] | _PARAMS_ | Parameter list, include parenthesis |
[in] | _PARAM_COUNT_ | Number of parameters. |