Nebula
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
public struct 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. 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);

On this page