Common class for villages and towns.
|
void | SetWallSectionHitPointsRatioAtIndex (int index, float hitPointsRatio) |
|
Vec3 | GetLogicalPosition () |
|
void | SetGarrisonWagePaymentLimit (int limit) |
|
IEnumerable< PartyBase > | GetInvolvedPartiesForEventType (MapEvent.BattleTypes mapEventType=MapEvent.BattleTypes.Siege) |
|
PartyBase | GetNextInvolvedPartyForEventType (ref int partyIndex, MapEvent.BattleTypes mapEventType=MapEvent.BattleTypes.Siege) |
|
bool | HasInvolvedPartyForEventType (PartyBase party, MapEvent.BattleTypes mapEventType=MapEvent.BattleTypes.Siege) |
|
bool | IsUnderRebellionAttack () |
|
| Settlement () |
| Initializes a new instance of the Settlement class.
|
|
| Settlement (TextObject name, LocationComplex locationComplex, PartyTemplateObject pt) |
| Initializes a new instance of the Settlement class.
|
|
float | GetSettlementValueForEnemyHero (Hero hero) |
|
float | GetValue (Hero hero=null, bool countAlsoBoundedSettlements=true) |
|
override TextObject | GetName () |
| This function is not same with get property of Name. It overrides the function in MBObjectBase class. It is used in encyclopedia etc.
|
|
float | GetSettlementValueForFaction (IFaction faction) |
|
override string | ToString () |
|
override void | Deserialize (MBObjectManager objectManager, XmlNode node) |
|
void | OnFinishLoadState () |
|
void | OnGameInitialized () |
|
void | OnGameCreated () |
|
void | OnSessionStart () |
|
void | OnPlayerEncounterFinish () |
|
Vec3 | GetPosition () |
|
float | GetTrackDistanceToMainAgent () |
|
bool | CheckTracked (BasicCharacterObject basicCharacter) |
|
void | SetNextSiegeState () |
|
void | ResetSiegeState () |
|
void | AddGarrisonParty (bool addInitialGarrison=false) |
|
void | SetSiegeStrategy (SiegeStrategy strategy) |
|
void | InitializeSiegeEventSide () |
|
void | OnTroopsKilledOnSide (int killCount) |
|
void | AddSiegeEngineMissile (SiegeEvent.SiegeEngineMissile missile) |
|
void | RemoveDeprecatedMissiles () |
|
void | GetAttackTarget (ISiegeEventSide siegeEventSide, SiegeEngineType siegeEngine, int siegeEngineSlot, out SiegeBombardTargets targetType, out int targetIndex) |
|
void | FinalizeSiegeEvent () |
|
void | OnPartyInteraction (MobileParty mobileParty) |
|
void | GetMountAndHarnessVisualIdsForPartyIcon (out string mountStringId, out string harnessStringId) |
|
void | SetSettlementComponent (SettlementComponent settlementComponent) |
|
| 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) |
|
IEnumerable< PartyBase > | GetInvolvedPartiesForEventType (MapEvent.BattleTypes mapEventType=MapEvent.BattleTypes.Siege) |
|
PartyBase | GetNextInvolvedPartyForEventType (ref int partyIndex, MapEvent.BattleTypes mapEventType=MapEvent.BattleTypes.Siege) |
|
bool | HasInvolvedPartyForEventType (PartyBase party, MapEvent.BattleTypes mapEventType=MapEvent.BattleTypes.Siege) |
|
void | OnTroopsKilledOnSide (int killCount) |
|
void | AddSiegeEngineMissile (SiegeEvent.SiegeEngineMissile missile) |
|
void | RemoveDeprecatedMissiles () |
|
void | SetSiegeStrategy (SiegeStrategy strategy) |
|
void | InitializeSiegeEventSide () |
|
void | GetAttackTarget (ISiegeEventSide siegeEventSide, SiegeEngineType siegeEngine, int siegeEngineSlot, out SiegeBombardTargets targetType, out int targetIndex) |
|
void | FinalizeSiegeEvent () |
|
bool | OnMapClick (bool followModifierUsed) |
|
void | OnHover () |
|
void | OnOpenEncyclopedia () |
|
bool | IsMainEntity () |
|
bool | IsEnemyOf (IFaction faction) |
|
bool | IsAllyOf (IFaction faction) |
|
void | GetMountAndHarnessVisualIdsForPartyIcon (out string mountStringId, out string harnessStringId) |
|
void | OnPartyInteraction (MobileParty mobileParty) |
|
|
PartyBase | Party [get] |
|
int | NumberOfLordPartiesAt [get] |
|
int | BribePaid [get, set] |
|
SiegeEvent | SiegeEvent [get, set] |
|
bool | IsActive [get, set] |
|
Hero | Owner [get] |
|
bool | IsVisible [get, set] |
|
bool | IsInspected [get, set] |
|
int | WallSectionCount [get] |
|
float | NumberOfEnemiesSpottedAround [get, set] |
|
float | NumberOfAlliesSpottedAround [get, set] |
|
float | Prosperity [get, set] |
|
int | RandomValue [get] |
|
Vec2 | GetPosition2D [get] |
|
float | Militia [get, set] |
|
MBReadOnlyList< float > | SettlementWallSectionHitPointsRatioList [get] |
|
float | SettlementTotalWallHitPoints [get] |
|
float | MaxHitPointsOfOneWallSection [get] |
|
float | SettlementHitPoints [get] |
|
float | MaxWallHitPoints [get] |
|
MBReadOnlyList< MobileParty > | Parties [get] |
|
MBReadOnlyList< Hero > | HeroesWithoutParty [get] |
|
MBReadOnlyList< Hero > | Notables [get] |
|
SettlementComponent | SettlementComponent [get] |
|
Vec2 | GatePosition [get] |
|
Vec2 | Position2D [get] |
|
PathFaceRecord | CurrentNavigationFace [get] |
|
IFaction | MapFaction [get] |
|
TextObject | Name [get, set] |
|
TextObject | EncyclopediaText [get] |
|
string | EncyclopediaLink [get] |
|
TextObject | EncyclopediaLinkWithName [get] |
|
int | GarrisonWagePaymentLimit [get] |
|
ItemRoster | ItemRoster [get] |
|
MBReadOnlyList< Village > | BoundVillages [get] |
|
MobileParty | LastAttackerParty [get, set] |
|
SiegeEvent.SiegeEnginesContainer | SiegeEngines [get] |
|
MBReadOnlyList< SiegeEvent.SiegeEngineMissile > | SiegeEngineMissiles [get] |
|
BattleSideEnum | BattleSide [get] |
|
int | NumberOfTroopsKilledOnSide [get] |
|
SiegeStrategy | SiegeStrategy [get] |
|
List< Alley > | Alleys [get] |
|
bool | IsTown [get] |
|
bool | IsCastle [get] |
|
bool | IsFortification [get] |
|
bool | IsVillage [get] |
|
bool | IsHideout [get] |
|
bool | IsStarving [get] |
|
bool | IsRaided [get] |
|
bool | IsBooming [get] |
|
bool | InRebelliousState [get] |
|
bool | IsUnderRaid [get] |
|
bool | IsUnderSiege [get] |
|
LocationComplex | LocationComplex [get] |
|
static Settlement | CurrentSettlement [get] |
|
static MBReadOnlyList< Settlement > | All [get] |
|
static Settlement | GetFirst [get] |
|
SiegeState | CurrentSiegeState [get] |
|
Clan | OwnerClan [get] |
|
bool | IsAlerted [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] |
|
SiegeEvent | SiegeEvent [get] |
|
SiegeStrategy | SiegeStrategy [get] |
|
BattleSideEnum | BattleSide [get] |
|
int | NumberOfTroopsKilledOnSide [get] |
|
SiegeEvent.SiegeEnginesContainer | SiegeEngines [get] |
|
MBReadOnlyList< SiegeEvent.SiegeEngineMissile > | SiegeEngineMissiles [get] |
|
Vec2 | InteractionPosition [get] |
|
TextObject | Name [get] |
|
bool | IsMobileEntity [get] |
|
IMapEntity | AttachedEntity [get] |
|
IPartyVisual | PartyVisual [get] |
|
bool | ShowCircleAroundEntity [get] |
|
Properties inherited from TaleWorlds.CampaignSystem.IRandomOwner |
int | RandomValue [get] |
|