UFO: Alien Invasion
Loading...
Searching...
No Matches
chrReservations_t Struct Reference

How many TUs (and of what type) did a player reserve for a unit? More...

#include <chr_shared.h>

Collaboration diagram for chrReservations_t:
Collaboration graph

Public Member Functions

 chrReservations_s ()

Data Fields

int reaction
int crouch
int shot
FiremodeSettings shotSettings

Detailed Description

How many TUs (and of what type) did a player reserve for a unit?

See also
CL_ActorUsableTUs
CL_ActorReservedTUs
CL_ActorReserveTUs

Definition at line 186 of file chr_shared.h.

Member Function Documentation

◆ chrReservations_s()

chrReservations_t::chrReservations_s ( )
inline

Definition at line 199 of file chr_shared.h.

References crouch, reaction, shot, and shotSettings.

Field Documentation

◆ crouch

int chrReservations_t::crouch

◆ reaction

int chrReservations_t::reaction

Did the player activate RF with a usable firemode? (And at the same time storing the TU-costs of this firemode)

Definition at line 188 of file chr_shared.h.

Referenced by chrReservations_s(), CL_ActorReservationChange(), CL_ActorReservedTUs(), G_ActorReserveTUs(), G_ClientAction(), G_EventActorSendReservations(), and Edict::getReservedTUs().

◆ shot

◆ shotSettings

FiremodeSettings chrReservations_t::shotSettings

Stores what type of firemode & weapon (and hand) was used for "shot" reservation.

Definition at line 196 of file chr_shared.h.

Referenced by chrReservations_s(), CL_GenerateCharacter(), HUD_PopupFiremodeReservation(), and HUD_SetShootReservation().


The documentation for this struct was generated from the following file: