mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 04:36:01 +08:00
[raknet] Implement RPCMap::AddIdentifierWithFunction
This commit is contained in:
14
raknet/RPCMap.cpp
Normal file
14
raknet/RPCMap.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
// 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;
|
||||
}
|
Reference in New Issue
Block a user