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

Public Member Functions

 ATTRIB (Mutator, m_name, string)
 
 ATTRIB (Mutator, mutatorfunc, mutatorfunc_t)
 
 ATTRIB (Mutator, mutatorcheck, bool())
 
 Mutator ::Mutator (string _name, mutatorfunc_t func)
 

Public Attributes

int m_id = 0
 

Detailed Description

Definition at line 155 of file base.qh.

Member Function Documentation

◆ ATTRIB() [1/3]

Mutator::ATTRIB ( Mutator  ,
m_name  ,
string   
)

◆ ATTRIB() [2/3]

Mutator::ATTRIB ( Mutator  ,
mutatorfunc  ,
mutatorfunc_t   
)

◆ ATTRIB() [3/3]

Mutator::ATTRIB ( Mutator  ,
mutatorcheck  ,
bool()   
)

◆ Mutator ::Mutator()

Mutator::Mutator ::Mutator ( string  _name,
mutatorfunc_t  func 
)
inline

Definition at line 160 of file base.qh.

References BITS, CONSTRUCT, ENDCLASS, Mutator_Add(), Mutator_Remove(), NULL, REGISTRY, and REGISTRY_DEFINE_GET.

160  {
162  this.m_name = _name;
163  this.mutatorfunc = func;
164  }
Definition: base.qh:155
#define CONSTRUCT(cname,...)
Definition: oo.qh:111
string m_name
Definition: scores.qh:135
+ Here is the call graph for this function:

Member Data Documentation

◆ m_id

int Mutator::m_id = 0

Definition at line 156 of file base.qh.


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