dao::vfx::RunningEffect
struct
One visual effect the area has running.
Declared in dao/Vfx.h.
Fields
| Field | Type | |
|---|---|---|
id |
ObjectId = kInvalidObject |
The effect’s id, as Place returns one. |
model |
std::wstring |
The name of its model (fxe_fire_m_ns_p), or empty while it has none loaded. |
modelHasLight |
bool = false |
Whether that model has a point light of its own. |
owner |
ObjectId = kInvalidObject |
The object it is on, or kInvalidObject for one placed at a point. |
position |
std::optional<Vector> |
Where it is: its own place, or its owner’s for one on an object; none for one on an item, such as a weapon’s enchantment, since a held item has no place of its own. |
vfx |
std::int32_t = 0 |
Its row of the visual effects table (vfx_base). |