Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
Waypoint Class Reference
Inheritance diagram for Waypoint:
Collaboration diagram for Waypoint:

Public Member Functions

 Waypoint (string _netname, string _name, string _icon, vector _color, int _blink)
 ATTRIB (Waypoint, m_icon, string)
 ATTRIB (Waypoint, m_name, string)
 ATTRIB (Waypoint, netname, string)

Public Attributes

int m_blink = 1
vector m_color = '1 1 1'
int m_id = 0

Detailed Description

Definition at line 12 of file all.qh.

Constructor & Destructor Documentation

◆ Waypoint()

Waypoint::Waypoint ( string _netname,
string _name,
string _icon,
vector _color,
int _blink )
inline

Definition at line 19 of file all.qh.

19 {
21 this.netname = _netname;
22 this.m_name = _name;
23 this.m_icon = _icon;
24 this.m_color = _color;
25 this.m_blink = _blink;
26 }
vector m_color
Definition all.qh:17
Waypoint(string _netname, string _name, string _icon, vector _color, int _blink)
Definition all.qh:19
int m_blink
Definition all.qh:18
string netname
Definition powerups.qc:20
string m_name
Definition scores.qh:142
#define CONSTRUCT(cname,...)
Definition oo.qh:123

References Waypoint(), CONSTRUCT, CONSTRUCTOR, and vector.

Referenced by Waypoint(), ATTRIB(), ATTRIB(), and ATTRIB().

Member Function Documentation

◆ ATTRIB() [1/3]

Waypoint::ATTRIB ( Waypoint ,
m_icon ,
string  )

References Waypoint(), and ATTRIB().

◆ ATTRIB() [2/3]

Waypoint::ATTRIB ( Waypoint ,
m_name ,
string  )

References Waypoint(), ATTRIB(), and m_name.

◆ ATTRIB() [3/3]

Waypoint::ATTRIB ( Waypoint ,
netname ,
string  )

References Waypoint(), ATTRIB(), and netname.

Referenced by ATTRIB(), ATTRIB(), and ATTRIB().

Member Data Documentation

◆ m_blink

int Waypoint::m_blink = 1

Definition at line 18 of file all.qh.

◆ m_color

vector Waypoint::m_color = '1 1 1'

Definition at line 17 of file all.qh.

◆ m_id

int Waypoint::m_id = 0

Definition at line 13 of file all.qh.


The documentation for this class was generated from the following file:
  • common/mutators/mutator/waypoints/all.qh