Struct ClientCommand<T>
One command as a system reads it: who sent it, which of that client's it is, the client frame it belongs to, and its value.
public readonly struct ClientCommand<T> where T : unmanaged
Type Parameters
TThe command's struct, as the application declared it.
- Inherited Members
Properties
ClientTick
The client's tick when it produced the batch this command arrived in. Shared by every command of that batch.
public uint ClientTick { get; }
Property Value
Seq
The client's sequence number. One space per session across every command type; it wraps, and is compared with RFC 1982 serial arithmetic.
public ushort Seq { get; }
Property Value
Session
Which session sent it.
public SessionId Session { get; }
Property Value
Value
The decoded command.
public T Value { get; }
Property Value
- T