|
Public Methods |
| | Race (void) |
| virtual | ~Race (void) |
| bool | getCanUseSkill (UI32 skillId) |
| UI32 | getDexCap (void) |
| int | getDexModifier (UI32 baseDex) |
| UI32 | getDexStart (void) |
| UI32 | getIntCap (void) |
| int | getIntModifier (UI32 baseDex) |
| UI32 | getIntStart (void) |
| const string * | getPluralName (void) |
| RACIALRELATION | getRacialRelation (UI32 raceId) |
| UI32 | getSkillAdvanceDexterity (UI32 skillId) |
| UI32 | getSkillAdvanceIntelligence (UI32 skillId) |
| UI32 | getSkillAdvanceStrength (UI32 skillId) |
| UI32 | getSkillAdvanceSuccess (UI32 skillId, UI32 baseSkill) |
| UI32 | getSkillAdvanceFailure (UI32 skillId, UI32 baseSkill) |
| UI32 | getSkillCap (void) |
| UI32 | getStatCap (void) |
| UI32 | getStrCap (void) |
| int | getStrModifier (UI32 baseDex) |
| UI32 | getStrStart (void) |
| bool | isPlayerRace (void) |
| bool | isProtectedLayer (unsigned char layer) |
| bool | isRaceActive (void) |
| void | setRacialRelation (UI32 raceId, RACIALRELATION relation) |
| void | setSkillCap (UI32 newSkillCap) |
| void | show (void) |
Static Public Methods |
| void | load (const char *scriptName) |
| void | reload (const char *scriptName) |
| void | parse (void) |
| void | enlist (const NXWSOCKET socket) |
| bool | isRaceSystemActive (void) |
| const string * | getName (const UI32 raceId) |
| const string * | getPluralName (const UI32 raceId) |
| void | setName (const UI32 raceId, const char *newName) |
| R32 | getPoisonResistance (const UI32 raceId, PoisonType poisonStrength) |
| bool | isPlayerRace (const UI32 raceId) |
| RACIALRELATION | getRacialRelation (UI32 raceId1, UI32 raceId2) |
| Race * | getRace (UI32 raceId) |
| RequiredType | getBeardPerm (UI32 raceId) |
| RequiredType | getHairPerm (UI32 raceId) |
| bool | isProtectedLayer (UI32 raceId, unsigned char layer) |
Public Attributes |
| vector< UI32 > | skinColor |
| string | webLink |
| std::vector< string > | description |
| RaceType | raceType |
| UI32 | skin |
| RequiredType | hairPerm |
| UI32 | hairStyle |
| vector< UI32 > | hairColor |
| RequiredType | beardPerm |
| vector< BEARDSTYLE > | beardStyles |
| vector< UI32 > | beardColor |
| string | name |
Static Public Attributes |
| bool | teleportOnEnlist = false |
| bool | withWebInterface = false |
| string | globalWebRoot |
| string | globalWebLink |
| short | startLocation [3] = { 0, 0, 0 } |
Private Methods |
| void | parseAbilityModifiers (const RACIALABILITY ability, const string §ionName) |
| void | parseBeardColor (const string §ionName) |
| void | parseHairColor (const string §ionName) |
| void | parsePoisonResistance (const string §ionName) |
| void | parseRaceDescription (const string §ionName) |
| void | parseSkinColor (const string §ionName) |
| void | parseSkill (const string §ionName) |
| void | parseStartItem (const string &itemReference) |
| void | parseStartItemDetails (const string &itemReference) |
Static Private Methods |
| void | enlistDialog1 (const NXWSOCKET socket) |
| void | dialogRaceInfo (const NXWSOCKET socket) |
| void | dialogNotImplemented (const NXWSOCKET socket) |
| void | dialogPlayerRaceInfo (const NXWSOCKET socket) |
| void | dialogNonPlayerRaceInfo (const NXWSOCKET socket) |
| void | dialogAnyRaceInfo (const NXWSOCKET socket) |
| void | dialogChoosePlayerRace (const NXWSOCKET socket) |
| void | enlistDialog121 (const NXWSOCKET socket) |
| void | showRaceDescription (const NXWSOCKET socket, UI32 raceId) |
| void | showRaceDescription (const NXWSOCKET socket, const UI32 raceId, BYTE gumpId, bool canClose, bool canMove, bool withOk) |
| void | showRaceNameList (const NXWSOCKET socket, const RACETYPE raceType, BYTE gumpId, bool canClose, bool canMove, bool withOk) |
| void | parseGlobalSection (void) |
| void | parseRaceSection (void) |
| void | scriptConOut (void) |
Private Attributes |
| UI32 | id |
| string | pluralName |
| bool | activeRace |
| Gender | gender |
| UI32 | statCap |
| UI32 | strStart |
| UI32 | strCap |
| RaceAbilityModifiers | strModifiers |
| UI32 | dexStart |
| UI32 | dexCap |
| RaceAbilityModifiers | dexModifiers |
| UI32 | intStart |
| UI32 | intCap |
| RaceAbilityModifiers | intModifiers |
| bool | magicResistant |
| R32 | poisonResistance [6] |
| std::map< UI32, RACIALRELATION > | m_mapRacialRelations |
| vector< class RaceStartItem > | startItems |
| UI32 | skillCap |
| RaceSkills | skills |
| UI32 | tileId |
| UI32 | font |
| UI32 | say |
| UI32 | emote |
Static Private Attributes |
| std::map< UI32, class Race * > | raceMap |
| cScpScript * | script |
| bool | activeRaceSystem = false |