Neverlose
  • List of all methods
  • Methods
    • CGlobalVarsBase
    • CUserCmd
    • C_BaseEntity
    • C_BasePlayer
    • Cheat
    • CheatVar
    • CheatVars
    • Color
    • ConVar
    • Config
    • Globals
    • ICvar
    • IEngineClient
    • IEntityList
    • IGameEvent
    • IMaterial
    • IMaterialSystem
    • INetChannelInfo
    • IRender
    • Panorama
    • QAngle
    • Utils
    • Vector
    • Vector2
    • trace_t
Powered by GitBook
On this page
  • int command_number;
  • int tick_count;
  • Vector viewangles;
  • Vector aimdirection;
  • float forwardmove;
  • float sidemove;
  • float upmove;
  • int buttons;
  • char impulse;
  • int weaponselect;
  • int weaponsubtype;
  • int random_seed;
  • short mousedx;
  • short mousedy;
  • bool hasbeenpredicted;
  1. Methods

CUserCmd

CUserCmd ("user command") is the networkable representation of the player's input, including keys pressed and viewangle. More info: ValveSoftware

int command_number;

For matching server and client commands for debugging

int tick_count;

The tick the client created this command

Vector viewangles;

Player instantaneous view angles.

Vector aimdirection;

For pointing devices.

float forwardmove;

Forward velocity.

float sidemove;

Sideways velocity.

float upmove;

Upward velocity.

int buttons;

Button states

char impulse;

Impulse command issued.

int weaponselect;

Current weapon id

int weaponsubtype;

int random_seed;

For shared random functions

short mousedx;

Mouse accum in x from create move

short mousedy;

Mouse accum in y from create move

bool hasbeenpredicted;

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

PreviousCGlobalVarsBaseNextC_BaseEntity

Last updated 5 years ago