Xonotic
|
Go to the source code of this file.
Classes | |
class | ClientState |
Purpose: common client state, usable on client and server Client: singleton representing the viewed player Server: instance per client. More... | |
class | PlayerState |
Purpose: common player state, usable on client and server Client: singleton representing the viewed player Server: instance per client, clients decoupled from players. More... | |
Macros | |
#define | CS_CVAR(this) (this) |
#define | PS(this) ((this)._ps) |
Functions | |
void | ClientState_attach (entity this) |
void | ClientState_detach (entity this) |
ClientState | CS (Client this) |
void | PlayerState_attach (entity this) |
void | PlayerState_detach (entity this) |
Variables | |
ClientState | _cs |
PlayerState | _ps |
Definition at line 51 of file state.qh.
Referenced by accuracy_send(), antilag_getlag(), bot_setclientfields(), buff_Touch(), buff_Waypoint_visible_for_player(), ClientCommand_autoswitch(), ClientCommand_physics(), ClientCommand_sentcvar(), ClientDisconnect(), ClientState_detach(), for(), GiveItems(), Handicap_GetVoluntaryHandicap(), IntermissionThink(), Item_GiveTo(), MUTATOR_HOOKFUNCTION(), ObserverOrSpectatorThink(), PlayerPreThink(), PlayerThink(), PutPlayerInServer(), race_checkAndWriteName(), tracebox_antilag(), traceline_antilag(), UpdatePlayerSounds(), W_Model(), W_NextWeapon(), W_NextWeaponOnImpulse(), W_PreviousWeapon(), W_SetupShot_Dir_ProjectileSize_Range(), W_SwitchWeapon(), W_SwitchWeapon_TryOthers(), WarpZone_tracebox_antilag(), and WarpZone_traceline_antilag().
Definition at line 18 of file state.qh.
Referenced by client_hasweapon(), door_check_keys(), fireBullet_antilag(), PlayerDamage(), PlayerState_attach(), PlayerState_detach(), PutClientInServer(), PutPlayerInServer(), reset_map(), SpectateCopy(), trigger_keylock_touch(), and W_WeaponFrame().
Definition at line 46 of file state.qc.
Definition at line 73 of file state.qc.
References _cs, accuracy_free(), anticheat_report_to_eventlog(), bot_clientdisconnect(), ClientData_Detach(), CS(), CS_CVAR, entcs_detach(), GetCvars(), InventoryStorage_delete(), NULL, PlayerScore_Detach(), and W_HitPlotClose().
Referenced by ClientDisconnect().
ClientState CS | ( | Client | this | ) |
Definition at line 47 of file state.qh.
References _cs, assert, and TC.
Referenced by accuracy_add(), accuracy_free(), accuracy_init(), accuracy_resend(), accuracy_reset(), accuracy_send(), anticheat_fixangle(), anticheat_init(), anticheat_physics(), anticheat_prethink(), anticheat_report_to_eventlog(), anticheat_report_to_playerstats(), anticheat_spectatecopy(), antilag_restore_all(), antilag_takeback_all(), BanCommand_mute(), BanCommand_unmute(), bot_cmd_impulse(), bot_cmd_pause(), bot_lagfunc(), bot_presskeys(), bot_think(), botframe_autowaypoints_fix_from(), ChatBubbleThink(), client_hasweapon(), ClientCommand_clientversion(), ClientCommand_join(), ClientCommand_minigame(), ClientCommand_selectteam(), ClientConnect(), ClientData_Attach(), ClientData_Detach(), ClientData_Send(), ClientData_Touch(), ClientDisconnect(), ClientState_detach(), CommonCommand_timeout(), CommonCommand_who(), crosshair_trace(), ctf_FlagThink(), Damage(), DecodeLevelParms(), Drag(), DumpStats(), EndFrame(), FireRailgunBullet(), FixPlayermodel(), frag_centermessage_override(), GameCommand_nospectators(), GetClientVersionMessage(), GetPlayerScoreString(), GetPressedKeys(), Handicap_GetForcedHandicap(), Handicap_Initialize(), Handicap_SetForcedHandicap(), havocbot_ai(), havocbot_aim(), havocbot_ctf_reset_role(), havocbot_keyboard_movement(), havocbot_movetogoal(), Heal(), ImpulseCommands(), invite_minigame(), IsFlying(), joinAllowed(), lms_RemovePlayer(), MapVote_Tick(), minigame_addplayer(), minigame_find_player(), MinigameImpulse(), MUTATOR_HOOKFUNCTION(), Obituary(), ObserverOrSpectatorThink(), part_minigame(), PingPLReport_Think(), player_clear_minigame(), Player_Physics(), Player_SetTeamIndexChecked(), PlayerDamage(), PlayerPostThink(), PlayerPreThink(), PlayerScore_Add(), PlayerScore_Attach(), PlayerScore_Clear(), PlayerScore_Detach(), PlayerScore_PlayerStats(), PlayerScore_Set(), PlayerScore_Sort(), PlayerTeamScore_Compare(), PlayerThink(), PM_check_specialcommand(), PrintWelcomeMessage(), PutObserverInServer(), PutPlayerInServer(), race_AbandonRaceCheck(), race_GetFractionalLapCount(), race_SendTime(), ReadyRestart_force(), reset_map(), Say(), Score_ClearAll(), Score_NicePrint_Player(), SetChangeParms(), SetPlayerTeam(), SetSpectatee_status(), SetZoomState(), ShowTeamSelection(), SpectateCopy(), STATIC_INIT(), SV_ParseClientCommand_floodcheck(), sys_phys_monitor(), sys_phys_override(), sys_phys_spectator_control(), vehicles_enter(), W_HitPlotAnalysis(), W_HitPlotClose(), W_HitPlotOpen(), W_Nexball_Touch(), W_SetupShot_Dir_ProjectileSize_Range(), WarpZone_crosshair_trace(), WarpZone_Projectile_Touch(), WinningCondition_Race(), and WinningConditionHelper().
Definition at line 12 of file state.qc.
References _ps, Inventory_new(), NEW, and PS.
Referenced by PutPlayerInServer().
Definition at line 22 of file state.qc.
References accuracy_init(), anticheat_init(), bot_clientconnect(), ClientData_Attach(), DecodeLevelParms(), entcs_attach(), entity(), FOREACH_CLIENT, Inventory_clear(), Inventory_delete(), NULL, PlayerScore_Attach(), PS, and W_HitPlotOpen().
Referenced by PutObserverInServer().
ClientState _cs |
Definition at line 42 of file state.qh.
Referenced by ClientState_attach(), ClientState_detach(), and CS().
PlayerState _ps |
Definition at line 17 of file state.qh.
Referenced by CopyBody(), and PlayerState_attach().