MobileParty class stores data related with mobile parties.
|
bool | HasLimitedWage () |
|
bool | CanPayMoreWage () |
|
bool | IsWageLimitExceeded () |
|
void | SetWagePaymentLimit (int newLimit) |
|
void | SetCustomHomeSettlement (Settlement customHomeSettlement) |
|
| MobileParty () |
| Initializes a new instance of the MobileParty class. Use CreateParty to create party, do not call new MobileParty()
|
|
void | SetPartyScout (Hero hero) |
|
void | SetPartyQuartermaster (Hero hero) |
|
void | SetPartyEngineer (Hero hero) |
|
void | SetPartySurgeon (Hero hero) |
|
void | InitializeMobilePartyAroundPosition (TroopRoster memberRoster, TroopRoster prisonerRoster, Vec2 position, float spawnRadius, float minSpawnRadius=0) |
|
override void | Initialize () |
|
void | InitializeMobilePartyAtPosition (TroopRoster memberRoster, TroopRoster prisonerRoster, Vec2 position) |
|
void | InitializeMobilePartyAtPosition (PartyTemplateObject pt, Vec2 position, int troopNumberLimit=-1) |
| Initializes a new instance of the MobileParty class.
|
|
void | InitializeMobilePartyAroundPosition (PartyTemplateObject pt, Vec2 position, float spawnRadius, float minSpawnRadius=0, int troopNumberLimit=-1) |
|
override string | ToString () |
|
void | ValidateSpeed () |
|
void | ChangePartyLeader (Hero newLeader) |
|
void | RemovePartyLeader () |
|
void | OnGameInitialized () |
|
void | SetDisorganized (bool isDisorganized) |
|
void | SetCustomName (TextObject name) |
|
void | SetPartyUsedByQuest (bool isActivelyUsed) |
|
void | ResetTargetParty () |
|
void | IgnoreForHours (float hours) |
|
void | IgnoreByOtherPartiesTill (CampaignTime time) |
|
void | ResetBesiegedSettlement () |
|
void | SetPartyObjective (PartyObjective objective) |
|
void | UpdateVersionNo () |
|
bool | IsSpotted () |
|
int | AddElementToMemberRoster (CharacterObject element, int numberToAdd, bool insertAtFront=false) |
|
int | AddPrisoner (CharacterObject element, int numberToAdd) |
|
Vec3 | GetLogicalPosition () |
|
float | GetTotalStrengthWithFollowers (bool includeNonAttachedArmyMembers=true) |
|
bool | HasPerk (PerkObject perk, bool checkSecondaryRole=false) |
|
SkillEffect.PerkRole | GetHeroPerkRole (Hero hero) |
|
void | SetHeroPerkRole (Hero hero, SkillEffect.PerkRole perkRole) |
|
void | RemoveHeroPerkRole (Hero hero) |
|
Hero | GetRoleHolder (SkillEffect.PerkRole perkRole) |
|
Hero | GetEffectiveRoleHolder (SkillEffect.PerkRole perkRole) |
|
int | GetNumDaysForFoodToLast () |
|
Vec3 | GetPosition () |
|
float | GetTrackDistanceToMainAgent () |
|
bool | CheckTracked (BasicCharacterObject basicCharacter) |
|
void | RemoveParty () |
|
bool | ComputeIsWaiting () |
|
void | GetMountAndHarnessVisualIdsForPartyIcon (out string mountStringId, out string harnessStringId) |
|
void | InitializePartyTrade (int initialGold) |
|
void | AddTaxGold (int amount) |
|
void | UpdatePartyComponentFlags () |
|
| 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 () |
|
void | OnGameInitialized () |
|
Vec3 | GetLogicalPosition () |
|
TextObject | GetName () |
|
Vec3 | GetPosition () |
|
float | GetTrackDistanceToMainAgent () |
|
bool | CheckTracked (BasicCharacterObject basicCharacter) |
|
bool | OnMapClick (bool followModifierUsed) |
|
void | OnHover () |
|
void | OnOpenEncyclopedia () |
|
bool | IsEnemyOf (IFaction faction) |
|
bool | IsAllyOf (IFaction faction) |
|
void | GetMountAndHarnessVisualIdsForPartyIcon (out string mountStringId, out string harnessStringId) |
|
void | OnPartyInteraction (MobileParty mobileParty) |
|
|
static MobileParty | MainParty [get] |
|
static MBReadOnlyList< MobileParty > | All [get] |
|
static MBReadOnlyList< MobileParty > | AllCaravanParties [get] |
|
static MBReadOnlyList< MobileParty > | AllBanditParties [get] |
|
static MBReadOnlyList< MobileParty > | AllLordParties [get] |
|
static MBReadOnlyList< MobileParty > | AllGarrisonParties [get] |
|
static MBReadOnlyList< MobileParty > | AllMilitiaParties [get] |
|
static MBReadOnlyList< MobileParty > | AllVillagerParties [get] |
|
static MBReadOnlyList< MobileParty > | AllCustomParties [get] |
|
static MBReadOnlyList< MobileParty > | AllPartiesWithoutPartyComponent [get] |
|
static int | Count [get] |
|
static MobileParty | ConversationParty [get] |
|
TextObject | Name [get] |
|
Settlement | LastVisitedSettlement [get] |
|
Vec2 | Bearing [get] |
|
MBReadOnlyList< MobileParty > | AttachedParties [get] |
|
float | Aggressiveness [get, set] |
|
int | PaymentLimit [get] |
|
Vec2 | ArmyPositionAdder [get] |
|
Vec2 | AiBehaviorTarget [get] |
|
PartyObjective | Objective = PartyObjective.Neutral [get] |
|
MobilePartyAi | Ai [get] |
|
PartyBase | Party [get] |
|
bool | IsActive [get, set] |
|
CampaignTime | DisorganizedUntilTime [get] |
|
PartyThinkParams | ThinkParamsCache [get] |
|
float | Speed [get] |
|
ExplainedNumber | SpeedExplained [get] |
|
MobileParty | ShortTermTargetParty [get] |
|
Settlement | ShortTermTargetSettlement [get] |
|
bool | IsDisorganized [get] |
|
bool | IsCurrentlyUsedByAQuest [get] |
|
AiBehavior | ShortTermBehavior [get] |
|
bool | IsPartyTradeActive = false [get] |
|
int | PartyTradeGold [get, set] |
|
int | PartyTradeTaxGold = 0 [get] |
|
CampaignTime | StationaryStartTime [get] |
|
int | VersionNo [get] |
|
bool | ShouldJoinPlayerBattles [get, set] |
|
bool | IsDisbanding [get, set] |
|
int | RandomValue [get] |
|
Settlement | CurrentSettlement [get, set] |
|
Settlement | HomeSettlement [get] |
|
MobileParty | AttachedTo [get, set] |
|
Army | Army [get, set] |
|
BesiegerCamp | BesiegerCamp [get, set] |
|
AiBehavior | DefaultBehavior [get] |
|
Settlement | TargetSettlement [get] |
|
Vec2 | TargetPosition [get] |
|
MobileParty | TargetParty [get] |
|
Hero | LeaderHero [get] |
|
Hero | Owner [get] |
|
Hero | EffectiveScout [get] |
|
Hero | EffectiveQuartermaster [get] |
|
Hero | EffectiveEngineer [get] |
|
Hero | EffectiveSurgeon [get] |
|
Clan | ActualClan [get, set] |
|
float | RecentEventsMorale [get, set] |
|
float | Morale [get] |
|
ExplainedNumber | MoraleExplained [get] |
|
PathFaceRecord | CurrentNavigationFace [get] |
|
Vec2 | ErrorPosition [get] |
|
Vec2 | EventPositionAdder [get, set] |
|
bool | IsVisible [get, set] |
|
Vec2 | Position2D [get, set] |
|
bool | IsInspected [get, set] |
|
Vec2 | GetPosition2D [get] |
|
int | TotalWage [get] |
|
ExplainedNumber | TotalWageExplained [get] |
|
MapEvent | MapEvent [get] |
|
TroopRoster | MemberRoster [get] |
|
TroopRoster | PrisonRoster [get] |
|
ItemRoster | ItemRoster [get] |
|
bool | IsMainParty [get] |
|
IFaction | MapFaction [get] |
|
TextObject | ArmyName [get] |
|
SiegeEvent | SiegeEvent [get] |
|
float | Food [get] |
|
int | TotalFoodAtInventory [get] |
|
float | TotalWeightCarried [get] |
|
float | SeeingRange [get] |
|
Settlement | BesiegedSettlement [get] |
|
bool | IsEngaging [get] |
|
bool | IsCurrentlyGoingToSettlement [get] |
|
float | PartySizeRatio [get] |
|
int | LimitedPartySize [get] |
|
Vec2 | VisualPosition2DWithoutError [get] |
|
bool | IsMoving [get] |
|
bool | ShouldBeIgnored [get] |
|
float | FoodChange [get] |
|
float | BaseFoodChange [get] |
|
ExplainedNumber | FoodChangeExplained [get] |
|
float | HealingRateForRegulars [get] |
|
ExplainedNumber | HealingRateForRegularsExplained [get] |
|
float | HealingRateForHeroes [get] |
|
ExplainedNumber | HealingRateForHeroesExplained [get] |
|
ExplainedNumber | SeeingRangeExplanation [get] |
|
int | InventoryCapacity [get] |
|
ExplainedNumber | InventoryCapacityExplainedNumber [get] |
|
MapEventSide | MapEventSide [get, set] |
|
CaravanPartyComponent | CaravanPartyComponent [get] |
|
WarPartyComponent | WarPartyComponent [get] |
|
BanditPartyComponent | BanditPartyComponent [get] |
|
LordPartyComponent | LordPartyComponent [get] |
|
PartyComponent | PartyComponent [get, set] |
|
bool | IsMilitia [get] |
|
bool | IsLordParty [get] |
|
bool | IsVillager [get] |
|
bool | IsCaravan [get] |
|
bool | IsGarrison [get] |
|
bool | IsCustomParty [get] |
|
bool | IsBandit [get] |
|
bool | IsBanditBossParty [get] |
|
bool | AvoidHostileActions [get] |
|
string | StringId [get, set] |
|
MBGUID | Id [get, set] |
|
bool | IsInitialized [get] |
|
bool | IsReady [get, set] |
|
TextObject | Name [get] |
|
Vec2 | Position2D [get] |
|
PathFaceRecord | CurrentNavigationFace [get] |
|
IFaction | MapFaction [get] |
|
bool | IsInspected [get] |
|
bool | IsVisible [get] |
|
bool | IsActive [get, set] |
|
Vec2 | InteractionPosition [get] |
|
TextObject | Name [get] |
|
bool | IsMobileEntity [get] |
|
bool | ShowCircleAroundEntity [get] |
|
Properties inherited from TaleWorlds.CampaignSystem.IRandomOwner |
int | RandomValue [get] |
|