Table of Contents

Struct ClientCommand<T>

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

T

The 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

uint

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

ushort

Session

Which session sent it.

public SessionId Session { get; }

Property Value

SessionId

Value

The decoded command.

public T Value { get; }

Property Value

T