MiniQuake

miniquake.types.ProtocolClientData

ProtocolClientData

struct ProtocolClientData

Canonical input record for the stock Protocol-15 svc_clientdata writer. Keeping the wire state separate from PlayerState makes the C field ordering and mission-pack active-weapon rule directly testable.

View source

Members

activeWeapon

activeWeapon

Stores the active weapon value in `miniquake.types.ProtocolClientData`.

View source

armor

armor

Stores the armor value in `miniquake.types.ProtocolClientData`.

View source

cells

cells

Stores the cells value in `miniquake.types.ProtocolClientData`.

View source

currentAmmo

currentAmmo

Stores the current ammo value in `miniquake.types.ProtocolClientData`.

View source

flags

flags

Stores the flags value in `miniquake.types.ProtocolClientData`.

View source

health

health

Stores the health value in `miniquake.types.ProtocolClientData`.

View source

idealPitch

idealPitch

Stores the ideal pitch value in `miniquake.types.ProtocolClientData`.

View source

items

items

Stores the items value in `miniquake.types.ProtocolClientData`.

View source

nails

nails

Stores the nails value in `miniquake.types.ProtocolClientData`.

View source

punch

punch

Stores the punch value in `miniquake.types.ProtocolClientData`.

View source

rockets

rockets

Stores the rockets value in `miniquake.types.ProtocolClientData`.

View source

shells

shells

Stores the shells value in `miniquake.types.ProtocolClientData`.

View source

standardQuake

standardQuake

Stores the standard quake value in `miniquake.types.ProtocolClientData`.

View source

velocity

velocity

Stores the velocity value in `miniquake.types.ProtocolClientData`.

View source

viewHeight

viewHeight

Stores the view height value in `miniquake.types.ProtocolClientData`.

View source

waterLevel

waterLevel

Stores the water level value in `miniquake.types.ProtocolClientData`.

View source

weaponFrame

weaponFrame

Stores the weapon frame value in `miniquake.types.ProtocolClientData`.

View source

weaponModel

weaponModel

Stores the weapon model value in `miniquake.types.ProtocolClientData`.

View source