mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 12:46:07 +08:00
15 lines
406 B
C++
15 lines
406 B
C++
![]() |
// TODO: Implement RPCMap.cpp
|
||
|
|
||
|
// 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;
|
||
|
}
|