nw::EffectHandle

struct EffectHandle

Public Functions

bool operator==(const EffectHandle&) const = default
auto operator<=>(const EffectHandle&) const = default
inline TypedHandle to_typed_handle() const

Public Members

TypedHandle runtime_handle
EffectType type = EffectType::invalid()
int subtype = -1
ObjectHandle creator
Spell spell_id = Spell::invalid()
EffectCategory category = EffectCategory::magical
Effect *effect = nullptr