@ -476,9 +476,9 @@ void RPCManager::rpcp(Node *p_node, int p_peer_id, const StringName &p_method, c
vformat("Unable to get the RPC configuration for the function \"%s\" at path: \"%s\". This happens when the method is not marked for RPCs.",p_method,p_node->get_path()));
Changes the RPC mode for the given [code]method[/code] to the given [code]rpc_mode[/code], optionally specifying the [code]transfer_mode[/code] and [code]channel[/code] (on supported peers). See [enum RPCMode] and [enum TransferMode]. An alternative is annotating methods and properties with the corresponding annotation ([code]@rpc(any)[/code], [code]@rpc(auth)[/code]). By default, methods are not exposed to networking (and RPCs).
uint16_trpc_config(constStringName&p_method,Multiplayer::RPCModep_rpc_mode,Multiplayer::TransferModep_transfer_mode,intp_channel=0);// config a local method for RPC
uint16_trpc_config(constStringName&p_method,Multiplayer::RPCModep_rpc_mode,boolp_call_local=false,Multiplayer::TransferModep_transfer_mode=Multiplayer::TRANSFER_MODE_RELIABLE,intp_channel=0);// config a local method for RPC