|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Public Member Functions | |
| ATTRIB (StatusEffect, m_icon, string) | |
| ATTRIB (StatusEffect, m_name, string) | |
| virtual void | describe () |
| virtual void | m_active () |
| virtual void | m_apply () |
| virtual void | m_persistent () |
| Sets the persistent flag and updates client side if returning true. | |
| virtual void | m_remove () |
| virtual void | m_tick () |
| virtual void | m_time () |
Public Attributes | |
| vector | m_color = '0.23 0.44 1' |
| bool | m_hidden = false |
| Whether the effect is displayed in the HUD. | |
| int | m_id = 0 |
| int | m_itemid = IT_BUFF |
| float | m_lifetime = 60 |
| string | m_name = _("Flight") |
| int | m_skin = 11 |
| Sound | m_sound = SND_Null |
| Sound | m_sound_rm = SND_Null |
| string | m_sprite = "" |
| string | netname = "flight" |
| int | statuseffect_flags [REGISTRY_MAX(StatusEffects)] |
| float | statuseffect_time [REGISTRY_MAX(StatusEffects)] |
| Stores times of status effects, the id being the index. | |
|
inherited |
References ATTRIB().
|
inherited |
|
inlinevirtualinherited |
Definition at line 29 of file buffs.qh.
References describe(), SUPER, and TC.
Referenced by describe().
|
virtualinherited |
Definition at line 3 of file cl_status_effects.qc.
References entity(), g_statuseffects, m_active(), STATUSEFFECT_FLAG_ACTIVE, and TC.
Referenced by m_active().
|
virtualinherited |
Definition at line 29 of file sv_status_effects.qc.
References entity(), m_apply(), m_id, STATUSEFFECT_FLAG_ACTIVE, StatusEffects_new(), and StatusEffects_update().
Referenced by m_apply().
|
inlinevirtualinherited |
Sets the persistent flag and updates client side if returning true.
Definition at line 55 of file all.qh.
References entity(), and m_persistent().
Referenced by m_persistent().
|
virtualinherited |
Definition at line 40 of file sv_status_effects.qc.
References ATTEN_NORM, CH_TRIGGER, entity(), m_id, m_remove(), m_sound_rm, sound, STATUSEFFECT_FLAG_PERSISTENT, statuseffect_flags, STATUSEFFECT_REMOVE_NORMAL, statuseffect_time, StatusEffects_update(), and VOL_BASE.
Referenced by m_remove().
|
virtualinherited |
Definition at line 13 of file cl_status_effects.qc.
References addPowerupItem(), autocvar__hud_configure, bound(), entity(), m_color, m_hidden, m_lifetime, m_name, m_tick(), STATUSEFFECT_FLAG_PERSISTENT, and time.
Referenced by m_tick().
|
inlinevirtualinherited |
|
inherited |
Definition at line 34 of file all.qh.
Referenced by m_apply(), m_remove(), and NET_HANDLE().
|
inherited |
Definition at line 44 of file all.qh.
Referenced by m_remove().
|
inherited |
Definition at line 49 of file all.qh.
Referenced by m_remove(), and StatusEffects_Write().
|
inherited |
Stores times of status effects, the id being the index.
Definition at line 48 of file all.qh.
Referenced by m_remove(), and StatusEffects_Write().