Skip to main content

Class RemoteCallCollectionCache

Caches immutable RPC collection layouts to avoid re-allocating delegate wrappers and array buffers per spawned identity

Inheritance​
System.Object
Inherited Members​
Show
Syntax​
public static class RemoteCallCollectionCache

Properties​

Empty​

Declaration​
public static RemoteCallCollection Empty { get; }

Methods​

GetOrCreate(NetworkBehaviour[])​

Declaration​
public static RemoteCallCollection GetOrCreate(NetworkBehaviour[] behaviours)
Parameters​
TypeNameDescription
Mirage.NetworkBehaviour[]behaviours
Returns​
TypeDescription
Mirage.RemoteCalls.RemoteCallCollection

Clear()​

Declaration​
public static void Clear()