Xonotic
ClientState Class Reference

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

+ Inheritance diagram for ClientState:
+ Collaboration diagram for ClientState:

Public Member Functions

 ATTRIB (ClientState, m_client, entity)
 
 ClientState ::ClientState (entity client)
 
virtual void PlayerState ::ps_push ()
 

Detailed Description

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

Definition at line 29 of file state.qh.

Member Function Documentation

◆ ATTRIB()

ClientState::ATTRIB ( ClientState  ,
m_client  ,
entity   
)

◆ ClientState ::ClientState()

ClientState::ClientState ::ClientState ( entity  client)
inline

Definition at line 31 of file state.qh.

References CONSTRUCT.

32  {
34  this.m_client = client;
35  }
#define CONSTRUCT(cname,...)
Definition: oo.qh:111
Purpose: common client state, usable on client and server Client: singleton representing the viewed p...
Definition: state.qh:29

◆ PlayerState ::ps_push()

virtual void ClientState::PlayerState ::ps_push ( )
inlinevirtual

Definition at line 36 of file state.qh.

References ENDCLASS, and TC.

37  {
38  TC(PlayerState, this);
39  }
#define TC(T, sym)
Definition: _all.inc:82
Purpose: common player state, usable on client and server Client: singleton representing the viewed p...
Definition: state.qh:8

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