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

Namespaces

namespace  PartyComponents
 

Classes

struct  AiBehaviorScoreTuple
 
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  PartyScreenManager
 
class  PartyTemplateObject
 
struct  PartyTemplateStack
 
struct  TroopTradeDifference
 

Enumerations

enum  AiBehavior : int {
  Hold = 0 ,
  None ,
  GoToSettlement ,
  AssaultSettlement ,
  RaidSettlement ,
  BesiegeSettlement ,
  EngageParty ,
  JoinParty ,
  GoAroundParty ,
  GoToPoint ,
  FleeToPoint ,
  FleeToGate ,
  FleeToParty ,
  PatrolAroundPoint ,
  EscortParty ,
  DefendSettlement ,
  DoOperation ,
  NumAiBehaviors
}
 
enum  MoveModeType {
  Hold ,
  Point ,
  Party ,
  Escort
}
 
enum  PartyScreenMode {
  Normal ,
  Shared ,
  Loot ,
  Ransom ,
  PrisonerManage ,
  TroopsManage ,
  QuestTroopManage
}
 

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)
 

Enumeration Type Documentation

◆ AiBehavior

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

◆ MoveModeType

Enumerator
Hold 
Point 
Party 
Escort 

◆ PartyScreenMode

Enumerator
Normal 
Shared 
Loot 
Ransom 
PrisonerManage 
TroopsManage 
QuestTroopManage 

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 
)