Go to the source code of this file.
◆ REGISTER_STATUSEFFECT
#define REGISTER_STATUSEFFECT |
( |
|
id, |
|
|
|
inst |
|
) |
| REGISTER(StatusEffect, STATUSEFFECT, id, m_id, inst) |
Definition at line 9 of file all.qh.
◆ anonymous enum
Enumerator |
---|
STATUSEFFECT_FLAG_ACTIVE | |
STATUSEFFECT_FLAG_PERSISTENT | Effect is currently being granted passively.
|
Definition at line 17 of file all.qh.
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Effect is currently being granted passively.
◆ anonymous enum
Enumerator |
---|
STATUSEFFECT_REMOVE_NORMAL | Effect is being removed by a function, calls regular removal mechanics.
|
STATUSEFFECT_REMOVE_TIMEOUT | |
STATUSEFFECT_REMOVE_CLEAR | Effect is being forcibly removed without calling any additional mechanics.
|
Definition at line 23 of file all.qh.
Effect is being removed by a function, calls regular removal mechanics.
Effect is being forcibly removed without calling any additional mechanics.
◆ STATIC_INIT()
STATIC_INIT |
( |
StatusEffect |
| ) |
|
Definition at line 15 of file all.qh.
References FOREACH.
15 {
FOREACH(StatusEffect,
true, it.m_id = i); }
#define FOREACH(list, cond, body)