nw::SpellInfo

struct SpellInfo

Public Functions

SpellInfo() = default
SpellInfo(const TwoDARowView &tda)
String editor_name() const

Gets the name to display when using in contexts like a toolset.

inline bool valid() const noexcept

Public Members

uint32_t name = 0xFFFFFFFF
Resref icon
SpellSchool school = SpellSchool::invalid()
MetaMagicFlag metamagic = metamagic_none
int innate_level = -1
int user_type = 0