Parties
PartyBase
Settlement
MobileParty
Our party:
PartyBase MobileParty.Party
Count members
TroopRoster
MobileParty.MainParty.MemberRoster.TotalManCount
.TotalRegulars
.TotalWoundedRegulars
.TotalWoundedHeroes
.TotalHeroes
.TotalWounded
.TotalManCount
.TotalHealthyCount
.TotalHealthyCount
Morale
Get:
MobileParty.MainParty.Morale
MobileParty.MainParty.RecentEventsMorale
Set:
MobileParty.MainParty.RecentEventsMorale += 10;
Scouting
mobileParty.EffectiveScout
Add hero to a party
AddCompanionAction.Apply()
Destroy
DestroyPartyAction
Don't use MobileParty.RemoveParty()