Nebula
Protocol

AuthorityCallMsg

An AuthorityRpc on the worker-to-worker link (MsgId.AuthorityRpc).

generated from the sources
public struct AuthorityCallMsg

An AuthorityRpc on the worker-to-worker link (MsgId.AuthorityRpc). Beside the fields an EntityRpcMsg carries, it names the call (CallId, minted by the sender: see AuthorityCallId), counts the forwards it has taken (Hops) and says whether the sender wants to hear the outcome. The contract is in docs/cross-worker-calls.md.

Fields

CallId

public ulong CallId;

The sender's id for this call; forwarding keeps it.

Hops

public byte Hops;

How many workers have forwarded this call so far. 0 as sent.

Flags

public AuthorityCallFlags Flags;

NetId

public ulong NetId;

Epoch

public uint Epoch;

The entity's epoch on the sender's copy when the call was made.

BehaviourIndex

public byte BehaviourIndex;

MethodHash

public uint MethodHash;

Args

public byte[] Args;

Properties

WantsReply

public bool WantsReply { get; }

Methods

Write

public void Write(NetworkWriter w);

Read

public static AuthorityCallMsg Read(NetworkReader r);

On this page