Protocol
AuthorityTransferMsg
The authority event.
generated from the sources
Struct in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Protocol/Messages.cspublic struct AuthorityTransferMsgThe authority event. Carries the sender's exact final state so the receiver snaps to it and never computes a starting state of its own, plus the not-yet-simulated inputs so the input stream continues without a gap.
Fields
Entity
public EntitySpawnMsg Entity;NewEpoch
public uint NewEpoch;PendingInputs
public byte[] PendingInputs;HandoverState
public byte[] HandoverState;Per-behaviour handover-only state (NetworkIdentity.WriteHandoverState).
Methods
Write
public void Write(NetworkWriter w);Read
public static AuthorityTransferMsg Read(NetworkReader r);