Core Rules
WoTC AD&D 2nd Edition -- Drakein API Reference
Loading...
Searching...
No Matches
CoreRules::ICharacterRecord Class Referenceabstract

Heavy per-character record (one row backing a Chars/*.dat file). More...

#include <ICharacterRecord.h>

Public Types

enum  PlayerType { Player_CoreRules = 0 , Player_SkillsAndPowers = 1 , Player_CoreRulesV3 = 256 }
 Player-type discriminator (Type field on the General tab). More...

Public Member Functions

virtual ~ICharacterRecord ()=default
virtual const char * GetCharacterName () const =0
 Character's name (unique across Character_Index).
virtual bool SetCharacterName (const char *v)=0
 Rename the character (uniqueness-checked).
virtual const char * GetPlayerName () const =0
 Player name (the real-life person who runs this character).
virtual void SetPlayerName (const char *v)=0
 Set the player name. Refreshes the MiniOb's ddi_PlayerName.
virtual const char * GetCoreRulesVersion () const =0
 Free-form version string (carried across saves).
virtual void SetCoreRulesVersion (const char *v)=0
 Set the version string.
virtual PlayerType GetPlayerType () const =0
 Core Rules vs Skills & Powers vs Core Rules v3.
virtual bool SetPlayerType (PlayerType v)=0
 Set the discriminator.
virtual const char * GetRace () const =0
 Race name (e.g. "Half-elf").
virtual bool SetRace (const char *v)=0
 Set the race. Refreshes MiniOb's cached race + ddi_Race.
virtual const char * GetSubRace () const =0
 Sub-race / lineage name (e.g. "Standard half-elf").
virtual bool SetSubRace (const char *v)=0
 Set the sub-race.
virtual const char * GetClassDisplay () const =0
 Composed class display ("Fighter/Magic-User/Thief").
virtual void SetClassDisplay (const char *v)=0
 Set the composed class display. Refreshes MiniOb's ddi_Class.
virtual const char * GetClassKit () const =0
 Character kit name (e.g. "Swashbuckler"; empty if none).
virtual bool SetClassKit (const char *v)=0
 Set the kit. Refreshes MiniOb's ddi_Kit.
virtual const char * GetAlignment () const =0
 Alignment (e.g. "Lawful Good", "Chaotic Neutral").
virtual bool SetAlignment (const char *v)=0
 Set the alignment.
virtual const char * GetParty () const =0
 Party name this character belongs to (empty = free agent).
virtual void SetParty (const char *v)=0
 Set the party. Refreshes MiniOb's cached party + ddi_Party.
virtual bool IsNPC () const =0
 true if this is an NPC roster entry (DM-side).
virtual void IsNPC (bool v)=0
 Set the NPC flag. Refreshes the MiniOb's cached NPC state.
virtual long GetHeight () const =0
 Height in inches (>= 0).
virtual long GetWeight () const =0
 Weight in pounds (>= 0).
virtual long GetAge () const =0
 Age in years (>= 0).
virtual long GetGender () const =0
 Gender: 0 = Female, non-zero = Male (storage is long; carries non-binary values verbatim where present).
virtual bool SetHeight (long v)=0
 Set height.
virtual bool SetWeight (long v)=0
 Set weight.
virtual bool SetAge (long v)=0
 Set age.
virtual void SetGender (long v)=0
 Set gender (any long value accepted verbatim).
virtual bool IsFemale () const =0
 Convenience predicate (GetGender() == 0).
virtual bool IsMale () const =0
 Convenience predicate (GetGender() != 0).
virtual const char * GetPortraitDir () const =0
 Directory holding the portrait image file.
virtual void SetPortraitDir (const char *v)=0
 Set the portrait directory.
virtual const char * GetPortraitFilename () const =0
 Portrait image filename (within GetPortraitDir()).
virtual void SetPortraitFilename (const char *v)=0
 Set the portrait filename.
virtual long GetExtensionId () const =0
 The extension binding id (0 if none). Does not trigger a load.
virtual void ClearExtensionBinding ()=0
 Zero the extension binding id and mark the record dirty.
virtual int GetTraitCount () const =0
 Number of traits the character has.
virtual const char * GetTrait (int index) const =0
 Trait at the given index ("" if out of range).
virtual int GetDisadvantageCount () const =0
 Number of disadvantages the character has.
virtual const char * GetDisadvantage (int index) const =0
 Disadvantage at the given index ("" if out of range).
virtual int GetAdventureCount () const =0
 Number of adventures in the log.
virtual ICharacter_AdventureGetAdventure (int index)=0
 Adventure at the given index (owned; do not delete).
virtual void AddAdventure (ICharacter_Adventure *a)=0
 Append a new adventure. Takes ownership of a.
virtual bool RemoveAdventure (int index)=0
 Remove (and delete) the adventure at the given index.
virtual void ClearAdventures ()=0
 Remove and delete every adventure.
Extension-backed fields

Fields stored on the per-character Drakein.dat record.

Mutual exclusion (family link vs. local DOB / place-of-birth)
  • GetFamilyId() == 0 -> DateOfBirth + PlaceOfBirth own the data.
  • GetFamilyId() != 0 -> the linked family record owns DOB / PlaceOfBirth; the local fields are reset to empty.

Setters maintain the invariant:

  • SetFamilyId(non_zero) clears DateOfBirth and PlaceOfBirth.
  • SetDateOfBirth(non_empty) zeros FamilyId.
  • SetPlaceOfBirth(non_empty) zeros FamilyId.
virtual long GetFamilyId () const =0
 Linked family record id; 0 = no family link.
virtual bool SetFamilyId (long id)=0
 Set the family link.
virtual bool HasFamilyRecord () const =0
 true if GetFamilyId() is non-zero AND the family record exists.
virtual const IDateObGetDateOfBirth () const =0
 Date of birth (read-only view). Owned by the record; do not delete.
virtual IDateObGetDateOfBirth ()=0
 Date of birth (mutable view). Owned by the record; do not delete.
virtual void SetDateOfBirth (const IDateOb *v)=0
 Set the date of birth. Zeros FamilyId when v is non-empty.
virtual const char * GetPlaceOfBirth () const =0
 Place of birth (free-form text).
virtual void SetPlaceOfBirth (const char *v)=0
 Set the place of birth. Zeros FamilyId when v is non-empty.
virtual const char * GetEyeColor () const =0
 Eye color (free-form text).
virtual void SetEyeColor (const char *v)=0
 Set the eye color.
virtual const char * GetHairColor () const =0
 Hair color (free-form text).
virtual void SetHairColor (const char *v)=0
 Set the hair color.
virtual const char * GetComplexion () const =0
 Complexion (free-form text).
virtual void SetComplexion (const char *v)=0
 Set the complexion.
virtual long GetCurrentHitPoints () const =0
 Current hit points (signed; <= -10 means dead).
virtual void SetCurrentHitPoints (long v)=0
 Set the current hit points.
virtual bool IsRightHanded () const =0
 true if the character is right-handed (predicate-setter style).
virtual bool IsLeftHanded () const =0
 true if the character is left-handed.
virtual void IsRightHanded (bool v)=0
 Set handedness via the right-handed predicate.
virtual void IsLeftHanded (bool v)=0
 Set handedness via the left-handed predicate.
virtual bool OutOfPlay () const =0
 true if the character is no longer in play.
virtual void OutOfPlay (bool v)=0
 Set if the character is no longer in play.
Tab: Abilities

Racial abilities list.

Class / kit abilities are pulled from their respective catalogs at display time (not stored here).

virtual int GetRacialAbilityCount () const =0
 Number of racial abilities the character has.
virtual const char * GetRacialAbility (int index) const =0
 Racial ability at the given index.
virtual bool AddRacialAbility (const char *v)=0
 Append a racial ability.
virtual bool RemoveRacialAbilityAt (int index)=0
 Remove the racial ability at the given index.
virtual void ClearRacialAbilities ()=0
 Remove every racial ability.
Tab: Proficiencies (Non-Weapon)

Non-weapon proficiencies, languages, secondary skills, armor worn.

virtual int GetNonWeaponProfCount () const =0
 Number of non-weapon proficiencies.
virtual const char * GetNonWeaponProf (int index) const =0
 NWP at index.
virtual bool AddNonWeaponProf (const char *v)=0
 Append a non-weapon proficiency.
virtual bool RemoveNonWeaponProfAt (int index)=0
 Remove at index.
virtual void ClearNonWeaponProfs ()=0
 Clear all.
virtual int GetNonWeaponProfScoreCount () const =0
 Number of NWP score entries (parallel to GetNonWeaponProf).
virtual long GetNonWeaponProfScore (int index) const =0
 NWP score at index.
virtual bool AddNonWeaponProfScore (long v)=0
 Append an NWP score.
virtual bool RemoveNonWeaponProfScoreAt (int index)=0
 Remove NWP score at index.
virtual void ClearNonWeaponProfScores ()=0
 Clear all NWP scores.
virtual int GetSecondaryNonWeaponProfScoreCount () const =0
 Number of secondary NWP scores (S&P – 2nd score column).
virtual long GetSecondaryNonWeaponProfScore (int index) const =0
 Secondary NWP score at index.
virtual bool AddSecondaryNonWeaponProfScore (long v)=0
 Append a secondary NWP score.
virtual bool RemoveSecondaryNonWeaponProfScoreAt (int index)=0
 Remove secondary NWP score at index.
virtual void ClearSecondaryNonWeaponProfScores ()=0
 Clear all secondary NWP scores.
virtual int GetSecondarySkillCount () const =0
 Number of secondary skills (career background – forester, carpenter, etc.).
virtual const char * GetSecondarySkill (int index) const =0
 Secondary skill at index.
virtual bool AddSecondarySkill (const char *v)=0
 Append a secondary skill.
virtual bool RemoveSecondarySkillAt (int index)=0
 Remove at index.
virtual void ClearSecondarySkills ()=0
 Clear all.
virtual int GetLanguageCount () const =0
 Number of languages the character knows.
virtual const char * GetLanguage (int index) const =0
 Language at index.
virtual bool AddLanguage (const char *v)=0
 Append a language.
virtual bool RemoveLanguageAt (int index)=0
 Remove language at index.
virtual void ClearLanguages ()=0
 Clear all languages.
virtual int GetArmorWornCount () const =0
 Number of armor pieces currently worn (body armor + shield + etc.).
virtual const char * GetArmorWorn (int index) const =0
 Worn armor item at index.
virtual bool AddArmorWorn (const char *v)=0
 Append a worn armor item.
virtual bool RemoveArmorWornAt (int index)=0
 Remove worn armor item at index.
virtual void ClearArmorWorn ()=0
 Clear all worn armor.
virtual const char * GetFreeNWPByKit () const =0
 Free NWP grants from the character's kit (single concatenated string).
virtual void SetFreeNWPByKit (const char *v)=0
 Set the free-NWP-by-kit string.
Tab: History

Free-form prose: Social Standing, History, Major Life Event.

virtual const char * GetSocialStanding () const =0
 Social Standing prose field.
virtual void SetSocialStanding (const char *v)=0
 Set Social Standing.
virtual const char * GetHistory () const =0
 History prose field.
virtual void SetHistory (const char *v)=0
 Set History.
virtual const char * GetMajorLifeEvent () const =0
 Major Life Event prose field.
virtual void SetMajorLifeEvent (const char *v)=0
 Set Major Life Event.
Tab: General (edit API for Traits / Disadvantages)

The read-only stubs in the General block (above) provide Count + GetXxx(int); these complete the editing protocol used by the General tab's "Traits" and "Disadvantages" panes.

virtual bool AddTrait (const char *v)=0
 Append a trait to the General-tab Traits pane.
virtual bool RemoveTraitAt (int index)=0
 Remove trait at index.
virtual void ClearTraits ()=0
 Clear all traits.
virtual bool AddDisadvantage (const char *v)=0
 Append a disadvantage to the General-tab Disadvantages pane.
virtual bool RemoveDisadvantageAt (int index)=0
 Remove disadvantage at index.
virtual void ClearDisadvantages ()=0
 Clear all disadvantages.
Composite dirty-flag protocol
Tab: deferred – Psionics

The Psionics tab is not in the current editor screenshot set. The impl carries the full Psionics data block (Primary Psionics and Alternate Primary strings; Disciplines / Sciences / Devotions / Attacks / Defenses lists; IsTestedForWildTalent flag; PSP- per-level array; CharacterPoints + per-level). These accessors will be added here when the Psionics editor lands.

DEFERRED 2026-06-02 by Jeff. Not an oversight – the underlying impl is intact; just no public interface yet because there's no consumer for it.

virtual bool IsDirty () const =0
 true if any field on this record (own state, the internal extension, adventures, or any of the nine inventory bundles) has been mutated since the last MarkClean() or successful save.
virtual void MarkClean ()=0
 Recursively clear the dirty flag on self + extension + bundles.

Tab: Attributes

6 core abilities + Skills & Powers split-stat sub-abilities.

enum  AbilitySlot {
  Ability_Strength = 0 , Ability_Dexterity = 1 , Ability_Constitution = 2 , Ability_Intelligence = 3 ,
  Ability_Wisdom = 4 , Ability_Charisma = 5
}
 AbilitySlot in AD&D canonical order (Str/Dex/Con/Int/Wis/Cha). More...
virtual long GetStrength () const =0
 Strength (1..25).
virtual long GetDexterity () const =0
 Dexterity (1..25).
virtual long GetConstitution () const =0
 Constitution (1..25).
virtual long GetIntelligence () const =0
 Intelligence (1..25).
virtual long GetWisdom () const =0
 Wisdom (1..25).
virtual long GetCharisma () const =0
 Charisma (1..25).
virtual bool SetStrength (long v)=0
 Set Strength.
virtual bool SetDexterity (long v)=0
 Set Dexterity.
virtual bool SetConstitution (long v)=0
 Set Constitution.
virtual bool SetIntelligence (long v)=0
 Set Intelligence.
virtual bool SetWisdom (long v)=0
 Set Wisdom.
virtual bool SetCharisma (long v)=0
 Set Charisma.
virtual long GetAbility (AbilitySlot slot) const =0
 Slot-indexed ability getter (convenience for iteration).
virtual bool SetAbility (AbilitySlot slot, long v)=0
 Slot-indexed ability setter.
virtual long GetStamina () const =0
 S&P Stamina sub-ability.
virtual long GetMuscle () const =0
 S&P Muscle sub-ability.
virtual long GetStrengthModifier () const =0
 S&P Strength Modifier (0..100; the 18/xx percentile).
virtual bool SetStamina (long v)=0
 Set Stamina.
virtual bool SetMuscle (long v)=0
 Set Muscle.
virtual bool SetStrengthModifier (long v)=0
 Set Strength Modifier.
virtual Char_Strength_Attr GetStrengthAttrs () const =0
 Derived Strength stats for THIS character (the recovered GetStrengthAttrs from the original CoreRules.dll).
virtual Char_Dexterity_Attr GetDexterityAttrs () const =0
 Derived Dexterity stats for THIS character (CR: off Dexterity; S&P: Aim + Balance).
virtual Char_Constitution_Attr GetConstitutionAttrs () const =0
 Derived Constitution stats (CR: off Constitution; S&P: Health + Fitness; regeneration is CR-only).
virtual Char_Intelligence_Attr GetIntelligenceAttrs () const =0
 Derived Intelligence stats (CR: off Intelligence; S&P: Reason + Knowledge).
virtual Char_Wisdom_Attr GetWisdomAttrs () const =0
 Derived Wisdom stats (CR: off Wisdom; S&P: Intuition + Willpower).
virtual Char_Charisma_Attr GetCharismaAttrs () const =0
 Derived Charisma stats (CR: off Charisma; S&P: Leadership + Appearance).
virtual int GetSpellImmunityCount () const =0
 Number of spells this character is immune to via a high Wisdom (from GetWisdomAttrs().spell_immunity, 0..7).
virtual const char * GetSpellImmunity (int index) const =0
 The i-th immune spell's name (0-based, 0..GetSpellImmunityCount()-1).
virtual long GetAim () const =0
 S&P Aim sub-ability (split of Dexterity).
virtual long GetBalance () const =0
 S&P Balance sub-ability (split of Dexterity).
virtual bool SetAim (long v)=0
 Set Aim.
virtual bool SetBalance (long v)=0
 Set Balance.
virtual long GetHealth () const =0
 S&P Health sub-ability (split of Constitution).
virtual long GetFitness () const =0
 S&P Fitness sub-ability (split of Constitution).
virtual bool SetHealth (long v)=0
 Set Health.
virtual bool SetFitness (long v)=0
 Set Fitness.
virtual long GetReason () const =0
 S&P Reason sub-ability (split of Intelligence).
virtual long GetKnowledge () const =0
 S&P Knowledge sub-ability (split of Intelligence).
virtual bool SetReason (long v)=0
 Set Reason.
virtual bool SetKnowledge (long v)=0
 Set Knowledge.
virtual long GetIntuition () const =0
 S&P Intuition sub-ability (split of Wisdom).
virtual long GetWillpower () const =0
 S&P Willpower sub-ability (split of Wisdom).
virtual bool SetIntuition (long v)=0
 Set Intuition.
virtual bool SetWillpower (long v)=0
 Set Willpower.
virtual long GetLeadership () const =0
 S&P Leadership sub-ability (split of Charisma).
virtual long GetAppearance () const =0
 S&P Appearance sub-ability (split of Charisma).
virtual bool SetLeadership (long v)=0
 Set Leadership.
virtual bool SetAppearance (long v)=0
 Set Appearance.

Tab: Class

Multi-class slots, per-class XP / HP / class name.

enum  { kMaxClasses = 5 }
 Maximum number of multi-class slots. Valid slot indices are [0, kMaxClasses). More...
enum  { kMaxLevel = 100 }
 Maximum character level the HP-per-level array supports. More...
virtual long GetNumberOfClasses () const =0
 Active class count (1..3 typical; 0..kMaxClasses).
virtual bool SetNumberOfClasses (long v)=0
 Set active class count.
virtual const char * GetSlotClassName (int slot) const =0
 Class name at the given slot ("" if out of range).
virtual bool SetSlotClassName (int slot, const char *v)=0
 Set class name at the given slot.
virtual long GetExperiencePoints (int slot) const =0
 Experience points in the given class slot.
virtual bool SetExperiencePoints (int slot, long xp)=0
 Set XP for the given class slot.
virtual long GetHPForLevel (int slot, int level) const =0
 Per-character-level HP rolled for the given class slot.
virtual bool SetHPForLevel (int slot, int level, long hp)=0
 Set rolled HP for the given class slot + level.

Tab: Proficiencies (Weapon)

Weapon / armor proficiency lists, weapon mastery, fighting style, shield + unarmed combat flags.

enum  { kFightingStyleSlots = 9 }
 Number of S&P fighting-style slots (9 fixed slots). More...
virtual int GetWeaponProficiencyCount () const =0
 Number of specific-weapon proficiencies (e.g. "Sword, long").
virtual const char * GetWeaponProficiency (int index) const =0
 Specific-weapon proficiency at the given index.
virtual bool AddWeaponProficiency (const char *v)=0
 Append a weapon proficiency.
virtual bool RemoveWeaponProficiencyAt (int index)=0
 Remove the weapon proficiency at the given index.
virtual void ClearWeaponProficiency ()=0
 Remove every weapon proficiency.
virtual int GetBroadGroupProficiencyCount () const =0
 Number of broad weapon-group proficiencies (e.g. "Blades", "Bows").
virtual const char * GetBroadGroupProficiency (int index) const =0
 Broad-group proficiency at index.
virtual bool AddBroadGroupProficiency (const char *v)=0
 Append a broad-group proficiency.
virtual bool RemoveBroadGroupProficiencyAt (int index)=0
 Remove at index.
virtual void ClearBroadGroupProficiency ()=0
 Clear all.
virtual int GetTightGroupProficiencyCount () const =0
 Number of tight weapon-group proficiencies (e.g. "Long Blades").
virtual const char * GetTightGroupProficiency (int index) const =0
 Tight-group proficiency at index.
virtual bool AddTightGroupProficiency (const char *v)=0
 Append a tight-group proficiency.
virtual bool RemoveTightGroupProficiencyAt (int index)=0
 Remove at index.
virtual void ClearTightGroupProficiency ()=0
 Clear all.
virtual int GetSpecializationCount () const =0
 Number of weapon specializations (above-proficiency expertise).
virtual const char * GetSpecialization (int index) const =0
 Specialization at index.
virtual bool AddSpecialization (const char *v)=0
 Append a specialization.
virtual bool RemoveSpecializationAt (int index)=0
 Remove at index.
virtual void ClearSpecializations ()=0
 Clear all.
virtual int GetArmorProficiencyCount () const =0
 Number of armor proficiencies (e.g. "Light Armor").
virtual const char * GetArmorProficiency (int index) const =0
 Armor proficiency at index.
virtual bool AddArmorProficiency (const char *v)=0
 Append an armor proficiency.
virtual bool RemoveArmorProficiencyAt (int index)=0
 Remove at index.
virtual void ClearArmorProficiency ()=0
 Clear all.
virtual const char * GetWeaponOfChoice () const =0
 "Weapon of Choice" mastery field (empty if unset).
virtual bool SetWeaponOfChoice (const char *v)=0
 Set Weapon of Choice.
virtual const char * GetExpertise () const =0
 "Expertise" mastery field.
virtual bool SetExpertise (const char *v)=0
 Set Expertise.
virtual const char * GetWeaponMastery () const =0
 "Weapon Mastery" field.
virtual bool SetWeaponMastery (const char *v)=0
 Set Weapon Mastery.
virtual const char * GetHighMasteryWeapon () const =0
 "High Mastery" weapon name.
virtual bool SetHighMasteryWeapon (const char *v)=0
 Set High Mastery weapon.
virtual const char * GetGrandMasteryWeapon () const =0
 "Grand Mastery" weapon name.
virtual bool SetGrandMasteryWeapon (const char *v)=0
 Set Grand Mastery weapon.
virtual const char * GetWeaponFromRacialFocus () const =0
 Weapon granted by the character's racial focus.
virtual void SetWeaponFromRacialFocus (const char *v)=0
 Set the racial-focus weapon.
virtual const char * GetMissileFocusFromKit () const =0
 Missile-weapon focus granted by the character's kit.
virtual void SetMissileFocusFromKit (const char *v)=0
 Set the missile-focus weapon.
virtual long GetFightingStyle (int slot) const =0
 Fighting-style value at slot. Per S&P style table.
virtual bool SetFightingStyle (int slot, long v)=0
 Set fighting-style value at slot.
virtual bool IsShieldBuckler () const =0
 Shield-Buckler proficiency.
virtual bool IsShieldSmall () const =0
 Shield-Small proficiency.
virtual bool IsShieldMedium () const =0
 Shield-Medium proficiency.
virtual bool IsShieldBody () const =0
 Shield-Body proficiency.
virtual void IsShieldBuckler (bool v)=0
 Set Shield-Buckler proficiency.
virtual void IsShieldSmall (bool v)=0
 Set Shield-Small proficiency.
virtual void IsShieldMedium (bool v)=0
 Set Shield-Medium proficiency.
virtual void IsShieldBody (bool v)=0
 Set Shield-Body proficiency.
virtual bool IsCanPunch () const =0
 Unarmed combat: punching.
virtual bool IsCanWrestle () const =0
 Unarmed combat: wrestling.
virtual bool IsCanMartialArts () const =0
 Unarmed combat: martial arts.
virtual void IsCanPunch (bool v)=0
 Set punching ability.
virtual void IsCanWrestle (bool v)=0
 Set wrestling ability.
virtual void IsCanMartialArts (bool v)=0
 Set martial-arts ability.

Tab: Inventory

Nine fixed inventory bundles, indexed by InventorySlot.

Bundles returned by these accessors alias the record's owned bundles; do NOT delete them. Mutating them via IInventoryBundle's own API (AddItem / RemoveItem / Clear) marks this character record dirty through the composite walk.

enum  { kMaxInventorySlots = 9 }
 Maximum inventory bundle slot count. More...
enum  InventorySlot {
  Inventory_Animals = 0 , Inventory_DailyFoodLodging = 1 , Inventory_Carried = 2 , Inventory_Readied = 3 ,
  Inventory_Stored = 4 , Inventory_Worn = 5 , Inventory_Money = 6 , Inventory_Services = 7 ,
  Inventory_Transportation = 8
}
 Inventory bundle slot identifiers (match editor tree top-level labels). More...
virtual const IInventoryBundleGetInventory (InventorySlot slot) const =0
 Slot-indexed bundle accessor (const).
virtual IInventoryBundleGetInventory (InventorySlot slot)=0
 Slot-indexed bundle accessor (mutable).
virtual const IInventoryBundleGetInventoryAnimals () const =0
 Animals bundle (mounts, war animals, etc.).
virtual IInventoryBundleGetInventoryAnimals ()=0
 Animals bundle (mutable).
virtual const IInventoryBundleGetInventoryDailyFoodLodging () const =0
 Daily food / lodging tab.
virtual IInventoryBundleGetInventoryDailyFoodLodging ()=0
 Daily food / lodging tab (mutable).
virtual const IInventoryBundleGetInventoryCarried () const =0
 Carried items (the active inventory).
virtual IInventoryBundleGetInventoryCarried ()=0
 Carried items (mutable).
virtual const IInventoryBundleGetInventoryReadied () const =0
 Readied items (immediately accessible).
virtual IInventoryBundleGetInventoryReadied ()=0
 Readied items (mutable).
virtual const IInventoryBundleGetInventoryStored () const =0
 Stored items (not on the person).
virtual IInventoryBundleGetInventoryStored ()=0
 Stored items (mutable).
virtual const IInventoryBundleGetInventoryWorn () const =0
 Worn items (body armor, jewelry, etc.).
virtual IInventoryBundleGetInventoryWorn ()=0
 Worn items (mutable).
virtual const IInventoryBundleGetInventoryMoney () const =0
 Money (currencies stacked by denomination).
virtual IInventoryBundleGetInventoryMoney ()=0
 Money (mutable).
virtual const IInventoryBundleGetInventoryServices () const =0
 Services purchased / available.
virtual IInventoryBundleGetInventoryServices ()=0
 Services (mutable).
virtual const IInventoryBundleGetInventoryTransportation () const =0
 Transportation (wagons, mounts as transport, etc.).
virtual IInventoryBundleGetInventoryTransportation ()=0
 Transportation (mutable).

Tab: Spells

Known spells (spell book) + memorized spells per class/level

  • optional-rule flags.
enum  { kMaxSpellLevel = 11 }
 Memorized-spell slots-per-level depth. Valid level range: [0, kMaxSpellLevel). More...
virtual int GetKnownWizardSpellCount () const =0
 Number of wizard spells in the spell book.
virtual const char * GetKnownWizardSpell (int index) const =0
 Known wizard spell at index.
virtual bool AddKnownWizardSpell (const char *v)=0
 Append a wizard spell to the spell book.
virtual bool RemoveKnownWizardSpellAt (int index)=0
 Remove the wizard spell at index from the spell book.
virtual void ClearKnownWizardSpells ()=0
 Clear the wizard spell book.
virtual int GetKnownPriestSpellCount () const =0
 Number of priest spells granted (distinct from "memorized").
virtual const char * GetKnownPriestSpell (int index) const =0
 Known priest spell at index.
virtual bool AddKnownPriestSpell (const char *v)=0
 Append a known priest spell.
virtual bool RemoveKnownPriestSpellAt (int index)=0
 Remove known priest spell at index.
virtual void ClearKnownPriestSpells ()=0
 Clear known priest spells.
virtual int GetMemorizedWizardSpellCount (int slot, int level) const =0
 Number of memorized wizard spells in (slot, level) cell.
virtual const char * GetMemorizedWizardSpell (int slot, int level, int index) const =0
 Memorized wizard spell at (slot, level, index).
virtual bool AddMemorizedWizardSpell (int slot, int level, const char *v)=0
 Append a memorized wizard spell to (slot, level).
virtual bool RemoveMemorizedWizardSpellAt (int slot, int level, int index)=0
 Remove memorized wizard spell at (slot, level, index).
virtual void ClearMemorizedWizardSpells (int slot, int level)=0
 Clear all memorized wizard spells in (slot, level).
virtual int GetMemorizedPriestSpellCount (int slot, int level) const =0
 Number of memorized priest spells in (slot, level) cell.
virtual const char * GetMemorizedPriestSpell (int slot, int level, int index) const =0
 Memorized priest spell at (slot, level, index).
virtual bool AddMemorizedPriestSpell (int slot, int level, const char *v)=0
 Append a memorized priest spell to (slot, level).
virtual bool RemoveMemorizedPriestSpellAt (int slot, int level, int index)=0
 Remove memorized priest spell at (slot, level, index).
virtual void ClearMemorizedPriestSpells (int slot, int level)=0
 Clear all memorized priest spells in (slot, level).
virtual bool IsUseSpellPoints () const =0
 Optional rule: use Spell Points (S&P alternative magic).
virtual void IsUseSpellPoints (bool v)=0
 Set the Spell Points opt-in flag.
virtual bool IsUseHighIntBonus () const =0
 Optional rule: use high-Intelligence wizard bonus spells.
virtual void IsUseHighIntBonus (bool v)=0
 Set the high-Int wizard-bonus opt-in flag.

Detailed Description

Heavy per-character record (one row backing a Chars/*.dat file).

Acquired via ICharacterMiniOb::GetRecord(). Owned by the MiniOb; do not delete.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Memorized-spell slots-per-level depth. Valid level range: [0, kMaxSpellLevel).

Enumerator
kMaxSpellLevel 

◆ anonymous enum

anonymous enum

Maximum number of multi-class slots. Valid slot indices are [0, kMaxClasses).

Enumerator
kMaxClasses 

◆ anonymous enum

anonymous enum

Maximum inventory bundle slot count.

Enumerator
kMaxInventorySlots 

◆ anonymous enum

anonymous enum

Maximum character level the HP-per-level array supports.

Enumerator
kMaxLevel 

◆ anonymous enum

anonymous enum

Number of S&P fighting-style slots (9 fixed slots).

Screenshot labels: One-Handed Weapon / Weapon and Shield / Two-Handed Weapon / Two Weapon / Missile / Horse Archer / Thrown Weapon-Sling / Two Weapon (+2) / One-Handed (+2).

Enumerator
kFightingStyleSlots 

◆ AbilitySlot

AbilitySlot in AD&D canonical order (Str/Dex/Con/Int/Wis/Cha).

Enumerator
Ability_Strength 
Ability_Dexterity 
Ability_Constitution 
Ability_Intelligence 
Ability_Wisdom 
Ability_Charisma 

◆ InventorySlot

Inventory bundle slot identifiers (match editor tree top-level labels).

Enumerator
Inventory_Animals 

"Animals"

Inventory_DailyFoodLodging 

"Daily Food/Lodging"

Inventory_Carried 

"Carried"

Inventory_Readied 

"Readied"

Inventory_Stored 

"In storage"

Inventory_Worn 

"Item Worn"

Inventory_Money 

"Money"

Inventory_Services 

"Services"

Inventory_Transportation 

"Transportation"

◆ PlayerType

Player-type discriminator (Type field on the General tab).

Enumerator
Player_CoreRules 

AD&D 2e Core Rules.

Player_SkillsAndPowers 

Player's Option: Skills & Powers.

Player_CoreRulesV3 

Core Rules v3 (later supplement).

Constructor & Destructor Documentation

◆ ~ICharacterRecord()

virtual CoreRules::ICharacterRecord::~ICharacterRecord ( )
virtualdefault

Member Function Documentation

◆ AddAdventure()

virtual void CoreRules::ICharacterRecord::AddAdventure ( ICharacter_Adventure * a)
pure virtual

Append a new adventure. Takes ownership of a.

◆ AddArmorProficiency()

virtual bool CoreRules::ICharacterRecord::AddArmorProficiency ( const char * v)
pure virtual

Append an armor proficiency.

◆ AddArmorWorn()

virtual bool CoreRules::ICharacterRecord::AddArmorWorn ( const char * v)
pure virtual

Append a worn armor item.

◆ AddBroadGroupProficiency()

virtual bool CoreRules::ICharacterRecord::AddBroadGroupProficiency ( const char * v)
pure virtual

Append a broad-group proficiency.

◆ AddDisadvantage()

virtual bool CoreRules::ICharacterRecord::AddDisadvantage ( const char * v)
pure virtual

Append a disadvantage to the General-tab Disadvantages pane.

◆ AddKnownPriestSpell()

virtual bool CoreRules::ICharacterRecord::AddKnownPriestSpell ( const char * v)
pure virtual

Append a known priest spell.

◆ AddKnownWizardSpell()

virtual bool CoreRules::ICharacterRecord::AddKnownWizardSpell ( const char * v)
pure virtual

Append a wizard spell to the spell book.

◆ AddLanguage()

virtual bool CoreRules::ICharacterRecord::AddLanguage ( const char * v)
pure virtual

Append a language.

◆ AddMemorizedPriestSpell()

virtual bool CoreRules::ICharacterRecord::AddMemorizedPriestSpell ( int slot,
int level,
const char * v )
pure virtual

Append a memorized priest spell to (slot, level).

◆ AddMemorizedWizardSpell()

virtual bool CoreRules::ICharacterRecord::AddMemorizedWizardSpell ( int slot,
int level,
const char * v )
pure virtual

Append a memorized wizard spell to (slot, level).

◆ AddNonWeaponProf()

virtual bool CoreRules::ICharacterRecord::AddNonWeaponProf ( const char * v)
pure virtual

Append a non-weapon proficiency.

◆ AddNonWeaponProfScore()

virtual bool CoreRules::ICharacterRecord::AddNonWeaponProfScore ( long v)
pure virtual

Append an NWP score.

◆ AddRacialAbility()

virtual bool CoreRules::ICharacterRecord::AddRacialAbility ( const char * v)
pure virtual

Append a racial ability.

Returns
false on null input.

◆ AddSecondaryNonWeaponProfScore()

virtual bool CoreRules::ICharacterRecord::AddSecondaryNonWeaponProfScore ( long v)
pure virtual

Append a secondary NWP score.

◆ AddSecondarySkill()

virtual bool CoreRules::ICharacterRecord::AddSecondarySkill ( const char * v)
pure virtual

Append a secondary skill.

◆ AddSpecialization()

virtual bool CoreRules::ICharacterRecord::AddSpecialization ( const char * v)
pure virtual

Append a specialization.

◆ AddTightGroupProficiency()

virtual bool CoreRules::ICharacterRecord::AddTightGroupProficiency ( const char * v)
pure virtual

Append a tight-group proficiency.

◆ AddTrait()

virtual bool CoreRules::ICharacterRecord::AddTrait ( const char * v)
pure virtual

Append a trait to the General-tab Traits pane.

◆ AddWeaponProficiency()

virtual bool CoreRules::ICharacterRecord::AddWeaponProficiency ( const char * v)
pure virtual

Append a weapon proficiency.

◆ ClearAdventures()

virtual void CoreRules::ICharacterRecord::ClearAdventures ( )
pure virtual

Remove and delete every adventure.

◆ ClearArmorProficiency()

virtual void CoreRules::ICharacterRecord::ClearArmorProficiency ( )
pure virtual

Clear all.

◆ ClearArmorWorn()

virtual void CoreRules::ICharacterRecord::ClearArmorWorn ( )
pure virtual

Clear all worn armor.

◆ ClearBroadGroupProficiency()

virtual void CoreRules::ICharacterRecord::ClearBroadGroupProficiency ( )
pure virtual

Clear all.

◆ ClearDisadvantages()

virtual void CoreRules::ICharacterRecord::ClearDisadvantages ( )
pure virtual

Clear all disadvantages.

◆ ClearExtensionBinding()

virtual void CoreRules::ICharacterRecord::ClearExtensionBinding ( )
pure virtual

Zero the extension binding id and mark the record dirty.

◆ ClearKnownPriestSpells()

virtual void CoreRules::ICharacterRecord::ClearKnownPriestSpells ( )
pure virtual

Clear known priest spells.

◆ ClearKnownWizardSpells()

virtual void CoreRules::ICharacterRecord::ClearKnownWizardSpells ( )
pure virtual

Clear the wizard spell book.

◆ ClearLanguages()

virtual void CoreRules::ICharacterRecord::ClearLanguages ( )
pure virtual

Clear all languages.

◆ ClearMemorizedPriestSpells()

virtual void CoreRules::ICharacterRecord::ClearMemorizedPriestSpells ( int slot,
int level )
pure virtual

Clear all memorized priest spells in (slot, level).

◆ ClearMemorizedWizardSpells()

virtual void CoreRules::ICharacterRecord::ClearMemorizedWizardSpells ( int slot,
int level )
pure virtual

Clear all memorized wizard spells in (slot, level).

◆ ClearNonWeaponProfs()

virtual void CoreRules::ICharacterRecord::ClearNonWeaponProfs ( )
pure virtual

Clear all.

◆ ClearNonWeaponProfScores()

virtual void CoreRules::ICharacterRecord::ClearNonWeaponProfScores ( )
pure virtual

Clear all NWP scores.

◆ ClearRacialAbilities()

virtual void CoreRules::ICharacterRecord::ClearRacialAbilities ( )
pure virtual

Remove every racial ability.

◆ ClearSecondaryNonWeaponProfScores()

virtual void CoreRules::ICharacterRecord::ClearSecondaryNonWeaponProfScores ( )
pure virtual

Clear all secondary NWP scores.

◆ ClearSecondarySkills()

virtual void CoreRules::ICharacterRecord::ClearSecondarySkills ( )
pure virtual

Clear all.

◆ ClearSpecializations()

virtual void CoreRules::ICharacterRecord::ClearSpecializations ( )
pure virtual

Clear all.

◆ ClearTightGroupProficiency()

virtual void CoreRules::ICharacterRecord::ClearTightGroupProficiency ( )
pure virtual

Clear all.

◆ ClearTraits()

virtual void CoreRules::ICharacterRecord::ClearTraits ( )
pure virtual

Clear all traits.

◆ ClearWeaponProficiency()

virtual void CoreRules::ICharacterRecord::ClearWeaponProficiency ( )
pure virtual

Remove every weapon proficiency.

◆ GetAbility()

virtual long CoreRules::ICharacterRecord::GetAbility ( AbilitySlot slot) const
pure virtual

Slot-indexed ability getter (convenience for iteration).

◆ GetAdventure()

virtual ICharacter_Adventure * CoreRules::ICharacterRecord::GetAdventure ( int index)
pure virtual

Adventure at the given index (owned; do not delete).

Returns
nullptr if index is out of range.

◆ GetAdventureCount()

virtual int CoreRules::ICharacterRecord::GetAdventureCount ( ) const
pure virtual

Number of adventures in the log.

◆ GetAge()

virtual long CoreRules::ICharacterRecord::GetAge ( ) const
pure virtual

Age in years (>= 0).

◆ GetAim()

virtual long CoreRules::ICharacterRecord::GetAim ( ) const
pure virtual

S&P Aim sub-ability (split of Dexterity).

◆ GetAlignment()

virtual const char * CoreRules::ICharacterRecord::GetAlignment ( ) const
pure virtual

Alignment (e.g. "Lawful Good", "Chaotic Neutral").

◆ GetAppearance()

virtual long CoreRules::ICharacterRecord::GetAppearance ( ) const
pure virtual

S&P Appearance sub-ability (split of Charisma).

◆ GetArmorProficiency()

virtual const char * CoreRules::ICharacterRecord::GetArmorProficiency ( int index) const
pure virtual

Armor proficiency at index.

◆ GetArmorProficiencyCount()

virtual int CoreRules::ICharacterRecord::GetArmorProficiencyCount ( ) const
pure virtual

Number of armor proficiencies (e.g. "Light Armor").

◆ GetArmorWorn()

virtual const char * CoreRules::ICharacterRecord::GetArmorWorn ( int index) const
pure virtual

Worn armor item at index.

◆ GetArmorWornCount()

virtual int CoreRules::ICharacterRecord::GetArmorWornCount ( ) const
pure virtual

Number of armor pieces currently worn (body armor + shield + etc.).

◆ GetBalance()

virtual long CoreRules::ICharacterRecord::GetBalance ( ) const
pure virtual

S&P Balance sub-ability (split of Dexterity).

◆ GetBroadGroupProficiency()

virtual const char * CoreRules::ICharacterRecord::GetBroadGroupProficiency ( int index) const
pure virtual

Broad-group proficiency at index.

◆ GetBroadGroupProficiencyCount()

virtual int CoreRules::ICharacterRecord::GetBroadGroupProficiencyCount ( ) const
pure virtual

Number of broad weapon-group proficiencies (e.g. "Blades", "Bows").

◆ GetCharacterName()

virtual const char * CoreRules::ICharacterRecord::GetCharacterName ( ) const
pure virtual

Character's name (unique across Character_Index).

◆ GetCharisma()

virtual long CoreRules::ICharacterRecord::GetCharisma ( ) const
pure virtual

Charisma (1..25).

◆ GetCharismaAttrs()

virtual Char_Charisma_Attr CoreRules::ICharacterRecord::GetCharismaAttrs ( ) const
pure virtual

Derived Charisma stats (CR: off Charisma; S&P: Leadership + Appearance).

By value.

◆ GetClassDisplay()

virtual const char * CoreRules::ICharacterRecord::GetClassDisplay ( ) const
pure virtual

Composed class display ("Fighter/Magic-User/Thief").

◆ GetClassKit()

virtual const char * CoreRules::ICharacterRecord::GetClassKit ( ) const
pure virtual

Character kit name (e.g. "Swashbuckler"; empty if none).

◆ GetComplexion()

virtual const char * CoreRules::ICharacterRecord::GetComplexion ( ) const
pure virtual

Complexion (free-form text).

◆ GetConstitution()

virtual long CoreRules::ICharacterRecord::GetConstitution ( ) const
pure virtual

Constitution (1..25).

◆ GetConstitutionAttrs()

virtual Char_Constitution_Attr CoreRules::ICharacterRecord::GetConstitutionAttrs ( ) const
pure virtual

Derived Constitution stats (CR: off Constitution; S&P: Health + Fitness; regeneration is CR-only).

By value.

◆ GetCoreRulesVersion()

virtual const char * CoreRules::ICharacterRecord::GetCoreRulesVersion ( ) const
pure virtual

Free-form version string (carried across saves).

◆ GetCurrentHitPoints()

virtual long CoreRules::ICharacterRecord::GetCurrentHitPoints ( ) const
pure virtual

Current hit points (signed; <= -10 means dead).

◆ GetDateOfBirth() [1/2]

virtual const IDateOb * CoreRules::ICharacterRecord::GetDateOfBirth ( ) const
pure virtual

Date of birth (read-only view). Owned by the record; do not delete.

◆ GetDateOfBirth() [2/2]

virtual IDateOb * CoreRules::ICharacterRecord::GetDateOfBirth ( )
pure virtual

Date of birth (mutable view). Owned by the record; do not delete.

◆ GetDexterity()

virtual long CoreRules::ICharacterRecord::GetDexterity ( ) const
pure virtual

Dexterity (1..25).

◆ GetDexterityAttrs()

virtual Char_Dexterity_Attr CoreRules::ICharacterRecord::GetDexterityAttrs ( ) const
pure virtual

Derived Dexterity stats for THIS character (CR: off Dexterity; S&P: Aim + Balance).

By value.

◆ GetDisadvantage()

virtual const char * CoreRules::ICharacterRecord::GetDisadvantage ( int index) const
pure virtual

Disadvantage at the given index ("" if out of range).

◆ GetDisadvantageCount()

virtual int CoreRules::ICharacterRecord::GetDisadvantageCount ( ) const
pure virtual

Number of disadvantages the character has.

◆ GetExperiencePoints()

virtual long CoreRules::ICharacterRecord::GetExperiencePoints ( int slot) const
pure virtual

Experience points in the given class slot.

◆ GetExpertise()

virtual const char * CoreRules::ICharacterRecord::GetExpertise ( ) const
pure virtual

"Expertise" mastery field.

◆ GetExtensionId()

virtual long CoreRules::ICharacterRecord::GetExtensionId ( ) const
pure virtual

The extension binding id (0 if none). Does not trigger a load.

◆ GetEyeColor()

virtual const char * CoreRules::ICharacterRecord::GetEyeColor ( ) const
pure virtual

Eye color (free-form text).

◆ GetFamilyId()

virtual long CoreRules::ICharacterRecord::GetFamilyId ( ) const
pure virtual

Linked family record id; 0 = no family link.

◆ GetFightingStyle()

virtual long CoreRules::ICharacterRecord::GetFightingStyle ( int slot) const
pure virtual

Fighting-style value at slot. Per S&P style table.

◆ GetFitness()

virtual long CoreRules::ICharacterRecord::GetFitness ( ) const
pure virtual

S&P Fitness sub-ability (split of Constitution).

◆ GetFreeNWPByKit()

virtual const char * CoreRules::ICharacterRecord::GetFreeNWPByKit ( ) const
pure virtual

Free NWP grants from the character's kit (single concatenated string).

◆ GetGender()

virtual long CoreRules::ICharacterRecord::GetGender ( ) const
pure virtual

Gender: 0 = Female, non-zero = Male (storage is long; carries non-binary values verbatim where present).

◆ GetGrandMasteryWeapon()

virtual const char * CoreRules::ICharacterRecord::GetGrandMasteryWeapon ( ) const
pure virtual

"Grand Mastery" weapon name.

◆ GetHairColor()

virtual const char * CoreRules::ICharacterRecord::GetHairColor ( ) const
pure virtual

Hair color (free-form text).

◆ GetHealth()

virtual long CoreRules::ICharacterRecord::GetHealth ( ) const
pure virtual

S&P Health sub-ability (split of Constitution).

◆ GetHeight()

virtual long CoreRules::ICharacterRecord::GetHeight ( ) const
pure virtual

Height in inches (>= 0).

◆ GetHighMasteryWeapon()

virtual const char * CoreRules::ICharacterRecord::GetHighMasteryWeapon ( ) const
pure virtual

"High Mastery" weapon name.

◆ GetHistory()

virtual const char * CoreRules::ICharacterRecord::GetHistory ( ) const
pure virtual

History prose field.

◆ GetHPForLevel()

virtual long CoreRules::ICharacterRecord::GetHPForLevel ( int slot,
int level ) const
pure virtual

Per-character-level HP rolled for the given class slot.

Parameters
slotClass slot in [0, kMaxClasses).
levelCharacter level in [1, kMaxLevel); level 0 is sentinel.

◆ GetIntelligence()

virtual long CoreRules::ICharacterRecord::GetIntelligence ( ) const
pure virtual

Intelligence (1..25).

◆ GetIntelligenceAttrs()

virtual Char_Intelligence_Attr CoreRules::ICharacterRecord::GetIntelligenceAttrs ( ) const
pure virtual

Derived Intelligence stats (CR: off Intelligence; S&P: Reason + Knowledge).

By value.

◆ GetIntuition()

virtual long CoreRules::ICharacterRecord::GetIntuition ( ) const
pure virtual

S&P Intuition sub-ability (split of Wisdom).

◆ GetInventory() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventory ( InventorySlot slot) const
pure virtual

Slot-indexed bundle accessor (const).

Returns
nullptr on out-of-range slot.

◆ GetInventory() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventory ( InventorySlot slot)
pure virtual

Slot-indexed bundle accessor (mutable).

Returns
nullptr on out-of-range slot.

◆ GetInventoryAnimals() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryAnimals ( ) const
pure virtual

Animals bundle (mounts, war animals, etc.).

◆ GetInventoryAnimals() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryAnimals ( )
pure virtual

Animals bundle (mutable).

◆ GetInventoryCarried() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryCarried ( ) const
pure virtual

Carried items (the active inventory).

◆ GetInventoryCarried() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryCarried ( )
pure virtual

Carried items (mutable).

◆ GetInventoryDailyFoodLodging() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryDailyFoodLodging ( ) const
pure virtual

Daily food / lodging tab.

◆ GetInventoryDailyFoodLodging() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryDailyFoodLodging ( )
pure virtual

Daily food / lodging tab (mutable).

◆ GetInventoryMoney() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryMoney ( ) const
pure virtual

Money (currencies stacked by denomination).

◆ GetInventoryMoney() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryMoney ( )
pure virtual

Money (mutable).

◆ GetInventoryReadied() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryReadied ( ) const
pure virtual

Readied items (immediately accessible).

◆ GetInventoryReadied() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryReadied ( )
pure virtual

Readied items (mutable).

◆ GetInventoryServices() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryServices ( ) const
pure virtual

Services purchased / available.

◆ GetInventoryServices() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryServices ( )
pure virtual

Services (mutable).

◆ GetInventoryStored() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryStored ( ) const
pure virtual

Stored items (not on the person).

◆ GetInventoryStored() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryStored ( )
pure virtual

Stored items (mutable).

◆ GetInventoryTransportation() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryTransportation ( ) const
pure virtual

Transportation (wagons, mounts as transport, etc.).

◆ GetInventoryTransportation() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryTransportation ( )
pure virtual

Transportation (mutable).

◆ GetInventoryWorn() [1/2]

virtual const IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryWorn ( ) const
pure virtual

Worn items (body armor, jewelry, etc.).

◆ GetInventoryWorn() [2/2]

virtual IInventoryBundle * CoreRules::ICharacterRecord::GetInventoryWorn ( )
pure virtual

Worn items (mutable).

◆ GetKnowledge()

virtual long CoreRules::ICharacterRecord::GetKnowledge ( ) const
pure virtual

S&P Knowledge sub-ability (split of Intelligence).

◆ GetKnownPriestSpell()

virtual const char * CoreRules::ICharacterRecord::GetKnownPriestSpell ( int index) const
pure virtual

Known priest spell at index.

◆ GetKnownPriestSpellCount()

virtual int CoreRules::ICharacterRecord::GetKnownPriestSpellCount ( ) const
pure virtual

Number of priest spells granted (distinct from "memorized").

◆ GetKnownWizardSpell()

virtual const char * CoreRules::ICharacterRecord::GetKnownWizardSpell ( int index) const
pure virtual

Known wizard spell at index.

◆ GetKnownWizardSpellCount()

virtual int CoreRules::ICharacterRecord::GetKnownWizardSpellCount ( ) const
pure virtual

Number of wizard spells in the spell book.

◆ GetLanguage()

virtual const char * CoreRules::ICharacterRecord::GetLanguage ( int index) const
pure virtual

Language at index.

◆ GetLanguageCount()

virtual int CoreRules::ICharacterRecord::GetLanguageCount ( ) const
pure virtual

Number of languages the character knows.

◆ GetLeadership()

virtual long CoreRules::ICharacterRecord::GetLeadership ( ) const
pure virtual

S&P Leadership sub-ability (split of Charisma).

◆ GetMajorLifeEvent()

virtual const char * CoreRules::ICharacterRecord::GetMajorLifeEvent ( ) const
pure virtual

Major Life Event prose field.

◆ GetMemorizedPriestSpell()

virtual const char * CoreRules::ICharacterRecord::GetMemorizedPriestSpell ( int slot,
int level,
int index ) const
pure virtual

Memorized priest spell at (slot, level, index).

◆ GetMemorizedPriestSpellCount()

virtual int CoreRules::ICharacterRecord::GetMemorizedPriestSpellCount ( int slot,
int level ) const
pure virtual

Number of memorized priest spells in (slot, level) cell.

◆ GetMemorizedWizardSpell()

virtual const char * CoreRules::ICharacterRecord::GetMemorizedWizardSpell ( int slot,
int level,
int index ) const
pure virtual

Memorized wizard spell at (slot, level, index).

◆ GetMemorizedWizardSpellCount()

virtual int CoreRules::ICharacterRecord::GetMemorizedWizardSpellCount ( int slot,
int level ) const
pure virtual

Number of memorized wizard spells in (slot, level) cell.

Parameters
slotClass slot in [0, kMaxClasses).
levelSpell level in [0, kMaxSpellLevel).

◆ GetMissileFocusFromKit()

virtual const char * CoreRules::ICharacterRecord::GetMissileFocusFromKit ( ) const
pure virtual

Missile-weapon focus granted by the character's kit.

◆ GetMuscle()

virtual long CoreRules::ICharacterRecord::GetMuscle ( ) const
pure virtual

S&P Muscle sub-ability.

◆ GetNonWeaponProf()

virtual const char * CoreRules::ICharacterRecord::GetNonWeaponProf ( int index) const
pure virtual

NWP at index.

◆ GetNonWeaponProfCount()

virtual int CoreRules::ICharacterRecord::GetNonWeaponProfCount ( ) const
pure virtual

Number of non-weapon proficiencies.

Single flat list – the impl tracks per-class internally but the editor display is flat.

◆ GetNonWeaponProfScore()

virtual long CoreRules::ICharacterRecord::GetNonWeaponProfScore ( int index) const
pure virtual

NWP score at index.

◆ GetNonWeaponProfScoreCount()

virtual int CoreRules::ICharacterRecord::GetNonWeaponProfScoreCount ( ) const
pure virtual

Number of NWP score entries (parallel to GetNonWeaponProf).

◆ GetNumberOfClasses()

virtual long CoreRules::ICharacterRecord::GetNumberOfClasses ( ) const
pure virtual

Active class count (1..3 typical; 0..kMaxClasses).

◆ GetParty()

virtual const char * CoreRules::ICharacterRecord::GetParty ( ) const
pure virtual

Party name this character belongs to (empty = free agent).

◆ GetPlaceOfBirth()

virtual const char * CoreRules::ICharacterRecord::GetPlaceOfBirth ( ) const
pure virtual

Place of birth (free-form text).

◆ GetPlayerName()

virtual const char * CoreRules::ICharacterRecord::GetPlayerName ( ) const
pure virtual

Player name (the real-life person who runs this character).

◆ GetPlayerType()

virtual PlayerType CoreRules::ICharacterRecord::GetPlayerType ( ) const
pure virtual

Core Rules vs Skills & Powers vs Core Rules v3.

◆ GetPortraitDir()

virtual const char * CoreRules::ICharacterRecord::GetPortraitDir ( ) const
pure virtual

Directory holding the portrait image file.

◆ GetPortraitFilename()

virtual const char * CoreRules::ICharacterRecord::GetPortraitFilename ( ) const
pure virtual

Portrait image filename (within GetPortraitDir()).

◆ GetRace()

virtual const char * CoreRules::ICharacterRecord::GetRace ( ) const
pure virtual

Race name (e.g. "Half-elf").

◆ GetRacialAbility()

virtual const char * CoreRules::ICharacterRecord::GetRacialAbility ( int index) const
pure virtual

Racial ability at the given index.

◆ GetRacialAbilityCount()

virtual int CoreRules::ICharacterRecord::GetRacialAbilityCount ( ) const
pure virtual

Number of racial abilities the character has.

◆ GetReason()

virtual long CoreRules::ICharacterRecord::GetReason ( ) const
pure virtual

S&P Reason sub-ability (split of Intelligence).

◆ GetSecondaryNonWeaponProfScore()

virtual long CoreRules::ICharacterRecord::GetSecondaryNonWeaponProfScore ( int index) const
pure virtual

Secondary NWP score at index.

◆ GetSecondaryNonWeaponProfScoreCount()

virtual int CoreRules::ICharacterRecord::GetSecondaryNonWeaponProfScoreCount ( ) const
pure virtual

Number of secondary NWP scores (S&P – 2nd score column).

◆ GetSecondarySkill()

virtual const char * CoreRules::ICharacterRecord::GetSecondarySkill ( int index) const
pure virtual

Secondary skill at index.

◆ GetSecondarySkillCount()

virtual int CoreRules::ICharacterRecord::GetSecondarySkillCount ( ) const
pure virtual

Number of secondary skills (career background – forester, carpenter, etc.).

◆ GetSlotClassName()

virtual const char * CoreRules::ICharacterRecord::GetSlotClassName ( int slot) const
pure virtual

Class name at the given slot ("" if out of range).

◆ GetSocialStanding()

virtual const char * CoreRules::ICharacterRecord::GetSocialStanding ( ) const
pure virtual

Social Standing prose field.

◆ GetSpecialization()

virtual const char * CoreRules::ICharacterRecord::GetSpecialization ( int index) const
pure virtual

Specialization at index.

◆ GetSpecializationCount()

virtual int CoreRules::ICharacterRecord::GetSpecializationCount ( ) const
pure virtual

Number of weapon specializations (above-proficiency expertise).

◆ GetSpellImmunity()

virtual const char * CoreRules::ICharacterRecord::GetSpellImmunity ( int index) const
pure virtual

The i-th immune spell's name (0-based, 0..GetSpellImmunityCount()-1).

Returns nullptr when the index is out of range.

◆ GetSpellImmunityCount()

virtual int CoreRules::ICharacterRecord::GetSpellImmunityCount ( ) const
pure virtual

Number of spells this character is immune to via a high Wisdom (from GetWisdomAttrs().spell_immunity, 0..7).

Cumulative: a level of N grants immunity to the spells of levels 1..N. 0 if none.

◆ GetStamina()

virtual long CoreRules::ICharacterRecord::GetStamina ( ) const
pure virtual

S&P Stamina sub-ability.

◆ GetStrength()

virtual long CoreRules::ICharacterRecord::GetStrength ( ) const
pure virtual

Strength (1..25).

◆ GetStrengthAttrs()

virtual Char_Strength_Attr CoreRules::ICharacterRecord::GetStrengthAttrs ( ) const
pure virtual

Derived Strength stats for THIS character (the recovered GetStrengthAttrs from the original CoreRules.dll).

Core Rules: every field indexes off Strength. Skills & Powers: Weight Allowance indexes off Stamina, all other fields off Muscle. Returned by value – an immutable snapshot of the table row.

◆ GetStrengthModifier()

virtual long CoreRules::ICharacterRecord::GetStrengthModifier ( ) const
pure virtual

S&P Strength Modifier (0..100; the 18/xx percentile).

◆ GetSubRace()

virtual const char * CoreRules::ICharacterRecord::GetSubRace ( ) const
pure virtual

Sub-race / lineage name (e.g. "Standard half-elf").

◆ GetTightGroupProficiency()

virtual const char * CoreRules::ICharacterRecord::GetTightGroupProficiency ( int index) const
pure virtual

Tight-group proficiency at index.

◆ GetTightGroupProficiencyCount()

virtual int CoreRules::ICharacterRecord::GetTightGroupProficiencyCount ( ) const
pure virtual

Number of tight weapon-group proficiencies (e.g. "Long Blades").

◆ GetTrait()

virtual const char * CoreRules::ICharacterRecord::GetTrait ( int index) const
pure virtual

Trait at the given index ("" if out of range).

◆ GetTraitCount()

virtual int CoreRules::ICharacterRecord::GetTraitCount ( ) const
pure virtual

Number of traits the character has.

◆ GetWeaponFromRacialFocus()

virtual const char * CoreRules::ICharacterRecord::GetWeaponFromRacialFocus ( ) const
pure virtual

Weapon granted by the character's racial focus.

◆ GetWeaponMastery()

virtual const char * CoreRules::ICharacterRecord::GetWeaponMastery ( ) const
pure virtual

"Weapon Mastery" field.

◆ GetWeaponOfChoice()

virtual const char * CoreRules::ICharacterRecord::GetWeaponOfChoice ( ) const
pure virtual

"Weapon of Choice" mastery field (empty if unset).

◆ GetWeaponProficiency()

virtual const char * CoreRules::ICharacterRecord::GetWeaponProficiency ( int index) const
pure virtual

Specific-weapon proficiency at the given index.

◆ GetWeaponProficiencyCount()

virtual int CoreRules::ICharacterRecord::GetWeaponProficiencyCount ( ) const
pure virtual

Number of specific-weapon proficiencies (e.g. "Sword, long").

◆ GetWeight()

virtual long CoreRules::ICharacterRecord::GetWeight ( ) const
pure virtual

Weight in pounds (>= 0).

◆ GetWillpower()

virtual long CoreRules::ICharacterRecord::GetWillpower ( ) const
pure virtual

S&P Willpower sub-ability (split of Wisdom).

◆ GetWisdom()

virtual long CoreRules::ICharacterRecord::GetWisdom ( ) const
pure virtual

Wisdom (1..25).

◆ GetWisdomAttrs()

virtual Char_Wisdom_Attr CoreRules::ICharacterRecord::GetWisdomAttrs ( ) const
pure virtual

Derived Wisdom stats (CR: off Wisdom; S&P: Intuition + Willpower).

By value.

◆ HasFamilyRecord()

virtual bool CoreRules::ICharacterRecord::HasFamilyRecord ( ) const
pure virtual

true if GetFamilyId() is non-zero AND the family record exists.

◆ IsCanMartialArts() [1/2]

virtual bool CoreRules::ICharacterRecord::IsCanMartialArts ( ) const
pure virtual

Unarmed combat: martial arts.

◆ IsCanMartialArts() [2/2]

virtual void CoreRules::ICharacterRecord::IsCanMartialArts ( bool v)
pure virtual

Set martial-arts ability.

◆ IsCanPunch() [1/2]

virtual bool CoreRules::ICharacterRecord::IsCanPunch ( ) const
pure virtual

Unarmed combat: punching.

◆ IsCanPunch() [2/2]

virtual void CoreRules::ICharacterRecord::IsCanPunch ( bool v)
pure virtual

Set punching ability.

◆ IsCanWrestle() [1/2]

virtual bool CoreRules::ICharacterRecord::IsCanWrestle ( ) const
pure virtual

Unarmed combat: wrestling.

◆ IsCanWrestle() [2/2]

virtual void CoreRules::ICharacterRecord::IsCanWrestle ( bool v)
pure virtual

Set wrestling ability.

◆ IsDirty()

virtual bool CoreRules::ICharacterRecord::IsDirty ( ) const
pure virtual

true if any field on this record (own state, the internal extension, adventures, or any of the nine inventory bundles) has been mutated since the last MarkClean() or successful save.

◆ IsFemale()

virtual bool CoreRules::ICharacterRecord::IsFemale ( ) const
pure virtual

Convenience predicate (GetGender() == 0).

◆ IsLeftHanded() [1/2]

virtual bool CoreRules::ICharacterRecord::IsLeftHanded ( ) const
pure virtual

true if the character is left-handed.

◆ IsLeftHanded() [2/2]

virtual void CoreRules::ICharacterRecord::IsLeftHanded ( bool v)
pure virtual

Set handedness via the left-handed predicate.

◆ IsMale()

virtual bool CoreRules::ICharacterRecord::IsMale ( ) const
pure virtual

Convenience predicate (GetGender() != 0).

◆ IsNPC() [1/2]

virtual bool CoreRules::ICharacterRecord::IsNPC ( ) const
pure virtual

true if this is an NPC roster entry (DM-side).

◆ IsNPC() [2/2]

virtual void CoreRules::ICharacterRecord::IsNPC ( bool v)
pure virtual

Set the NPC flag. Refreshes the MiniOb's cached NPC state.

◆ IsRightHanded() [1/2]

virtual bool CoreRules::ICharacterRecord::IsRightHanded ( ) const
pure virtual

true if the character is right-handed (predicate-setter style).

◆ IsRightHanded() [2/2]

virtual void CoreRules::ICharacterRecord::IsRightHanded ( bool v)
pure virtual

Set handedness via the right-handed predicate.

◆ IsShieldBody() [1/2]

virtual bool CoreRules::ICharacterRecord::IsShieldBody ( ) const
pure virtual

Shield-Body proficiency.

◆ IsShieldBody() [2/2]

virtual void CoreRules::ICharacterRecord::IsShieldBody ( bool v)
pure virtual

Set Shield-Body proficiency.

◆ IsShieldBuckler() [1/2]

virtual bool CoreRules::ICharacterRecord::IsShieldBuckler ( ) const
pure virtual

Shield-Buckler proficiency.

◆ IsShieldBuckler() [2/2]

virtual void CoreRules::ICharacterRecord::IsShieldBuckler ( bool v)
pure virtual

Set Shield-Buckler proficiency.

◆ IsShieldMedium() [1/2]

virtual bool CoreRules::ICharacterRecord::IsShieldMedium ( ) const
pure virtual

Shield-Medium proficiency.

◆ IsShieldMedium() [2/2]

virtual void CoreRules::ICharacterRecord::IsShieldMedium ( bool v)
pure virtual

Set Shield-Medium proficiency.

◆ IsShieldSmall() [1/2]

virtual bool CoreRules::ICharacterRecord::IsShieldSmall ( ) const
pure virtual

Shield-Small proficiency.

◆ IsShieldSmall() [2/2]

virtual void CoreRules::ICharacterRecord::IsShieldSmall ( bool v)
pure virtual

Set Shield-Small proficiency.

◆ IsUseHighIntBonus() [1/2]

virtual bool CoreRules::ICharacterRecord::IsUseHighIntBonus ( ) const
pure virtual

Optional rule: use high-Intelligence wizard bonus spells.

◆ IsUseHighIntBonus() [2/2]

virtual void CoreRules::ICharacterRecord::IsUseHighIntBonus ( bool v)
pure virtual

Set the high-Int wizard-bonus opt-in flag.

◆ IsUseSpellPoints() [1/2]

virtual bool CoreRules::ICharacterRecord::IsUseSpellPoints ( ) const
pure virtual

Optional rule: use Spell Points (S&P alternative magic).

◆ IsUseSpellPoints() [2/2]

virtual void CoreRules::ICharacterRecord::IsUseSpellPoints ( bool v)
pure virtual

Set the Spell Points opt-in flag.

◆ MarkClean()

virtual void CoreRules::ICharacterRecord::MarkClean ( )
pure virtual

Recursively clear the dirty flag on self + extension + bundles.

◆ OutOfPlay() [1/2]

virtual bool CoreRules::ICharacterRecord::OutOfPlay ( ) const
pure virtual

true if the character is no longer in play.

◆ OutOfPlay() [2/2]

virtual void CoreRules::ICharacterRecord::OutOfPlay ( bool v)
pure virtual

Set if the character is no longer in play.

◆ RemoveAdventure()

virtual bool CoreRules::ICharacterRecord::RemoveAdventure ( int index)
pure virtual

Remove (and delete) the adventure at the given index.

Returns
false if index is out of range.

◆ RemoveArmorProficiencyAt()

virtual bool CoreRules::ICharacterRecord::RemoveArmorProficiencyAt ( int index)
pure virtual

Remove at index.

◆ RemoveArmorWornAt()

virtual bool CoreRules::ICharacterRecord::RemoveArmorWornAt ( int index)
pure virtual

Remove worn armor item at index.

◆ RemoveBroadGroupProficiencyAt()

virtual bool CoreRules::ICharacterRecord::RemoveBroadGroupProficiencyAt ( int index)
pure virtual

Remove at index.

◆ RemoveDisadvantageAt()

virtual bool CoreRules::ICharacterRecord::RemoveDisadvantageAt ( int index)
pure virtual

Remove disadvantage at index.

◆ RemoveKnownPriestSpellAt()

virtual bool CoreRules::ICharacterRecord::RemoveKnownPriestSpellAt ( int index)
pure virtual

Remove known priest spell at index.

◆ RemoveKnownWizardSpellAt()

virtual bool CoreRules::ICharacterRecord::RemoveKnownWizardSpellAt ( int index)
pure virtual

Remove the wizard spell at index from the spell book.

◆ RemoveLanguageAt()

virtual bool CoreRules::ICharacterRecord::RemoveLanguageAt ( int index)
pure virtual

Remove language at index.

◆ RemoveMemorizedPriestSpellAt()

virtual bool CoreRules::ICharacterRecord::RemoveMemorizedPriestSpellAt ( int slot,
int level,
int index )
pure virtual

Remove memorized priest spell at (slot, level, index).

◆ RemoveMemorizedWizardSpellAt()

virtual bool CoreRules::ICharacterRecord::RemoveMemorizedWizardSpellAt ( int slot,
int level,
int index )
pure virtual

Remove memorized wizard spell at (slot, level, index).

◆ RemoveNonWeaponProfAt()

virtual bool CoreRules::ICharacterRecord::RemoveNonWeaponProfAt ( int index)
pure virtual

Remove at index.

◆ RemoveNonWeaponProfScoreAt()

virtual bool CoreRules::ICharacterRecord::RemoveNonWeaponProfScoreAt ( int index)
pure virtual

Remove NWP score at index.

◆ RemoveRacialAbilityAt()

virtual bool CoreRules::ICharacterRecord::RemoveRacialAbilityAt ( int index)
pure virtual

Remove the racial ability at the given index.

◆ RemoveSecondaryNonWeaponProfScoreAt()

virtual bool CoreRules::ICharacterRecord::RemoveSecondaryNonWeaponProfScoreAt ( int index)
pure virtual

Remove secondary NWP score at index.

◆ RemoveSecondarySkillAt()

virtual bool CoreRules::ICharacterRecord::RemoveSecondarySkillAt ( int index)
pure virtual

Remove at index.

◆ RemoveSpecializationAt()

virtual bool CoreRules::ICharacterRecord::RemoveSpecializationAt ( int index)
pure virtual

Remove at index.

◆ RemoveTightGroupProficiencyAt()

virtual bool CoreRules::ICharacterRecord::RemoveTightGroupProficiencyAt ( int index)
pure virtual

Remove at index.

◆ RemoveTraitAt()

virtual bool CoreRules::ICharacterRecord::RemoveTraitAt ( int index)
pure virtual

Remove trait at index.

◆ RemoveWeaponProficiencyAt()

virtual bool CoreRules::ICharacterRecord::RemoveWeaponProficiencyAt ( int index)
pure virtual

Remove the weapon proficiency at the given index.

◆ SetAbility()

virtual bool CoreRules::ICharacterRecord::SetAbility ( AbilitySlot slot,
long v )
pure virtual

Slot-indexed ability setter.

Returns
false if v invalid.

◆ SetAge()

virtual bool CoreRules::ICharacterRecord::SetAge ( long v)
pure virtual

Set age.

Returns
false if v < 0.

◆ SetAim()

virtual bool CoreRules::ICharacterRecord::SetAim ( long v)
pure virtual

Set Aim.

◆ SetAlignment()

virtual bool CoreRules::ICharacterRecord::SetAlignment ( const char * v)
pure virtual

Set the alignment.

◆ SetAppearance()

virtual bool CoreRules::ICharacterRecord::SetAppearance ( long v)
pure virtual

Set Appearance.

◆ SetBalance()

virtual bool CoreRules::ICharacterRecord::SetBalance ( long v)
pure virtual

Set Balance.

◆ SetCharacterName()

virtual bool CoreRules::ICharacterRecord::SetCharacterName ( const char * v)
pure virtual

Rename the character (uniqueness-checked).

Parameters
vProposed name.
Returns
false if another character in Character_Index already has this name (rename is refused; existing name unchanged); true on success or when v equals the current name.

◆ SetCharisma()

virtual bool CoreRules::ICharacterRecord::SetCharisma ( long v)
pure virtual

Set Charisma.

Returns
false if outside 1..25.

◆ SetClassDisplay()

virtual void CoreRules::ICharacterRecord::SetClassDisplay ( const char * v)
pure virtual

Set the composed class display. Refreshes MiniOb's ddi_Class.

◆ SetClassKit()

virtual bool CoreRules::ICharacterRecord::SetClassKit ( const char * v)
pure virtual

Set the kit. Refreshes MiniOb's ddi_Kit.

◆ SetComplexion()

virtual void CoreRules::ICharacterRecord::SetComplexion ( const char * v)
pure virtual

Set the complexion.

◆ SetConstitution()

virtual bool CoreRules::ICharacterRecord::SetConstitution ( long v)
pure virtual

Set Constitution.

Returns
false if outside 1..25.

◆ SetCoreRulesVersion()

virtual void CoreRules::ICharacterRecord::SetCoreRulesVersion ( const char * v)
pure virtual

Set the version string.

◆ SetCurrentHitPoints()

virtual void CoreRules::ICharacterRecord::SetCurrentHitPoints ( long v)
pure virtual

Set the current hit points.

◆ SetDateOfBirth()

virtual void CoreRules::ICharacterRecord::SetDateOfBirth ( const IDateOb * v)
pure virtual

Set the date of birth. Zeros FamilyId when v is non-empty.

◆ SetDexterity()

virtual bool CoreRules::ICharacterRecord::SetDexterity ( long v)
pure virtual

Set Dexterity.

Returns
false if outside 1..25.

◆ SetExperiencePoints()

virtual bool CoreRules::ICharacterRecord::SetExperiencePoints ( int slot,
long xp )
pure virtual

Set XP for the given class slot.

Returns
false if slot invalid or xp < 0.

◆ SetExpertise()

virtual bool CoreRules::ICharacterRecord::SetExpertise ( const char * v)
pure virtual

Set Expertise.

◆ SetEyeColor()

virtual void CoreRules::ICharacterRecord::SetEyeColor ( const char * v)
pure virtual

Set the eye color.

◆ SetFamilyId()

virtual bool CoreRules::ICharacterRecord::SetFamilyId ( long id)
pure virtual

Set the family link.

Clears DOB + place-of-birth when non-zero.

Returns
false if id < 0.

◆ SetFightingStyle()

virtual bool CoreRules::ICharacterRecord::SetFightingStyle ( int slot,
long v )
pure virtual

Set fighting-style value at slot.

◆ SetFitness()

virtual bool CoreRules::ICharacterRecord::SetFitness ( long v)
pure virtual

Set Fitness.

◆ SetFreeNWPByKit()

virtual void CoreRules::ICharacterRecord::SetFreeNWPByKit ( const char * v)
pure virtual

Set the free-NWP-by-kit string.

◆ SetGender()

virtual void CoreRules::ICharacterRecord::SetGender ( long v)
pure virtual

Set gender (any long value accepted verbatim).

◆ SetGrandMasteryWeapon()

virtual bool CoreRules::ICharacterRecord::SetGrandMasteryWeapon ( const char * v)
pure virtual

Set Grand Mastery weapon.

◆ SetHairColor()

virtual void CoreRules::ICharacterRecord::SetHairColor ( const char * v)
pure virtual

Set the hair color.

◆ SetHealth()

virtual bool CoreRules::ICharacterRecord::SetHealth ( long v)
pure virtual

Set Health.

◆ SetHeight()

virtual bool CoreRules::ICharacterRecord::SetHeight ( long v)
pure virtual

Set height.

Returns
false if v < 0.

◆ SetHighMasteryWeapon()

virtual bool CoreRules::ICharacterRecord::SetHighMasteryWeapon ( const char * v)
pure virtual

Set High Mastery weapon.

◆ SetHistory()

virtual void CoreRules::ICharacterRecord::SetHistory ( const char * v)
pure virtual

Set History.

◆ SetHPForLevel()

virtual bool CoreRules::ICharacterRecord::SetHPForLevel ( int slot,
int level,
long hp )
pure virtual

Set rolled HP for the given class slot + level.

◆ SetIntelligence()

virtual bool CoreRules::ICharacterRecord::SetIntelligence ( long v)
pure virtual

Set Intelligence.

Returns
false if outside 1..25.

◆ SetIntuition()

virtual bool CoreRules::ICharacterRecord::SetIntuition ( long v)
pure virtual

Set Intuition.

◆ SetKnowledge()

virtual bool CoreRules::ICharacterRecord::SetKnowledge ( long v)
pure virtual

Set Knowledge.

◆ SetLeadership()

virtual bool CoreRules::ICharacterRecord::SetLeadership ( long v)
pure virtual

Set Leadership.

◆ SetMajorLifeEvent()

virtual void CoreRules::ICharacterRecord::SetMajorLifeEvent ( const char * v)
pure virtual

Set Major Life Event.

◆ SetMissileFocusFromKit()

virtual void CoreRules::ICharacterRecord::SetMissileFocusFromKit ( const char * v)
pure virtual

Set the missile-focus weapon.

◆ SetMuscle()

virtual bool CoreRules::ICharacterRecord::SetMuscle ( long v)
pure virtual

Set Muscle.

◆ SetNumberOfClasses()

virtual bool CoreRules::ICharacterRecord::SetNumberOfClasses ( long v)
pure virtual

Set active class count.

Returns
false if outside [0, kMaxClasses].

◆ SetParty()

virtual void CoreRules::ICharacterRecord::SetParty ( const char * v)
pure virtual

Set the party. Refreshes MiniOb's cached party + ddi_Party.

◆ SetPlaceOfBirth()

virtual void CoreRules::ICharacterRecord::SetPlaceOfBirth ( const char * v)
pure virtual

Set the place of birth. Zeros FamilyId when v is non-empty.

◆ SetPlayerName()

virtual void CoreRules::ICharacterRecord::SetPlayerName ( const char * v)
pure virtual

Set the player name. Refreshes the MiniOb's ddi_PlayerName.

◆ SetPlayerType()

virtual bool CoreRules::ICharacterRecord::SetPlayerType ( PlayerType v)
pure virtual

Set the discriminator.

Refreshes the MiniOb's ddi_CharacterType.

Returns
false if v is not one of the recognized PlayerType values.

◆ SetPortraitDir()

virtual void CoreRules::ICharacterRecord::SetPortraitDir ( const char * v)
pure virtual

Set the portrait directory.

◆ SetPortraitFilename()

virtual void CoreRules::ICharacterRecord::SetPortraitFilename ( const char * v)
pure virtual

Set the portrait filename.

◆ SetRace()

virtual bool CoreRules::ICharacterRecord::SetRace ( const char * v)
pure virtual

Set the race. Refreshes MiniOb's cached race + ddi_Race.

◆ SetReason()

virtual bool CoreRules::ICharacterRecord::SetReason ( long v)
pure virtual

Set Reason.

◆ SetSlotClassName()

virtual bool CoreRules::ICharacterRecord::SetSlotClassName ( int slot,
const char * v )
pure virtual

Set class name at the given slot.

Returns
false if slot invalid.

◆ SetSocialStanding()

virtual void CoreRules::ICharacterRecord::SetSocialStanding ( const char * v)
pure virtual

Set Social Standing.

◆ SetStamina()

virtual bool CoreRules::ICharacterRecord::SetStamina ( long v)
pure virtual

Set Stamina.

◆ SetStrength()

virtual bool CoreRules::ICharacterRecord::SetStrength ( long v)
pure virtual

Set Strength.

Returns
false if v is outside 1..25.

◆ SetStrengthModifier()

virtual bool CoreRules::ICharacterRecord::SetStrengthModifier ( long v)
pure virtual

Set Strength Modifier.

Returns
false if v outside 0..100.

◆ SetSubRace()

virtual bool CoreRules::ICharacterRecord::SetSubRace ( const char * v)
pure virtual

Set the sub-race.

◆ SetWeaponFromRacialFocus()

virtual void CoreRules::ICharacterRecord::SetWeaponFromRacialFocus ( const char * v)
pure virtual

Set the racial-focus weapon.

◆ SetWeaponMastery()

virtual bool CoreRules::ICharacterRecord::SetWeaponMastery ( const char * v)
pure virtual

Set Weapon Mastery.

◆ SetWeaponOfChoice()

virtual bool CoreRules::ICharacterRecord::SetWeaponOfChoice ( const char * v)
pure virtual

Set Weapon of Choice.

◆ SetWeight()

virtual bool CoreRules::ICharacterRecord::SetWeight ( long v)
pure virtual

Set weight.

Returns
false if v < 0.

◆ SetWillpower()

virtual bool CoreRules::ICharacterRecord::SetWillpower ( long v)
pure virtual

Set Willpower.

◆ SetWisdom()

virtual bool CoreRules::ICharacterRecord::SetWisdom ( long v)
pure virtual

Set Wisdom.

Returns
false if outside 1..25.

The documentation for this class was generated from the following file: