#include <chars.h>
Public Methods | |
| void | setStrength (SI32 newStr) |
| const SI32 | getStrength () |
| void | setDexterity (SI32 newDex) |
| const SI32 | getDexterity () |
| void | setIntelligence (SI32 newInt) |
| const SI32 | getIntelligence () |
| void | setMana (SI32 newMana) |
| const SI32 | getMana () |
| void | setStamina (SI32 newStam) |
| const SI32 | getStamina () |
| void | setHitpoints (SI32 newHits) |
| const SI32 | getHitpoints () |
| void | setId (UI16 newId) |
| UI16 | getId () |
| void | setColor (COLOR oldColor) |
| COLOR | getColor () |
| const string | getName () |
| void | setName (string s) |
| void | setBeardStyle (UI16 beardstyle) |
| UI16 | getBeardStyle () |
| void | setBeardColor (COLOR beardcolor) |
| COLOR | getBeardColor () |
| void | setHairStyle (UI16 hairstyle) |
| UI16 | getHairStyle () |
| void | setHairColor (COLOR haircolor) |
| COLOR | getHairColor () |
Private Attributes | |
| SI32 | strength |
| SI32 | dexterity |
| SI32 | intelligence |
| SI32 | mana |
| SI32 | stamina |
| SI32 | hitpoints |
| UI16 | oldId |
| UI16 | oldColor |
| std::string | oldName |
| UI16 | oldbeardstyle |
| UI16 | oldbeardcolor |
| UI16 | oldhairstyle |
| UI16 | oldhaircolor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|