Core
IRpcSink
Where RPCs and state changes go once a behaviour has produced them.
generated from the sources
Interface in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Core/NebulaRuntime.cspublic interface IRpcSinkWhere RPCs and state changes go once a behaviour has produced them. Implemented by the worker and the client.
Methods
SendClientRpc
void SendClientRpc(NetworkIdentity identity, byte behaviourIndex, uint methodHash, ArraySegment<byte> args, uint targetClientId);SendServerRpc
void SendServerRpc(NetworkIdentity identity, byte behaviourIndex, uint methodHash, ArraySegment<byte> args);SendAuthorityRpc
void SendAuthorityRpc(NetworkIdentity identity, byte behaviourIndex, uint methodHash, ArraySegment<byte> args);