|
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 | 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 () |
Public Attributes | |
| vector | m_color = '0.5 0.5 1' |
| bool | m_hidden = false |
| Whether the effect is displayed in the HUD. | |
| string | m_icon = "buff_invisible" |
| int | m_id = 0 |
| float | m_lifetime = 30 |
| Lifetime scale for HUD progress bars. | |
| string | m_name = _("Invisibility") |
| Sound | m_sound = SND_Null |
| Sound | m_sound_rm = SND_POWEROFF |
| string | netname = "invisibility" |
| int | statuseffect_flags [REGISTRY_MAX(StatusEffects)] |
| float | statuseffect_time [REGISTRY_MAX(StatusEffects)] |
| Stores times of status effects, the id being the index. | |
Definition at line 58 of file invisibility.qh.
|
inherited |
References ATTRIB().
|
inherited |
|
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().
| vector InvisibilityStatusEffect::m_color = '0.5 0.5 1' |
Definition at line 61 of file invisibility.qh.
| string InvisibilityStatusEffect::m_icon = "buff_invisible" |
Definition at line 62 of file invisibility.qh.
|
inherited |
Definition at line 34 of file all.qh.
Referenced by m_apply(), m_remove(), and NET_HANDLE().
|
inherited |
| string InvisibilityStatusEffect::m_name = _("Invisibility") |
Definition at line 60 of file invisibility.qh.
|
inherited |
Definition at line 38 of file powerups.qh.
| string InvisibilityStatusEffect::netname = "invisibility" |
Definition at line 59 of file invisibility.qh.
|
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().