M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent Class Reference

Inherits TaleWorlds.CampaignSystem.Party.PartyComponents.PartyComponent.

Public Member Functions

void SetBaseSpeed (float speed)
 
override void GetMountAndHarnessVisualIdsForPartyIcon (PartyBase party, out string mountStringId, out string harnessStringId)
 
- Public Member Functions inherited from TaleWorlds.CampaignSystem.Party.PartyComponents.PartyComponent
delegate void OnPartyComponentCreatedDelegate (MobileParty mobileParty)
 
virtual void SetWagePaymentLimit (int newLimit)
 
virtual void ClearCachedName ()
 
virtual void ChangePartyLeader (Hero newLeader)
 
virtual void GetMountAndHarnessVisualIdsForPartyIcon (PartyBase party, out string mountStringId, out string harnessStringId)
 

Static Public Member Functions

static MobileParty CreateQuestParty (Vec2 position, float spawnRadius, Settlement homeSettlement, TextObject name, Clan clan, PartyTemplateObject partyTemplate, Hero owner, int troopLimit=0, string partyMountStringId="", string partyHarnessStringId="", float customPartyBaseSpeed=0.0f, bool avoidHostileActions=false)
 
static MobileParty CreateQuestParty (Vec2 position, float spawnRadius, Settlement homeSettlement, TextObject name, Clan clan, TroopRoster troopRoster, TroopRoster prisonerRoster, Hero owner, string partyMountStringId="", string partyHarnessStringId="", float customPartyBaseSpeed=0.0f, bool avoidHostileActions=false)
 

Public Attributes

bool AvoidHostileActions
 

Properties

float CustomPartyBaseSpeed [get, set]
 
float BaseSpeed [get]
 
override Hero PartyOwner [get]
 
override TextObject Name [get]
 
override Settlement HomeSettlement [get]
 
- Properties inherited from TaleWorlds.CampaignSystem.Party.PartyComponents.PartyComponent
MobileParty MobileParty [get]
 
PartyBase Party [get]
 
abstract Hero PartyOwner [get]
 
abstract TextObject Name [get]
 
abstract Settlement HomeSettlement [get]
 
virtual int WagePaymentLimit [get]
 
virtual Hero Leader [get]
 

Additional Inherited Members

- Protected Member Functions inherited from TaleWorlds.CampaignSystem.Party.PartyComponents.PartyComponent
virtual void OnInitialize ()
 
virtual void OnFinalize ()
 

Member Function Documentation

◆ CreateQuestParty() [1/2]

static MobileParty TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.CreateQuestParty ( Vec2  position,
float  spawnRadius,
Settlement  homeSettlement,
TextObject  name,
Clan  clan,
PartyTemplateObject  partyTemplate,
Hero  owner,
int  troopLimit = 0,
string  partyMountStringId = "",
string  partyHarnessStringId = "",
float  customPartyBaseSpeed = 0::0f,
bool  avoidHostileActions = false 
)
static

◆ CreateQuestParty() [2/2]

static MobileParty TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.CreateQuestParty ( Vec2  position,
float  spawnRadius,
Settlement  homeSettlement,
TextObject  name,
Clan  clan,
TroopRoster  troopRoster,
TroopRoster  prisonerRoster,
Hero  owner,
string  partyMountStringId = "",
string  partyHarnessStringId = "",
float  customPartyBaseSpeed = 0::0f,
bool  avoidHostileActions = false 
)
static

◆ SetBaseSpeed()

void TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.SetBaseSpeed ( float  speed)

◆ GetMountAndHarnessVisualIdsForPartyIcon()

override void TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.GetMountAndHarnessVisualIdsForPartyIcon ( PartyBase  party,
out string  mountStringId,
out string  harnessStringId 
)
virtual

Member Data Documentation

◆ AvoidHostileActions

bool TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.AvoidHostileActions

Property Documentation

◆ CustomPartyBaseSpeed

float TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.CustomPartyBaseSpeed
getset

◆ BaseSpeed

float TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.BaseSpeed
get

◆ PartyOwner

override Hero TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.PartyOwner
get

◆ Name

override TextObject TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.Name
get

◆ HomeSettlement

override Settlement TaleWorlds.CampaignSystem.Party.PartyComponents.CustomPartyComponent.HomeSettlement
get