Protocol
DriveInputMsg
A driver's recent inputs for an entity it drives (MsgId.DriveInput, protocol 25): the same frames as ClientInputMsg, for the entity NetId names instead of the sender's pawn.
generated from the sources
Struct in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Protocol/Messages.cspublic struct DriveInputMsgA driver's recent inputs for an entity it drives (MsgId.DriveInput, protocol 25): the same frames as ClientInputMsg, for the entity NetId names instead of the sender's pawn. The client sends 0 as ClientId; the gateway stamps the sender's before forwarding.
Fields
ClientId
public ulong ClientId;NetId
public ulong NetId;Frames
public List<ClientInputMsg.Frame> Frames;Methods
Write
public void Write(NetworkWriter w);Read
public static DriveInputMsg Read(NetworkReader r);DespawnPlayerMsg
Gateway -> worker: the client's link ended, so the session waits for a reclaim, or the session is over (EndNow).
EndSessionMsg
Worker -> gateway: this gateway no longer speaks for the session, because the player connected again through another gateway (NebulaConfig.SingleSessionPerPlayer).