xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Engines::NWN::Creature::Class Struct Reference

A class. More...

Collaboration diagram for Engines::NWN::Creature::Class:
Collaboration graph
[legend]

Public Member Functions

 Class ()
 

Public Attributes

uint32 classID
 Index into classes.2da. More...
 
uint16 level
 Levels of that class. More...
 
uint8 domain1
 Cleric's domain. More...
 
uint8 domain2
 Cleric's domain. More...
 
uint8 school
 Wizard's spell school. More...
 
std::vector< std::vector< uint16 > > knownList
 Known spells list. More...
 
std::vector< std::vector< uint16 > > memorizedList
 Memorized spells list. More...
 

Detailed Description

A class.

Definition at line 286 of file creature.h.

Constructor & Destructor Documentation

◆ Class()

Engines::NWN::Creature::Class::Class ( )

Definition at line 59 of file creature.cpp.

Member Data Documentation

◆ classID

uint32 Engines::NWN::Creature::Class::classID

Index into classes.2da.

Definition at line 287 of file creature.h.

Referenced by Engines::NWN::Creature::changeClassLevel().

◆ domain1

uint8 Engines::NWN::Creature::Class::domain1

Cleric's domain.

Definition at line 290 of file creature.h.

Referenced by Engines::NWN::Creature::getDomains(), and Engines::NWN::Creature::setDomains().

◆ domain2

uint8 Engines::NWN::Creature::Class::domain2

Cleric's domain.

Definition at line 291 of file creature.h.

Referenced by Engines::NWN::Creature::getDomains(), and Engines::NWN::Creature::setDomains().

◆ knownList

std::vector<std::vector<uint16> > Engines::NWN::Creature::Class::knownList

Known spells list.

Definition at line 295 of file creature.h.

Referenced by Engines::NWN::Creature::hasSpell(), and Engines::NWN::Creature::setKnownSpell().

◆ level

uint16 Engines::NWN::Creature::Class::level

Levels of that class.

Definition at line 288 of file creature.h.

Referenced by Engines::NWN::Creature::changeClassLevel().

◆ memorizedList

std::vector<std::vector<uint16> > Engines::NWN::Creature::Class::memorizedList

Memorized spells list.

Definition at line 296 of file creature.h.

Referenced by Engines::NWN::Creature::setMemorizedSpell().

◆ school

uint8 Engines::NWN::Creature::Class::school

Wizard's spell school.

Definition at line 293 of file creature.h.

Referenced by Engines::NWN::Creature::setSchool().


The documentation for this struct was generated from the following files: