SA-MP/raknet/RPCMap.cpp

17 lines
427 B
C++
Raw Normal View History

// TODO: Implement RPCMap.cpp
2024-02-14 22:51:29 +08:00
#include "RPCMap.h"
// Called from the user thread for the local system
void RPCMap::AddIdentifierWithFunction(unsigned char uniqueIdentifier, void *functionPointer, bool isPointerToMember)
{
RPCNode *node;
node = new RPCNode;
node->uniqueIdentifier = uniqueIdentifier;
node->functionPointer=functionPointer;
node->isPointerToMember=isPointerToMember;
rpcSet[uniqueIdentifier] = node;
}