Xonotic
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

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

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.

Member Function Documentation

◆ ATTRIB()

PlayerState::ATTRIB ( PlayerState  ,
m_client  ,
entity   
)

◆ PlayerState ::PlayerState()

PlayerState::PlayerState ::PlayerState ( entity  client)
inline

Definition at line 10 of file state.qh.

References CONSTRUCT, and ENDCLASS.

11  {
13  this.m_client = client;
14  }
#define CONSTRUCT(cname,...)
Definition: oo.qh:111
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: