public static abstract sealed class Sandbox.Rpc
Related Guides
Broader workflow and conceptual references connected to this API.
s&box has a [CodeGenerator] attribute that you can use to decorate another attribute specifically for use with methods and properties. It lets you wrap methods and properties to perform some other action when the method is called or the property is set or to return a different value when the property is read.
The networking system in s&box is purposefully simple and easy. Our initial aim isn't to provide a bullet proof server-authoritative networking system. Our aim is to provide a system that is really easy to use and understand.
Components can contain RPCs. An RPC is a function that when called, is called remotely too.
Methods
Showing 11 methods
public static void PreCall()
Called right before calling an RPC function.
No results match this filter.
Properties
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.
public static bool Sandbox.Rpc.Calling { get; set; }
Whether we're currently being called from a remote `Sandbox.Connection`.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Rpc |