API ReferenceSandbox
Rpcclass
RPCs travel as `Sandbox.Network.InternalMessageType.Rpc`: what kind of target, its ids, the method identity, generic argument identities, then each argument as BytePack writes it. Read straight from the message into a typed `Sandbox.RpcInvoker` where possible.
object→Rpc
Methods18
Showing 18 methods
public static void PreCall()
Called right before calling an RPC function.
Returns:
void—No results match this filter.
Properties3
Showing 3 properties
public static Sandbox.Connection Sandbox.Rpc.Caller { get; set; }
The `Sandbox.Connection` that is calling this method.
public static System.Guid Sandbox.Rpc.CallerId { get; set; }
The id of the `Sandbox.Connection` that is calling this method.
Returns:
Guid—public static bool Sandbox.Rpc.Calling { get; set; }
Whether we're currently being called from a remote `Sandbox.Connection`.
Returns:
bool—No results match this filter.