Xonotic
Disabled Class Reference
+ Inheritance diagram for Disabled:
+ Collaboration diagram for Disabled:

Public Member Functions

 ATTRIB (StatusEffects, m_name, string)
 
 ATTRIB (StatusEffects, m_icon, string)
 
virtual void StatusEffects ::display ()
 

Public Attributes

float disabled_effect_time = 0
 
vector m_color = '0.94 0.3 1'
 
bool m_hidden = true
 
int m_id = 0
 
float m_lifetime = 10
 
string netname = "disabled"
 

Detailed Description

Definition at line 84 of file all.inc.

Member Function Documentation

◆ ATTRIB() [1/2]

StatusEffects::ATTRIB ( StatusEffects  ,
m_name  ,
string   
)
inherited

◆ ATTRIB() [2/2]

StatusEffects::ATTRIB ( StatusEffects  ,
m_icon  ,
string   
)
inherited

◆ StatusEffects ::display()

virtual void StatusEffects::StatusEffects ::display ( )
inlinevirtualinherited

Definition at line 54 of file all.qh.

References cvar_string(), ENDCLASS, string_null, and TC.

55  {
56  TC(StatusEffects, this);
57  returns(this.m_name, this.m_icon ? sprintf("/gfx/hud/%s/%s", cvar_string("menu_skin"), this.m_icon) : string_null);
58  }
string string_null
Definition: nil.qh:9
#define TC(T, sym)
Definition: _all.inc:82
string m_name
Definition: scores.qh:135
+ Here is the call graph for this function:

Member Data Documentation

◆ disabled_effect_time

float Disabled::disabled_effect_time = 0

Definition at line 95 of file all.inc.

◆ m_color

vector Disabled::m_color = '0.94 0.3 1'

Definition at line 92 of file all.inc.

◆ m_hidden

bool Disabled::m_hidden = true

Definition at line 93 of file all.inc.

◆ m_id

int StatusEffects::m_id = 0
inherited

Definition at line 31 of file all.qh.

◆ m_lifetime

float Disabled::m_lifetime = 10

Definition at line 94 of file all.inc.

◆ netname

string Disabled::netname = "disabled"

Definition at line 85 of file all.inc.


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