Loading net/include/net/rpc_system.hpp +0 −9 Original line number Diff line number Diff line Loading @@ -5,14 +5,6 @@ #include <net/index.hpp> #include <net/types.hpp> // RPC macros for remote procedure calls // Note: When registering functions that can be called via RPC, the first parameter // will always be ConnectionId representing the sender. #define RPC_RELIABLE(function, target, ...) \ net::RPCSystem::call_remote(this, #function, target, net::ReliabilityMode::RELIABLE, __VA_ARGS__) #define RPC_UNRELIABLE(function, target, ...) \ net::RPCSystem::call_remote(this, #function, target, net::ReliabilityMode::UNRELIABLE, __VA_ARGS__) namespace net { struct RPCSystem Loading @@ -25,7 +17,6 @@ namespace net /** * @brief Calls a remote function on a target connection. * Prefer using the RPC_RELIABLE and RPC_UNRELIABLE macros instead of calling this directly. */ template<typename... Args> static void call_remote( Loading Loading
net/include/net/rpc_system.hpp +0 −9 Original line number Diff line number Diff line Loading @@ -5,14 +5,6 @@ #include <net/index.hpp> #include <net/types.hpp> // RPC macros for remote procedure calls // Note: When registering functions that can be called via RPC, the first parameter // will always be ConnectionId representing the sender. #define RPC_RELIABLE(function, target, ...) \ net::RPCSystem::call_remote(this, #function, target, net::ReliabilityMode::RELIABLE, __VA_ARGS__) #define RPC_UNRELIABLE(function, target, ...) \ net::RPCSystem::call_remote(this, #function, target, net::ReliabilityMode::UNRELIABLE, __VA_ARGS__) namespace net { struct RPCSystem Loading @@ -25,7 +17,6 @@ namespace net /** * @brief Calls a remote function on a target connection. * Prefer using the RPC_RELIABLE and RPC_UNRELIABLE macros instead of calling this directly. */ template<typename... Args> static void call_remote( Loading