SA-MP/raknet/RPCMap.cpp
2024-02-14 22:51:29 +08:00

17 lines
427 B
C++

// TODO: Implement RPCMap.cpp
#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;
}