nw::ClassInfo

struct ClassInfo

Public Functions

ClassInfo()
ClassInfo(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

ClassRequirement requirements
uint32_t name = 0xFFFFFFFF
uint32_t plural = 0xFFFFFFFF
uint32_t lower = 0xFFFFFFFF
uint32_t description = 0xFFFFFFFF
Resource icon
int hitdie = 0
const Vector<int> *attack_bonus_table = nullptr
Resource feats_table
Resource saving_throw_table
Vector<Saves> class_saves
Resource skill_table
Vector<int> class_skills
Resource bonus_feats_table
int skill_point_base = 0
Resource spell_gain_table
Resource spell_known_table
bool player_class = false
bool spellcaster = false
int primary_ability
uint32_t alignment_restriction = 0
uint32_t alignment_restriction_type = 0
bool invert_restriction = false
InternedString constant
Resource prereq_table
int max_level = 0
int xp_penalty = 0
int arcane_spellgain_mod = 0
int divine_spellgain_mod = 0
int epic_level_limit = -1
int package = 0
Resource stat_gain_table
Vector<ClassStatGain> class_stat_gain
bool memorizes_spells = false
bool spellbook_restricted = false
bool pick_domains = false
bool pick_school = false
bool learn_scroll = false
bool arcane = false
bool arcane_spell_failure = false
nw::Ability caster_ability = nw::Ability::invalid()
String spell_table_column
float caster_level_multiplier = 1.0f
int level_min_caster = 0
int level_min_associate = 0
bool can_cast_spontaneously = false
Vector<ClassSpell> spells
Vector<int> spells_gained
Vector<int> spells_known