nw::kernel::resolve_modifier
-
template<typename Callback>
bool nw::kernel::resolve_modifier(const ObjectBase *obj, const Modifier &mod, Callback cb, const ObjectBase *versus = nullptr, int32_t subtype = -1) Calculates a modifier.
- Template Parameters:
Callback – Modifier callback function
-
template<typename Callback>
bool nw::kernel::resolve_modifier(const ObjectBase *obj, const ModifierType type, Callback cb) Calculates all modifiers of
type- Template Parameters:
Callback – Modifier callback function
-
template<typename Callback>
bool nw::kernel::resolve_modifier(const ObjectBase *obj, const ModifierType type, const ObjectBase *versus, Callback cb) Calculates all modifiers of
typeversus an object.- Template Parameters:
Callback – Modifier callback function
-
template<typename SubType, typename Callback>
bool nw::kernel::resolve_modifier(const ObjectBase *obj, const ModifierType type, SubType subtype, Callback cb) Calculates all modifiers of a
typeandsubtype- Template Parameters:
U – is some rule subtype
Callback – Modifier callback function
-
template<typename SubType, typename Callback>
bool nw::kernel::resolve_modifier(const ObjectBase *obj, const ModifierType type, SubType subtype, const ObjectBase *versus, Callback cb) Calculates all modifiers of a
typeandsubtypeversus another object.- Template Parameters:
U – is some rule subtype
Callback – Modifier callback function