Nebula
Protocol

EntityRpcMsg

Carries the entity rpc protocol message.

generated from the sources
public struct EntityRpcMsg

Carries the entity rpc protocol message.

Fields

NetId

public ulong NetId;

Epoch

public uint Epoch;

BehaviourIndex

public byte BehaviourIndex;

MethodHash

public uint MethodHash;

ClientId

public ulong ClientId;

For ClientRpc: 0 = every client, otherwise only that client. For ServerRpc: the sending client (filled by the gateway).

Radius

public float Radius;

For a ClientRpc broadcast: deliver only to clients whose pawn is within this many meters of the entity (0 = everyone). See ClientRpcAttribute.Radius.

Args

public byte[] Args;

Methods

Write

public void Write(NetworkWriter w, MsgId id);

Read

public static EntityRpcMsg Read(NetworkReader r);

On this page