Base party class.
Inherits TaleWorlds.Core.IBattleCombatant, and TaleWorlds.CampaignSystem.IRandomOwner.
|
void | OnVisibilityChanged (bool value) |
|
void | OnConsumedFood () |
|
void | SetCustomOwner (Hero customOwner) |
|
void | SetLevelMaskIsDirty () |
|
void | OnLevelMaskUpdated () |
|
int | GetNumberOfHealthyMenOfTier (int tier) |
|
| PartyBase (MobileParty mobileParty) |
| Be careful when using this directly, especially when creating dummy parties (consider using roster / MobileParty instead) since this does not register itself to the Campaign.Parties and needs manual deletion if its somehow referenced.
|
|
| PartyBase (Settlement settlement) |
|
int | GetNumberOfMenWith (TraitObject trait) |
|
int | AddPrisoner (CharacterObject element, int numberToAdd) |
|
int | AddMember (CharacterObject element, int numberToAdd, int numberToAddWounded=0) |
|
void | AddPrisoners (TroopRoster roster) |
|
void | AddMembers (TroopRoster roster) |
|
override string | ToString () |
|
void | PlaceRandomPositionAroundPosition (Vec2 centerPosition, float radius) |
|
int | AddElementToMemberRoster (CharacterObject element, int numberToAdd, bool insertAtFront=false) |
|
void | AddToMemberRosterElementAtIndex (int index, int numberToAdd, int woundedCount=0) |
|
void | WoundMemberRosterElements (CharacterObject elementObj, int numberToWound) |
|
void | WoundMemberRosterElementsWithIndex (int elementIndex, int numberToWound) |
|
void | UpdateVisibilityAndInspected (float mainPartySeeingRange=0) |
|
void | SetAsCameraFollowParty () |
|
void | SetVisualAsDirty () |
|
void | OnVisualsUpdated () |
|
void | ResetTempXp () |
|
void | OnGameInitialized () |
|
int | GetTacticsSkillAmount () |
|
◆ PartyBase() [1/2]
TaleWorlds.CampaignSystem.Party.PartyBase.PartyBase |
( |
MobileParty |
mobileParty | ) |
|
◆ PartyBase() [2/2]
TaleWorlds.CampaignSystem.Party.PartyBase.PartyBase |
( |
Settlement |
settlement | ) |
|
◆ OnVisibilityChanged()
void TaleWorlds.CampaignSystem.Party.PartyBase.OnVisibilityChanged |
( |
bool |
value | ) |
|
◆ OnConsumedFood()
void TaleWorlds.CampaignSystem.Party.PartyBase.OnConsumedFood |
( |
| ) |
|
◆ SetCustomOwner()
void TaleWorlds.CampaignSystem.Party.PartyBase.SetCustomOwner |
( |
Hero |
customOwner | ) |
|
◆ SetLevelMaskIsDirty()
void TaleWorlds.CampaignSystem.Party.PartyBase.SetLevelMaskIsDirty |
( |
| ) |
|
◆ OnLevelMaskUpdated()
void TaleWorlds.CampaignSystem.Party.PartyBase.OnLevelMaskUpdated |
( |
| ) |
|
◆ GetNumberOfHealthyMenOfTier()
int TaleWorlds.CampaignSystem.Party.PartyBase.GetNumberOfHealthyMenOfTier |
( |
int |
tier | ) |
|
◆ GetNumberOfMenWith()
int TaleWorlds.CampaignSystem.Party.PartyBase.GetNumberOfMenWith |
( |
TraitObject |
trait | ) |
|
◆ AddPrisoner()
int TaleWorlds.CampaignSystem.Party.PartyBase.AddPrisoner |
( |
CharacterObject |
element, |
|
|
int |
numberToAdd |
|
) |
| |
◆ AddMember()
int TaleWorlds.CampaignSystem.Party.PartyBase.AddMember |
( |
CharacterObject |
element, |
|
|
int |
numberToAdd, |
|
|
int |
numberToAddWounded = 0 |
|
) |
| |
◆ AddPrisoners()
void TaleWorlds.CampaignSystem.Party.PartyBase.AddPrisoners |
( |
TroopRoster |
roster | ) |
|
◆ AddMembers()
void TaleWorlds.CampaignSystem.Party.PartyBase.AddMembers |
( |
TroopRoster |
roster | ) |
|
◆ ToString()
override string TaleWorlds.CampaignSystem.Party.PartyBase.ToString |
( |
| ) |
|
◆ PlaceRandomPositionAroundPosition()
void TaleWorlds.CampaignSystem.Party.PartyBase.PlaceRandomPositionAroundPosition |
( |
Vec2 |
centerPosition, |
|
|
float |
radius |
|
) |
| |
◆ AddElementToMemberRoster()
int TaleWorlds.CampaignSystem.Party.PartyBase.AddElementToMemberRoster |
( |
CharacterObject |
element, |
|
|
int |
numberToAdd, |
|
|
bool |
insertAtFront = false |
|
) |
| |
◆ AddToMemberRosterElementAtIndex()
void TaleWorlds.CampaignSystem.Party.PartyBase.AddToMemberRosterElementAtIndex |
( |
int |
index, |
|
|
int |
numberToAdd, |
|
|
int |
woundedCount = 0 |
|
) |
| |
◆ WoundMemberRosterElements()
void TaleWorlds.CampaignSystem.Party.PartyBase.WoundMemberRosterElements |
( |
CharacterObject |
elementObj, |
|
|
int |
numberToWound |
|
) |
| |
◆ WoundMemberRosterElementsWithIndex()
void TaleWorlds.CampaignSystem.Party.PartyBase.WoundMemberRosterElementsWithIndex |
( |
int |
elementIndex, |
|
|
int |
numberToWound |
|
) |
| |
◆ IsPositionOkForTraveling()
static bool TaleWorlds.CampaignSystem.Party.PartyBase.IsPositionOkForTraveling |
( |
Vec2 |
position | ) |
|
|
static |
◆ UpdateVisibilityAndInspected()
void TaleWorlds.CampaignSystem.Party.PartyBase.UpdateVisibilityAndInspected |
( |
float |
mainPartySeeingRange = 0 | ) |
|
◆ SetAsCameraFollowParty()
void TaleWorlds.CampaignSystem.Party.PartyBase.SetAsCameraFollowParty |
( |
| ) |
|
◆ SetVisualAsDirty()
void TaleWorlds.CampaignSystem.Party.PartyBase.SetVisualAsDirty |
( |
| ) |
|
◆ OnVisualsUpdated()
void TaleWorlds.CampaignSystem.Party.PartyBase.OnVisualsUpdated |
( |
| ) |
|
◆ ResetTempXp()
void TaleWorlds.CampaignSystem.Party.PartyBase.ResetTempXp |
( |
| ) |
|
◆ OnGameInitialized()
void TaleWorlds.CampaignSystem.Party.PartyBase.OnGameInitialized |
( |
| ) |
|
◆ Position2D
Vec2 TaleWorlds.CampaignSystem.Party.PartyBase.Position2D |
|
get |
◆ IsVisible
bool TaleWorlds.CampaignSystem.Party.PartyBase.IsVisible |
|
get |
◆ IsActive
bool TaleWorlds.CampaignSystem.Party.PartyBase.IsActive |
|
get |
◆ SiegeEvent
SiegeEvent TaleWorlds.CampaignSystem.Party.PartyBase.SiegeEvent |
|
get |
◆ Settlement
Settlement TaleWorlds.CampaignSystem.Party.PartyBase.Settlement |
|
get |
◆ MobileParty
MobileParty TaleWorlds.CampaignSystem.Party.PartyBase.MobileParty |
|
get |
◆ IsSettlement
bool TaleWorlds.CampaignSystem.Party.PartyBase.IsSettlement |
|
get |
◆ IsMobile
bool TaleWorlds.CampaignSystem.Party.PartyBase.IsMobile |
|
get |
◆ MemberRoster
TroopRoster TaleWorlds.CampaignSystem.Party.PartyBase.MemberRoster |
|
get |
◆ PrisonRoster
TroopRoster TaleWorlds.CampaignSystem.Party.PartyBase.PrisonRoster |
|
get |
◆ ItemRoster
ItemRoster TaleWorlds.CampaignSystem.Party.PartyBase.ItemRoster |
|
get |
◆ Name
TextObject TaleWorlds.CampaignSystem.Party.PartyBase.Name |
|
get |
◆ DaysStarving
float TaleWorlds.CampaignSystem.Party.PartyBase.DaysStarving |
|
get |
◆ RemainingFoodPercentage
int TaleWorlds.CampaignSystem.Party.PartyBase.RemainingFoodPercentage |
|
getset |
◆ IsStarving
bool TaleWorlds.CampaignSystem.Party.PartyBase.IsStarving |
|
get |
◆ Id
string TaleWorlds.CampaignSystem.Party.PartyBase.Id |
|
get |
◆ Owner
Hero TaleWorlds.CampaignSystem.Party.PartyBase.Owner |
|
get |
◆ LeaderHero
Hero TaleWorlds.CampaignSystem.Party.PartyBase.LeaderHero |
|
get |
◆ MainParty
PartyBase TaleWorlds.CampaignSystem.Party.PartyBase.MainParty |
|
staticget |
◆ LevelMaskIsDirty
bool TaleWorlds.CampaignSystem.Party.PartyBase.LevelMaskIsDirty |
|
get |
◆ Index
int TaleWorlds.CampaignSystem.Party.PartyBase.Index |
|
get |
◆ IsValid
bool TaleWorlds.CampaignSystem.Party.PartyBase.IsValid |
|
get |
◆ MapEntity
IMapEntity TaleWorlds.CampaignSystem.Party.PartyBase.MapEntity |
|
get |
◆ MapFaction
IFaction TaleWorlds.CampaignSystem.Party.PartyBase.MapFaction |
|
get |
◆ RandomValue
int TaleWorlds.CampaignSystem.Party.PartyBase.RandomValue = MBRandom.RandomInt(1, int.MaxValue) |
|
get |
◆ Culture
◆ PrimaryColorPair
Tuple<uint, uint> TaleWorlds.CampaignSystem.Party.PartyBase.PrimaryColorPair |
|
get |
◆ AlternativeColorPair
Tuple<uint, uint> TaleWorlds.CampaignSystem.Party.PartyBase.AlternativeColorPair |
|
get |
◆ Banner
Banner TaleWorlds.CampaignSystem.Party.PartyBase.Banner |
|
get |
◆ MapEvent
MapEvent TaleWorlds.CampaignSystem.Party.PartyBase.MapEvent |
|
get |
◆ MapEventSide
MapEventSide TaleWorlds.CampaignSystem.Party.PartyBase.MapEventSide |
|
getset |
◆ Side
◆ OpponentSide
◆ PartySizeLimit
int TaleWorlds.CampaignSystem.Party.PartyBase.PartySizeLimit |
|
get |
◆ PrisonerSizeLimit
int TaleWorlds.CampaignSystem.Party.PartyBase.PrisonerSizeLimit |
|
get |
◆ PartySizeLimitExplainer
ExplainedNumber TaleWorlds.CampaignSystem.Party.PartyBase.PartySizeLimitExplainer |
|
get |
◆ PrisonerSizeLimitExplainer
ExplainedNumber TaleWorlds.CampaignSystem.Party.PartyBase.PrisonerSizeLimitExplainer |
|
get |
◆ NumberOfHealthyMembers
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfHealthyMembers |
|
get |
◆ NumberOfRegularMembers
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfRegularMembers |
|
get |
◆ NumberOfWoundedTotalMembers
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfWoundedTotalMembers |
|
get |
◆ NumberOfAllMembers
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfAllMembers |
|
get |
◆ NumberOfPrisoners
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfPrisoners |
|
get |
◆ NumberOfMounts
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfMounts |
|
get |
◆ NumberOfPackAnimals
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfPackAnimals |
|
get |
◆ PrisonerHeroes
IEnumerable<CharacterObject> TaleWorlds.CampaignSystem.Party.PartyBase.PrisonerHeroes |
|
get |
◆ NumberOfMenWithHorse
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfMenWithHorse |
|
get |
◆ NumberOfMenWithoutHorse
int TaleWorlds.CampaignSystem.Party.PartyBase.NumberOfMenWithoutHorse |
|
get |
◆ InventoryCapacity
int TaleWorlds.CampaignSystem.Party.PartyBase.InventoryCapacity |
|
get |
◆ TotalStrength
float TaleWorlds.CampaignSystem.Party.PartyBase.TotalStrength |
|
get |
◆ AverageBearingRotation
float TaleWorlds.CampaignSystem.Party.PartyBase.AverageBearingRotation |
|
getset |
◆ BasicCulture
◆ General
◆ IsVisualDirty
bool TaleWorlds.CampaignSystem.Party.PartyBase.IsVisualDirty |
|
get |