Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
PlayerState Class Reference

Purpose: common player state, usable on client and server Client: singleton representing the viewed player Server: instance per client, clients decoupled from players. More...

Inheritance diagram for PlayerState:
Collaboration diagram for PlayerState:

Public Member Functions

 PlayerState (entity client)
 ATTRIB (PlayerState, m_client, entity)

Detailed Description

Purpose: common player state, usable on client and server Client: singleton representing the viewed player Server: instance per client, clients decoupled from players.

Definition at line 8 of file state.qh.

Constructor & Destructor Documentation

◆ PlayerState()

PlayerState::PlayerState ( entity client)
inline

Definition at line 10 of file state.qh.

11 {
13 this.m_client = client;
14 }
PlayerState(entity client)
Definition state.qh:10
#define CONSTRUCT(cname,...)
Definition oo.qh:123

References PlayerState(), CONSTRUCT, CONSTRUCTOR, and entity().

Referenced by PlayerState(), and ATTRIB().

Member Function Documentation

◆ ATTRIB()

PlayerState::ATTRIB ( PlayerState ,
m_client ,
entity  )

References PlayerState(), ATTRIB(), and entity().

Referenced by ATTRIB().


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