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

Callbacks may be added to zero or more callback chains. More...

Inheritance diagram for Callback:
Collaboration diagram for Callback:

Public Member Functions

 Callback (bool() func)
 ATTRIB (Callback, cbc_func, bool())
 a callback function is like this: bool mycallback() { do something return false; }

Detailed Description

Callbacks may be added to zero or more callback chains.

Definition at line 20 of file base.qh.

Constructor & Destructor Documentation

◆ Callback()

Callback::Callback ( bool() func)
inline

Definition at line 30 of file base.qh.

30 {
32 this.cbc_func = func;
33 }
Callback(bool() func)
Definition base.qh:30
#define CONSTRUCT(cname,...)
Definition oo.qh:123

References Callback(), CONSTRUCT, and CONSTRUCTOR.

Referenced by Callback(), and ATTRIB().

Member Function Documentation

◆ ATTRIB()

Callback::ATTRIB ( Callback ,
cbc_func ,
bool()  )

a callback function is like this: bool mycallback() { do something return false; }

References Callback(), and ATTRIB().

Referenced by ATTRIB().


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