cusercmd

Enumerations

EButtonFlags

Description: button states bitflags for iButtons variable

Indentifiers

IN_ATTACK

IN_JUMP

IN_DUCK

IN_BACK

IN_USE

IN_CANCEL

IN_RIGHT

IN_MOVELEFT

IN_MOVERIGHT

IN_SECOND_ATTACK

IN_RUN

IN_RELOAD

IN_LEFT_ALT

IN_RIGHT_ALT

IN_SCORE

IN_SPEED

IN_WALK

IN_ZOOM

IN_FIRST_WEAPON

IN_SECOND_WEAPON

IN_BULLRUSH

IN_FIRST_GRENADE

IN_SECOND_GRENADE

IN_MIDDLE_ATTACK

Variables

Name

Type

Description

iCommandNumber

int

for matching server and client commands for debugging

iTickCount

int

the tick the client created this command

angViewPoint

QAngle

player instantaneous view angles

flForwardMove

float

forward velocity

flSideMove

float

sideways velocity

flUpMove

float

upward velocity

bitflag

button states flags

uImpulse

byte

impulse command issued

iWeaponSelect

int

current weapon index

iWeaponSubType

int

current weapon subtype

iRandomSeed

int

for shared random functions

sMouseDeltaX

int

mouse accumulate in x from create move

sMouseDeltaY

int

mouse accumulate in y from create move

bHasBeenPredicted

int

client only, tracks whether we've predicted this command at least once

Last updated

Was this helpful?