M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.Hero Class Reference

Inherits TaleWorlds.ObjectSystem.MBObjectBase, TaleWorlds.CampaignSystem.ITrackableCampaignObject, and TaleWorlds.CampaignSystem.IRandomOwner.

Public Types

enum  CharacterStates {
  NotSpawned ,
  Active ,
  Fugitive ,
  Prisoner ,
  Released ,
  Dead ,
  Disabled ,
  Traveling
}
 

Public Member Functions

void SetCharacterObject (CharacterObject characterObject)
 
void SetName (TextObject fullName, TextObject firstName)
 
void UpdatePlayerGender (bool isFemale)
 
CharacterTraits GetHeroTraits ()
 
void OnIssueCreatedForHero (IssueBase issue)
 
void OnIssueDeactivatedForHero ()
 
override string ToString ()
 
void UpdateLastKnownClosestSettlement (Settlement settlement)
 
void SetNewOccupation (Occupation occupation)
 
void SetBirthDay (CampaignTime birthday)
 
void AddPower (float value)
 
void SetHasMet ()
 
void UpdateHomeSettlement ()
 
int GetSkillValue (SkillObject skill)
 
void SetSkillValue (SkillObject skill, int value)
 
void ClearSkills ()
 
void AddSkillXp (SkillObject skill, float xpAmount)
 
int GetAttributeValue (CharacterAttribute charAttribute)
 
void ClearAttributes ()
 
void SetTraitLevel (TraitObject trait, int value)
 
int GetTraitLevel (TraitObject trait)
 
void ClearTraits ()
 
bool GetPerkValue (PerkObject perk)
 
void ClearPerks ()
 
 Hero (string stringID)
 
 Hero ()
 
void Init ()
 
void ChangeState (CharacterStates newState)
 
bool IsHealthFull ()
 
void Heal (int healAmount, bool addXp=false)
 
override void Deserialize (MBObjectManager objectManager, XmlNode node)
 
bool CanLeadParty ()
 
bool CanHeroEquipmentBeChanged ()
 
bool CanMarry ()
 
bool CanBeGovernorOrHavePartyRole ()
 
bool CanDie (KillCharacterAction.KillCharacterActionDetail causeOfDeath)
 
bool CanBecomePrisoner ()
 
bool CanMoveToSettlement ()
 
bool CanHaveQuestsOrIssues ()
 
string AssignVoice ()
 
void AddInfluenceWithKingdom (float additionalInfluence)
 
float GetRelationWithPlayer ()
 
float GetUnmodifiedClanLeaderRelationshipWithPlayer ()
 
void SetTextVariables ()
 
void SetPersonalRelation (Hero otherHero, int value)
 
int GetRelation (Hero otherHero)
 
int GetBaseHeroRelation (Hero otherHero)
 
bool IsEnemy (Hero otherHero)
 
bool IsFriend (Hero otherHero)
 
bool IsNeutral (Hero otherHero)
 
void ModifyHair (int hair, int beard, int tattoo)
 
void ModifyPlayersFamilyAppearance (StaticBodyProperties staticBodyProperties)
 
void AddOwnedWorkshop (Workshop workshop)
 
void RemoveOwnedWorkshop (Workshop workshop)
 
void MakeWounded (Hero killerHero=null, KillCharacterAction.KillCharacterActionDetail deathMarkDetail=KillCharacterAction.KillCharacterActionDetail.None)
 
void AddDeathMark (Hero killerHero=null, KillCharacterAction.KillCharacterActionDetail deathMarkDetail=KillCharacterAction.KillCharacterActionDetail.None)
 
Vec3 GetPosition ()
 
IMapPoint GetMapPoint ()
 
float GetTrackDistanceToMainAgent ()
 
bool CheckTracked (BasicCharacterObject basicCharacter)
 
void ResetEquipments ()
 
void ChangeHeroGold (int changeAmount)
 
void CheckInvalidEquipmentsAndReplaceIfNeeded ()
 
- Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
 MBObjectBase ()
 
 MBObjectBase (MBObjectBase other)
 
 MBObjectBase (string stringId)
 
void AfterInitialized ()
 
virtual void AfterRegister ()
 
virtual void Initialize ()
 
virtual void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override int GetHashCode ()
 
virtual TextObject GetName ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 
TextObject GetName ()
 
Vec3 GetPosition ()
 
float GetTrackDistanceToMainAgent ()
 
bool CheckTracked (BasicCharacterObject basicCharacter)
 

Static Public Member Functions

static Hero CreateHero (string stringID)
 
static TextObject SetHeroEncyclopediaTextAndLinks (Hero o)
 
static Hero FindFirst (Func< Hero, bool > predicate)
 
static IEnumerable< HeroFindAll (Func< Hero, bool > predicate)
 

Public Attributes

int LastTimeStampForActivity
 
CharacterObject[] VolunteerTypes
 
string HairTags = ""
 
string BeardTags = ""
 
string TattooTags = ""
 
int Level
 
int SpcDaysInLocation
 
CultureObject Culture
 
MBList< ItemObjectSpecialItems
 
bool IsPregnant = false
 

Static Public Attributes

const int MaximumNumberOfVolunteers = 6
 
const int HeroWoundedHealthLevel = 20
 

Protected Member Functions

override void PreAfterLoad ()
 
override void AfterLoad ()
 
- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Properties

float Weight [get, set]
 
float Build [get, set]
 
BodyProperties BodyProperties [get]
 
float PassedTimeAtHomeSettlement [get, set]
 
bool CanHaveRecruits [get]
 
CharacterObject CharacterObject [get]
 
TextObject FirstName [get]
 
TextObject Name [get]
 
TextObject EncyclopediaText [get, set]
 
string EncyclopediaLink [get]
 
TextObject EncyclopediaLinkWithName [get]
 
bool IsFemale [get]
 
Equipment BattleEquipment [get]
 
Equipment CivilianEquipment [get]
 
CampaignTime CaptivityStartTime [get, set]
 
FormationClass PreferredUpgradeFormation [get, set]
 
CharacterStates HeroState [get]
 
bool IsMinorFactionHero [get, set]
 
IssueBase Issue [get]
 
bool CanBeCompanion [get]
 
bool IsNoncombatant [get]
 
Clan CompanionOf [get, set]
 
IEnumerable< HeroCompanionsInParty [get]
 
Occupation Occupation [get]
 
CharacterObject Template [get]
 
bool IsDead [get]
 
bool IsFugitive [get]
 
bool IsPrisoner [get]
 
bool IsReleased [get]
 
bool IsActive [get]
 
bool IsNotSpawned [get]
 
bool IsDisabled [get]
 
bool IsTraveling [get]
 
bool IsAlive [get]
 
KillCharacterAction.KillCharacterActionDetail DeathMark [get]
 
Hero DeathMarkKillerHero [get]
 
Settlement LastKnownClosestSettlement [get]
 
bool IsWanderer [get]
 
bool IsTemplate [get]
 
bool IsWounded [get]
 
bool IsPlayerCompanion [get]
 
bool IsMerchant [get]
 
bool IsPreacher [get]
 
bool IsHeadman [get]
 
bool IsGangLeader [get]
 
bool IsArtisan [get]
 
bool IsRuralNotable [get]
 
bool IsUrbanNotable [get]
 
bool IsSpecial [get]
 
bool IsRebel [get]
 
bool IsCommander [get]
 
bool IsPartyLeader [get]
 
bool IsNotable [get]
 
bool IsLord [get]
 
int MaxHitPoints [get]
 
int HitPoints [get, set]
 
CampaignTime BirthDay [get]
 
CampaignTime DeathDay [get, set]
 
float Age [get]
 
bool IsChild [get]
 
float Power [get]
 
Banner ClanBanner [get]
 
long LastExaminedLogEntryID [get, set]
 
Clan Clan [get, set]
 
Clan SupporterOf [get, set]
 
Town GovernorOf [get, set]
 
IFaction MapFaction [get]
 
List< AlleyOwnedAlleys [get]
 
bool IsFactionLeader [get]
 
bool IsKingdomLeader [get]
 
bool IsClanLeader [get]
 
List< CaravanPartyComponentOwnedCaravans [get]
 
MobileParty PartyBelongedTo [get]
 
PartyBase PartyBelongedToAsPrisoner [get]
 
Settlement StayingInSettlement [get, set]
 
bool IsHumanPlayerCharacter [get]
 
bool IsKnownToPlayer [get, set]
 
bool HasMet [get]
 
CampaignTime LastMeetingTimeWithPlayer [get, set]
 
Settlement BornSettlement [get, set]
 
Settlement HomeSettlement [get]
 
Settlement CurrentSettlement [get]
 
int Gold [get, set]
 
int RandomValue = MBRandom.RandomInt(1, int.MaxValue) [get]
 
EquipmentElement BannerItem [get, set]
 
float ProbabilityOfDeath [get]
 
Hero Father [get, set]
 
Hero Mother [get, set]
 
MBReadOnlyList< HeroExSpouses [get]
 
Hero Spouse [get, set]
 
MBList< HeroChildren [get]
 
IEnumerable< HeroSiblings [get]
 
IHeroDeveloper HeroDeveloper [get]
 
MBReadOnlyList< WorkshopOwnedWorkshops [get]
 
static MBReadOnlyList< HeroAllAliveHeroes [get]
 
static MBReadOnlyList< HeroDeadOrDisabledHeroes [get]
 
static Hero MainHero [get]
 
static Hero OneToOneConversationHero [get]
 
static bool IsMainHeroIll [get]
 
- Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase
string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 
- Properties inherited from TaleWorlds.CampaignSystem.IRandomOwner
int RandomValue [get]
 

Member Enumeration Documentation

◆ CharacterStates

Enumerator
NotSpawned 
Active 
Fugitive 
Prisoner 
Released 
Dead 
Disabled 
Traveling 

Constructor & Destructor Documentation

◆ Hero() [1/2]

TaleWorlds.CampaignSystem.Hero.Hero ( string  stringID)

◆ Hero() [2/2]

TaleWorlds.CampaignSystem.Hero.Hero ( )

Member Function Documentation

◆ SetCharacterObject()

void TaleWorlds.CampaignSystem.Hero.SetCharacterObject ( CharacterObject  characterObject)

◆ SetName()

void TaleWorlds.CampaignSystem.Hero.SetName ( TextObject  fullName,
TextObject  firstName 
)

◆ UpdatePlayerGender()

void TaleWorlds.CampaignSystem.Hero.UpdatePlayerGender ( bool  isFemale)

◆ GetHeroTraits()

CharacterTraits TaleWorlds.CampaignSystem.Hero.GetHeroTraits ( )

◆ OnIssueCreatedForHero()

void TaleWorlds.CampaignSystem.Hero.OnIssueCreatedForHero ( IssueBase  issue)

◆ OnIssueDeactivatedForHero()

void TaleWorlds.CampaignSystem.Hero.OnIssueDeactivatedForHero ( )

◆ ToString()

override string TaleWorlds.CampaignSystem.Hero.ToString ( )

◆ UpdateLastKnownClosestSettlement()

void TaleWorlds.CampaignSystem.Hero.UpdateLastKnownClosestSettlement ( Settlement  settlement)

◆ SetNewOccupation()

void TaleWorlds.CampaignSystem.Hero.SetNewOccupation ( Occupation  occupation)

◆ SetBirthDay()

void TaleWorlds.CampaignSystem.Hero.SetBirthDay ( CampaignTime  birthday)

◆ AddPower()

void TaleWorlds.CampaignSystem.Hero.AddPower ( float  value)

◆ SetHasMet()

void TaleWorlds.CampaignSystem.Hero.SetHasMet ( )

◆ UpdateHomeSettlement()

void TaleWorlds.CampaignSystem.Hero.UpdateHomeSettlement ( )

◆ GetSkillValue()

int TaleWorlds.CampaignSystem.Hero.GetSkillValue ( SkillObject  skill)

◆ SetSkillValue()

void TaleWorlds.CampaignSystem.Hero.SetSkillValue ( SkillObject  skill,
int  value 
)

◆ ClearSkills()

void TaleWorlds.CampaignSystem.Hero.ClearSkills ( )

◆ AddSkillXp()

void TaleWorlds.CampaignSystem.Hero.AddSkillXp ( SkillObject  skill,
float  xpAmount 
)

◆ GetAttributeValue()

int TaleWorlds.CampaignSystem.Hero.GetAttributeValue ( CharacterAttribute  charAttribute)

◆ ClearAttributes()

void TaleWorlds.CampaignSystem.Hero.ClearAttributes ( )

◆ SetTraitLevel()

void TaleWorlds.CampaignSystem.Hero.SetTraitLevel ( TraitObject  trait,
int  value 
)

◆ GetTraitLevel()

int TaleWorlds.CampaignSystem.Hero.GetTraitLevel ( TraitObject  trait)

◆ ClearTraits()

void TaleWorlds.CampaignSystem.Hero.ClearTraits ( )

◆ GetPerkValue()

bool TaleWorlds.CampaignSystem.Hero.GetPerkValue ( PerkObject  perk)

◆ ClearPerks()

void TaleWorlds.CampaignSystem.Hero.ClearPerks ( )

◆ CreateHero()

static Hero TaleWorlds.CampaignSystem.Hero.CreateHero ( string  stringID)
static

◆ Init()

void TaleWorlds.CampaignSystem.Hero.Init ( )

◆ PreAfterLoad()

override void TaleWorlds.CampaignSystem.Hero.PreAfterLoad ( )
protectedvirtual

◆ AfterLoad()

override void TaleWorlds.CampaignSystem.Hero.AfterLoad ( )
protectedvirtual

◆ ChangeState()

void TaleWorlds.CampaignSystem.Hero.ChangeState ( CharacterStates  newState)

◆ IsHealthFull()

bool TaleWorlds.CampaignSystem.Hero.IsHealthFull ( )

◆ Heal()

void TaleWorlds.CampaignSystem.Hero.Heal ( int  healAmount,
bool  addXp = false 
)

◆ Deserialize()

override void TaleWorlds.CampaignSystem.Hero.Deserialize ( MBObjectManager  objectManager,
XmlNode  node 
)
virtual

◆ CanLeadParty()

bool TaleWorlds.CampaignSystem.Hero.CanLeadParty ( )

◆ SetHeroEncyclopediaTextAndLinks()

static TextObject TaleWorlds.CampaignSystem.Hero.SetHeroEncyclopediaTextAndLinks ( Hero  o)
static

◆ CanHeroEquipmentBeChanged()

bool TaleWorlds.CampaignSystem.Hero.CanHeroEquipmentBeChanged ( )

◆ CanMarry()

bool TaleWorlds.CampaignSystem.Hero.CanMarry ( )

◆ CanBeGovernorOrHavePartyRole()

bool TaleWorlds.CampaignSystem.Hero.CanBeGovernorOrHavePartyRole ( )

◆ CanDie()

bool TaleWorlds.CampaignSystem.Hero.CanDie ( KillCharacterAction::KillCharacterActionDetail  causeOfDeath)

◆ CanBecomePrisoner()

bool TaleWorlds.CampaignSystem.Hero.CanBecomePrisoner ( )

◆ CanMoveToSettlement()

bool TaleWorlds.CampaignSystem.Hero.CanMoveToSettlement ( )

◆ CanHaveQuestsOrIssues()

bool TaleWorlds.CampaignSystem.Hero.CanHaveQuestsOrIssues ( )

◆ AssignVoice()

string TaleWorlds.CampaignSystem.Hero.AssignVoice ( )

◆ AddInfluenceWithKingdom()

void TaleWorlds.CampaignSystem.Hero.AddInfluenceWithKingdom ( float  additionalInfluence)

◆ GetRelationWithPlayer()

float TaleWorlds.CampaignSystem.Hero.GetRelationWithPlayer ( )

◆ GetUnmodifiedClanLeaderRelationshipWithPlayer()

float TaleWorlds.CampaignSystem.Hero.GetUnmodifiedClanLeaderRelationshipWithPlayer ( )

◆ SetTextVariables()

void TaleWorlds.CampaignSystem.Hero.SetTextVariables ( )

◆ SetPersonalRelation()

void TaleWorlds.CampaignSystem.Hero.SetPersonalRelation ( Hero  otherHero,
int  value 
)

◆ GetRelation()

int TaleWorlds.CampaignSystem.Hero.GetRelation ( Hero  otherHero)

◆ GetBaseHeroRelation()

int TaleWorlds.CampaignSystem.Hero.GetBaseHeroRelation ( Hero  otherHero)

◆ IsEnemy()

bool TaleWorlds.CampaignSystem.Hero.IsEnemy ( Hero  otherHero)

◆ IsFriend()

bool TaleWorlds.CampaignSystem.Hero.IsFriend ( Hero  otherHero)

◆ IsNeutral()

bool TaleWorlds.CampaignSystem.Hero.IsNeutral ( Hero  otherHero)

◆ ModifyHair()

void TaleWorlds.CampaignSystem.Hero.ModifyHair ( int  hair,
int  beard,
int  tattoo 
)

◆ ModifyPlayersFamilyAppearance()

void TaleWorlds.CampaignSystem.Hero.ModifyPlayersFamilyAppearance ( StaticBodyProperties  staticBodyProperties)

◆ AddOwnedWorkshop()

void TaleWorlds.CampaignSystem.Hero.AddOwnedWorkshop ( Workshop  workshop)

◆ RemoveOwnedWorkshop()

void TaleWorlds.CampaignSystem.Hero.RemoveOwnedWorkshop ( Workshop  workshop)

◆ FindFirst()

static Hero TaleWorlds.CampaignSystem.Hero.FindFirst ( Func< Hero, bool >  predicate)
static

◆ FindAll()

static IEnumerable< Hero > TaleWorlds.CampaignSystem.Hero.FindAll ( Func< Hero, bool >  predicate)
static

◆ MakeWounded()

void TaleWorlds.CampaignSystem.Hero.MakeWounded ( Hero  killerHero = null,
KillCharacterAction::KillCharacterActionDetail  deathMarkDetail = KillCharacterAction::KillCharacterActionDetail::None 
)

◆ AddDeathMark()

void TaleWorlds.CampaignSystem.Hero.AddDeathMark ( Hero  killerHero = null,
KillCharacterAction::KillCharacterActionDetail  deathMarkDetail = KillCharacterAction::KillCharacterActionDetail::None 
)

◆ GetPosition()

Vec3 TaleWorlds.CampaignSystem.Hero.GetPosition ( )

◆ GetMapPoint()

IMapPoint TaleWorlds.CampaignSystem.Hero.GetMapPoint ( )

◆ GetTrackDistanceToMainAgent()

float TaleWorlds.CampaignSystem.Hero.GetTrackDistanceToMainAgent ( )

◆ CheckTracked()

bool TaleWorlds.CampaignSystem.Hero.CheckTracked ( BasicCharacterObject  basicCharacter)

◆ ResetEquipments()

void TaleWorlds.CampaignSystem.Hero.ResetEquipments ( )

◆ ChangeHeroGold()

void TaleWorlds.CampaignSystem.Hero.ChangeHeroGold ( int  changeAmount)

◆ CheckInvalidEquipmentsAndReplaceIfNeeded()

void TaleWorlds.CampaignSystem.Hero.CheckInvalidEquipmentsAndReplaceIfNeeded ( )

Member Data Documentation

◆ LastTimeStampForActivity

int TaleWorlds.CampaignSystem.Hero.LastTimeStampForActivity

◆ MaximumNumberOfVolunteers

const int TaleWorlds.CampaignSystem.Hero.MaximumNumberOfVolunteers = 6
static

◆ VolunteerTypes

CharacterObject [] TaleWorlds.CampaignSystem.Hero.VolunteerTypes

◆ HairTags

string TaleWorlds.CampaignSystem.Hero.HairTags = ""

◆ BeardTags

string TaleWorlds.CampaignSystem.Hero.BeardTags = ""

◆ TattooTags

string TaleWorlds.CampaignSystem.Hero.TattooTags = ""

◆ Level

int TaleWorlds.CampaignSystem.Hero.Level

◆ HeroWoundedHealthLevel

const int TaleWorlds.CampaignSystem.Hero.HeroWoundedHealthLevel = 20
static

◆ SpcDaysInLocation

int TaleWorlds.CampaignSystem.Hero.SpcDaysInLocation

◆ Culture

CultureObject TaleWorlds.CampaignSystem.Hero.Culture

◆ SpecialItems

MBList<ItemObject> TaleWorlds.CampaignSystem.Hero.SpecialItems

◆ IsPregnant

bool TaleWorlds.CampaignSystem.Hero.IsPregnant = false

Property Documentation

◆ Weight

float TaleWorlds.CampaignSystem.Hero.Weight
getset

◆ Build

float TaleWorlds.CampaignSystem.Hero.Build
getset

◆ BodyProperties

BodyProperties TaleWorlds.CampaignSystem.Hero.BodyProperties
get

◆ PassedTimeAtHomeSettlement

float TaleWorlds.CampaignSystem.Hero.PassedTimeAtHomeSettlement
getset

◆ CanHaveRecruits

bool TaleWorlds.CampaignSystem.Hero.CanHaveRecruits
get

◆ CharacterObject

CharacterObject TaleWorlds.CampaignSystem.Hero.CharacterObject
get

◆ FirstName

TextObject TaleWorlds.CampaignSystem.Hero.FirstName
get

◆ Name

TextObject TaleWorlds.CampaignSystem.Hero.Name
get

◆ EncyclopediaText

TextObject TaleWorlds.CampaignSystem.Hero.EncyclopediaText
getset

◆ EncyclopediaLink

string TaleWorlds.CampaignSystem.Hero.EncyclopediaLink
get

◆ EncyclopediaLinkWithName

TextObject TaleWorlds.CampaignSystem.Hero.EncyclopediaLinkWithName
get

◆ IsFemale

bool TaleWorlds.CampaignSystem.Hero.IsFemale
get

◆ BattleEquipment

Equipment TaleWorlds.CampaignSystem.Hero.BattleEquipment
get

◆ CivilianEquipment

Equipment TaleWorlds.CampaignSystem.Hero.CivilianEquipment
get

◆ CaptivityStartTime

CampaignTime TaleWorlds.CampaignSystem.Hero.CaptivityStartTime
getset

◆ PreferredUpgradeFormation

FormationClass TaleWorlds.CampaignSystem.Hero.PreferredUpgradeFormation
getset

◆ HeroState

CharacterStates TaleWorlds.CampaignSystem.Hero.HeroState
get

◆ IsMinorFactionHero

bool TaleWorlds.CampaignSystem.Hero.IsMinorFactionHero
getset

◆ Issue

IssueBase TaleWorlds.CampaignSystem.Hero.Issue
get

◆ CanBeCompanion

bool TaleWorlds.CampaignSystem.Hero.CanBeCompanion
get

◆ IsNoncombatant

bool TaleWorlds.CampaignSystem.Hero.IsNoncombatant
get

◆ CompanionOf

Clan TaleWorlds.CampaignSystem.Hero.CompanionOf
getset

◆ CompanionsInParty

IEnumerable<Hero> TaleWorlds.CampaignSystem.Hero.CompanionsInParty
get

◆ Occupation

Occupation TaleWorlds.CampaignSystem.Hero.Occupation
get

◆ Template

CharacterObject TaleWorlds.CampaignSystem.Hero.Template
get

◆ IsDead

bool TaleWorlds.CampaignSystem.Hero.IsDead
get

◆ IsFugitive

bool TaleWorlds.CampaignSystem.Hero.IsFugitive
get

◆ IsPrisoner

bool TaleWorlds.CampaignSystem.Hero.IsPrisoner
get

◆ IsReleased

bool TaleWorlds.CampaignSystem.Hero.IsReleased
get

◆ IsActive

bool TaleWorlds.CampaignSystem.Hero.IsActive
get

◆ IsNotSpawned

bool TaleWorlds.CampaignSystem.Hero.IsNotSpawned
get

◆ IsDisabled

bool TaleWorlds.CampaignSystem.Hero.IsDisabled
get

◆ IsTraveling

bool TaleWorlds.CampaignSystem.Hero.IsTraveling
get

◆ IsAlive

bool TaleWorlds.CampaignSystem.Hero.IsAlive
get

◆ DeathMark

KillCharacterAction.KillCharacterActionDetail TaleWorlds.CampaignSystem.Hero.DeathMark
get

◆ DeathMarkKillerHero

Hero TaleWorlds.CampaignSystem.Hero.DeathMarkKillerHero
get

◆ LastKnownClosestSettlement

Settlement TaleWorlds.CampaignSystem.Hero.LastKnownClosestSettlement
get

◆ IsWanderer

bool TaleWorlds.CampaignSystem.Hero.IsWanderer
get

◆ IsTemplate

bool TaleWorlds.CampaignSystem.Hero.IsTemplate
get

◆ IsWounded

bool TaleWorlds.CampaignSystem.Hero.IsWounded
get

◆ IsPlayerCompanion

bool TaleWorlds.CampaignSystem.Hero.IsPlayerCompanion
get

◆ IsMerchant

bool TaleWorlds.CampaignSystem.Hero.IsMerchant
get

◆ IsPreacher

bool TaleWorlds.CampaignSystem.Hero.IsPreacher
get

◆ IsHeadman

bool TaleWorlds.CampaignSystem.Hero.IsHeadman
get

◆ IsGangLeader

bool TaleWorlds.CampaignSystem.Hero.IsGangLeader
get

◆ IsArtisan

bool TaleWorlds.CampaignSystem.Hero.IsArtisan
get

◆ IsRuralNotable

bool TaleWorlds.CampaignSystem.Hero.IsRuralNotable
get

◆ IsUrbanNotable

bool TaleWorlds.CampaignSystem.Hero.IsUrbanNotable
get

◆ IsSpecial

bool TaleWorlds.CampaignSystem.Hero.IsSpecial
get

◆ IsRebel

bool TaleWorlds.CampaignSystem.Hero.IsRebel
get

◆ IsCommander

bool TaleWorlds.CampaignSystem.Hero.IsCommander
get

◆ IsPartyLeader

bool TaleWorlds.CampaignSystem.Hero.IsPartyLeader
get

◆ IsNotable

bool TaleWorlds.CampaignSystem.Hero.IsNotable
get

◆ IsLord

bool TaleWorlds.CampaignSystem.Hero.IsLord
get

◆ MaxHitPoints

int TaleWorlds.CampaignSystem.Hero.MaxHitPoints
get

◆ HitPoints

int TaleWorlds.CampaignSystem.Hero.HitPoints
getset

◆ BirthDay

CampaignTime TaleWorlds.CampaignSystem.Hero.BirthDay
get

◆ DeathDay

CampaignTime TaleWorlds.CampaignSystem.Hero.DeathDay
getset

◆ Age

float TaleWorlds.CampaignSystem.Hero.Age
get

◆ IsChild

bool TaleWorlds.CampaignSystem.Hero.IsChild
get

◆ Power

float TaleWorlds.CampaignSystem.Hero.Power
get

◆ ClanBanner

Banner TaleWorlds.CampaignSystem.Hero.ClanBanner
get

◆ LastExaminedLogEntryID

long TaleWorlds.CampaignSystem.Hero.LastExaminedLogEntryID
getset

◆ Clan

Clan TaleWorlds.CampaignSystem.Hero.Clan
getset

◆ SupporterOf

Clan TaleWorlds.CampaignSystem.Hero.SupporterOf
getset

◆ GovernorOf

Town TaleWorlds.CampaignSystem.Hero.GovernorOf
getset

◆ MapFaction

IFaction TaleWorlds.CampaignSystem.Hero.MapFaction
get

◆ OwnedAlleys

List<Alley> TaleWorlds.CampaignSystem.Hero.OwnedAlleys
get

◆ IsFactionLeader

bool TaleWorlds.CampaignSystem.Hero.IsFactionLeader
get

◆ IsKingdomLeader

bool TaleWorlds.CampaignSystem.Hero.IsKingdomLeader
get

◆ IsClanLeader

bool TaleWorlds.CampaignSystem.Hero.IsClanLeader
get

◆ OwnedCaravans

List<CaravanPartyComponent> TaleWorlds.CampaignSystem.Hero.OwnedCaravans
get

◆ PartyBelongedTo

MobileParty TaleWorlds.CampaignSystem.Hero.PartyBelongedTo
get

◆ PartyBelongedToAsPrisoner

PartyBase TaleWorlds.CampaignSystem.Hero.PartyBelongedToAsPrisoner
get

◆ StayingInSettlement

Settlement TaleWorlds.CampaignSystem.Hero.StayingInSettlement
getset

◆ IsHumanPlayerCharacter

bool TaleWorlds.CampaignSystem.Hero.IsHumanPlayerCharacter
get

◆ IsKnownToPlayer

bool TaleWorlds.CampaignSystem.Hero.IsKnownToPlayer
getset

◆ HasMet

bool TaleWorlds.CampaignSystem.Hero.HasMet
get

◆ LastMeetingTimeWithPlayer

CampaignTime TaleWorlds.CampaignSystem.Hero.LastMeetingTimeWithPlayer
getset

◆ BornSettlement

Settlement TaleWorlds.CampaignSystem.Hero.BornSettlement
getset

◆ HomeSettlement

Settlement TaleWorlds.CampaignSystem.Hero.HomeSettlement
get

◆ CurrentSettlement

Settlement TaleWorlds.CampaignSystem.Hero.CurrentSettlement
get

◆ Gold

int TaleWorlds.CampaignSystem.Hero.Gold
getset

◆ RandomValue

int TaleWorlds.CampaignSystem.Hero.RandomValue = MBRandom.RandomInt(1, int.MaxValue)
get

◆ BannerItem

EquipmentElement TaleWorlds.CampaignSystem.Hero.BannerItem
getset

◆ ProbabilityOfDeath

float TaleWorlds.CampaignSystem.Hero.ProbabilityOfDeath
get

◆ Father

Hero TaleWorlds.CampaignSystem.Hero.Father
getset

◆ Mother

Hero TaleWorlds.CampaignSystem.Hero.Mother
getset

◆ ExSpouses

MBReadOnlyList<Hero> TaleWorlds.CampaignSystem.Hero.ExSpouses
get

◆ Spouse

Hero TaleWorlds.CampaignSystem.Hero.Spouse
getset

◆ Children

MBList<Hero> TaleWorlds.CampaignSystem.Hero.Children
get

◆ Siblings

IEnumerable<Hero> TaleWorlds.CampaignSystem.Hero.Siblings
get

◆ HeroDeveloper

IHeroDeveloper TaleWorlds.CampaignSystem.Hero.HeroDeveloper
get

◆ OwnedWorkshops

MBReadOnlyList<Workshop> TaleWorlds.CampaignSystem.Hero.OwnedWorkshops
get

◆ AllAliveHeroes

MBReadOnlyList<Hero> TaleWorlds.CampaignSystem.Hero.AllAliveHeroes
staticget

◆ DeadOrDisabledHeroes

MBReadOnlyList<Hero> TaleWorlds.CampaignSystem.Hero.DeadOrDisabledHeroes
staticget

◆ MainHero

Hero TaleWorlds.CampaignSystem.Hero.MainHero
staticget

◆ OneToOneConversationHero

Hero TaleWorlds.CampaignSystem.Hero.OneToOneConversationHero
staticget

◆ IsMainHeroIll

bool TaleWorlds.CampaignSystem.Hero.IsMainHeroIll
staticget