|
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 () |
|
| 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) |
|
|
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< Hero > | CompanionsInParty [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< Alley > | OwnedAlleys [get] |
|
bool | IsFactionLeader [get] |
|
bool | IsKingdomLeader [get] |
|
bool | IsClanLeader [get] |
|
List< CaravanPartyComponent > | OwnedCaravans [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< Hero > | ExSpouses [get] |
|
Hero | Spouse [get, set] |
|
MBList< Hero > | Children [get] |
|
IEnumerable< Hero > | Siblings [get] |
|
IHeroDeveloper | HeroDeveloper [get] |
|
MBReadOnlyList< Workshop > | OwnedWorkshops [get] |
|
static MBReadOnlyList< Hero > | AllAliveHeroes [get] |
|
static MBReadOnlyList< Hero > | DeadOrDisabledHeroes [get] |
|
static Hero | MainHero [get] |
|
static Hero | OneToOneConversationHero [get] |
|
static bool | IsMainHeroIll [get] |
|
string | StringId [get, set] |
|
MBGUID | Id [get, set] |
|
bool | IsInitialized [get] |
|
bool | IsReady [get, set] |
|
Properties inherited from TaleWorlds.CampaignSystem.IRandomOwner |
int | RandomValue [get] |
|