32 virtual void ProcessInput(
void);
33 virtual void PreFrame(
void);
34 virtual void PostFrame(
void);
36 virtual void Physics_Fall(
float);
37 virtual void Physics_Crouch(
void);
38 virtual void Physics_Prone(
void);
39 virtual void Physics_Jump(
void);
40 virtual void Physics_CheckJump(
float);
41 virtual void Physics_SetViewParms(
void);
42 virtual void Physics_WaterJump(
void);
43 virtual void Physics_WaterMove(
void);
44 virtual float Physics_MaxSpeed(
void);
45 virtual void Physics_InputPreMove(
void);
46 virtual void Physics_InputPostMove(
void);
47 virtual void Physics_Run(
void);
49 virtual bool IsFakeSpectator(
void);
50 virtual bool IsRealSpectator(
void);
51 virtual bool IsDead(
void);
52 virtual bool IsPlayer(
void);
53 virtual void SharedInputFrame(
void);
56 virtual bool CanSprint(
void);
58 virtual bool CanProne(
void);
60 virtual bool CanCrouch(
void);
62 virtual bool CanLean(
void);
65 virtual void UpdatePlayerAnimation(
float);
67 virtual void Damage(entity, entity,
NSDict,
float, vector, vector);
71 virtual void VehicleRelink(
void);
72 virtual void OnRemoveEntity(
void);
73 virtual void ReceiveEntity(
float,
float);
74 virtual void PredictPreFrame(
void);
75 virtual void PredictPostFrame(
void);
76 virtual void ClientInputFrame(
void);
78 virtual vector CalculateLean(vector);
79 virtual void UpdateAliveCam(
void);
82 virtual void UpdatePlayerJaw(
float);
85 virtual void UpdatePlayerAttachments(
bool);
87 virtual float predraw(
void);
88 virtual void postdraw(
void);
99 virtual void Death(entity, entity,
int, vector,
int);
119 virtual void Footsteps_Update(
void);
130 float nadeCookingTime;
184 int m_iUnderwaterDamage;
185 float m_flUnderwaterTime;
190 float pb_angle_delta;
191 float pb_player_delta;
192 vector pb_last_angles;
218 PLAYER_CUSTOMFIELDSTART,
noref vector v_angle
Definition: NSClientPlayer.h:17
enumflags
Definition: NSClientPlayer.h:200
noref float health
Definition: NSSurfacePropEntity.h:18
This entity class represents every player client.
Definition: NSClientPlayer.h:28
virtual void Respawn(void)
Server: Called when the entity first spawns or when game-logic requests the entity to return to its o...
virtual void Death(entity, entity, int, vector, int)
Called when the health is equal or below 0.
virtual void Save(float)
Handles saving a copy of this entity to a given filehandle.
virtual void EvaluateEntity(void)
Run each tic after physics are run to determine if we need to send updates over the network.
virtual float SendEntity(entity, float)
Called by the engine whenever we need to send a client an update about this entity.
virtual float OptimiseChangedFlags(entity, float)
Helper function that will optimise the changed-flags of your player entity.
virtual void ServerInputFrame(void)
Server: This is where the input* variables arrive after sending them out from the client (see ClientI...
virtual void InputUse_Up(void)
Called when we let go of the button bound to +use.
virtual void Restore(string, string)
Similar to NSIO::SpawnKey but for save-game fields.
virtual void InputUse_Down(void)
Called when we press the button bound to +use.
virtual void MakeTempSpectator(void)
When called, will turn the client into a spectator until the next round.
virtual void MakePlayer(void)
When called, will turn the client into a proper player.
virtual void MakeSpectator(void)
When called, will turn the client into a general spectator.
This entity class represents every spectator client.
Definition: NSClientSpectator.h:69
This entity class represents inventory items, weapons.
Definition: NSItem.h:68
This entity represents any NSEntity with advanced rendering properties.
Definition: NSRenderableEntity.h:94
vector view_ofs
Definition: pmove.h:20
#define PREDICTED_FLOAT_N(x)
Definition: defs.h:41
#define PREDICTED_INT_N(x)
Definition: defs.h:40
#define MAX_AMMO_TYPES
Definition: defs.h:69
float gflags
Definition: defs.h:200
float teleport_time
Definition: defs.h:198
#define PREDICTED_FLOAT(x)
Definition: defs.h:34
#define PREDICTED_VECTOR_N(x)
Definition: defs.h:42
#define PREDICTED_VECTOR(x)
Definition: defs.h:35
vector basevelocity
Definition: defs.h:199
#define PREDICTED_INT(x)
Definition: defs.h:33
#define PREDICTED_ENT(x)
Definition: defs.h:36