M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.Party Namespace Reference

Namespaces

namespace  PartyComponents
 

Classes

class  MobileParty
 MobileParty class stores data related with mobile parties. More...
 
class  MobilePartyAi
 
class  PartyBase
 Base party class. More...
 
class  PartyScreenData
 
class  PartyScreenLogic
 
struct  PartyScreenLogicInitializationData
 
class  PartyTemplateObject
 
struct  PartyTemplateStack
 
struct  ShipTemplateStack
 
struct  TroopTradeDifference
 

Enumerations

enum  AiBehavior : int {
  Hold = 0 ,
  None ,
  GoToSettlement ,
  AssaultSettlement ,
  RaidSettlement ,
  BesiegeSettlement ,
  EngageParty ,
  JoinParty ,
  GoAroundParty ,
  GoToPoint ,
  FleeToPoint ,
  FleeToGate ,
  FleeToParty ,
  PatrolAroundPoint ,
  EscortParty ,
  DefendSettlement ,
  DoOperation ,
  MoveToNearestLandOrPort ,
  NumAiBehaviors
}
 
enum  MoveModeType {
  Hold ,
  Point ,
  Party
}
 

Functions

delegate bool PartyPresentationDoneButtonDelegate (TroopRoster leftMemberRoster, TroopRoster leftPrisonRoster, TroopRoster rightMemberRoster, TroopRoster rightPrisonRoster, FlattenedTroopRoster takenPrisonerRoster, FlattenedTroopRoster releasedPrisonerRoster, bool isForced, PartyBase leftParty=null, PartyBase rightParty=null)
 
delegate Tuple< bool, TextObjectPartyPresentationDoneButtonConditionDelegate (TroopRoster leftMemberRoster, TroopRoster leftPrisonRoster, TroopRoster rightMemberRoster, TroopRoster rightPrisonRoster, int leftLimitNum, int rightLimitNum)
 
delegate bool PartyPresentationCancelButtonActivateDelegate ()
 
delegate void PartyPresentationCancelButtonDelegate ()
 
delegate void PartyScreenClosedDelegate (PartyBase leftOwnerParty, TroopRoster leftMemberRoster, TroopRoster leftPrisonRoster, PartyBase rightOwnerParty, TroopRoster rightMemberRoster, TroopRoster rightPrisonRoster, bool fromCancel)
 
delegate bool IsTroopTransferableDelegate (CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)
 
delegate bool CanTalkToHeroDelegate (Hero hero, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty, out TextObject cantTalkReason)
 

Enumeration Type Documentation

◆ AiBehavior

Enumerator
Hold 
None 
GoToSettlement 
AssaultSettlement 
RaidSettlement 
BesiegeSettlement 
EngageParty 
JoinParty 
GoAroundParty 
GoToPoint 
FleeToPoint 
FleeToGate 
FleeToParty 
PatrolAroundPoint 
EscortParty 
DefendSettlement 
DoOperation 
MoveToNearestLandOrPort 
NumAiBehaviors 

◆ MoveModeType

Enumerator
Hold 
Point 
Party 

Function Documentation

◆ PartyPresentationDoneButtonDelegate()

delegate bool TaleWorlds.CampaignSystem.Party.PartyPresentationDoneButtonDelegate ( TroopRoster leftMemberRoster,
TroopRoster leftPrisonRoster,
TroopRoster rightMemberRoster,
TroopRoster rightPrisonRoster,
FlattenedTroopRoster takenPrisonerRoster,
FlattenedTroopRoster releasedPrisonerRoster,
bool isForced,
PartyBase leftParty = null,
PartyBase rightParty = null )

◆ PartyPresentationDoneButtonConditionDelegate()

delegate Tuple< bool, TextObject > TaleWorlds.CampaignSystem.Party.PartyPresentationDoneButtonConditionDelegate ( TroopRoster leftMemberRoster,
TroopRoster leftPrisonRoster,
TroopRoster rightMemberRoster,
TroopRoster rightPrisonRoster,
int leftLimitNum,
int rightLimitNum )

◆ PartyPresentationCancelButtonActivateDelegate()

delegate bool TaleWorlds.CampaignSystem.Party.PartyPresentationCancelButtonActivateDelegate ( )

◆ PartyPresentationCancelButtonDelegate()

delegate void TaleWorlds.CampaignSystem.Party.PartyPresentationCancelButtonDelegate ( )

◆ PartyScreenClosedDelegate()

delegate void TaleWorlds.CampaignSystem.Party.PartyScreenClosedDelegate ( PartyBase leftOwnerParty,
TroopRoster leftMemberRoster,
TroopRoster leftPrisonRoster,
PartyBase rightOwnerParty,
TroopRoster rightMemberRoster,
TroopRoster rightPrisonRoster,
bool fromCancel )

◆ IsTroopTransferableDelegate()

delegate bool TaleWorlds.CampaignSystem.Party.IsTroopTransferableDelegate ( CharacterObject character,
PartyScreenLogic.TroopType type,
PartyScreenLogic.PartyRosterSide side,
PartyBase LeftOwnerParty )

◆ CanTalkToHeroDelegate()

delegate bool TaleWorlds.CampaignSystem.Party.CanTalkToHeroDelegate ( Hero hero,
PartyScreenLogic.TroopType type,
PartyScreenLogic.PartyRosterSide side,
PartyBase LeftOwnerParty,
out TextObject cantTalkReason )