mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-03 11:51:10 +00:00
17 lines
427 B
C++
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;
|
|
}
|