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

Static Public Member Functions

static void CloseScreen (bool isForced, bool fromCancel=false)
 
static void OpenScreenAsCheat ()
 
static void OpenScreenAsNormal ()
 
static void OpenScreenAsRansom ()
 
static void OpenScreenAsLoot (TroopRoster leftMemberRoster, TroopRoster leftPrisonerRoster, TextObject leftPartyName, int leftPartySizeLimit, PartyScreenClosedDelegate partyScreenClosedDelegate=null)
 
static void OpenScreenAsManageTroopsAndPrisoners (MobileParty leftParty, PartyScreenClosedDelegate onPartyScreenClosed=null)
 
static void OpenScreenAsReceiveTroops (TroopRoster leftMemberParty, TextObject leftPartyName, PartyScreenClosedDelegate partyScreenClosedDelegate=null)
 
static void OpenScreenAsManageTroops (MobileParty leftParty)
 
static void OpenScreenAsDonateTroops (MobileParty leftParty)
 
static void OpenScreenAsDonateGarrisonWithCurrentSettlement ()
 
static void OpenScreenAsDonatePrisoners ()
 
static bool DonatePrisonerTransferableDelegate (CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)
 
static void OpenScreenAsManagePrisoners ()
 
static bool TroopTransferableDelegate (CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase leftOwnerParty)
 
static bool ClanManageTroopAndPrisonerTransferableDelegate (CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)
 
static bool ClanManageTroopTransferableDelegate (CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)
 
static bool DonateModeTroopTransferableDelegate (CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)
 
static void OpenScreenWithCondition (IsTroopTransferableDelegate isTroopTransferable, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyPresentationDoneButtonDelegate onDoneClicked, PartyPresentationCancelButtonDelegate onCancelClicked, PartyScreenLogic.TransferState memberTransferState, PartyScreenLogic.TransferState prisonerTransferState, TextObject leftPartyName, int limit, bool showProgressBar, bool isDonating, PartyScreenMode screenMode=PartyScreenMode.Normal)
 
static void OpenScreenForManagingAlley (TroopRoster memberRosterLeft, IsTroopTransferableDelegate isTroopTransferable, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyPresentationDoneButtonDelegate onDoneClicked, TextObject leftPartyName, PartyPresentationCancelButtonDelegate onCancelButtonClicked)
 
static void OpenScreenAsQuest (TroopRoster leftMemberRoster, TextObject leftPartyName, int leftPartySizeLimit, int questDaysMultiplier, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyScreenClosedDelegate onPartyScreenClosed, IsTroopTransferableDelegate isTroopTransferable, PartyPresentationCancelButtonActivateDelegate partyPresentationCancelButtonActivateDelegate=null)
 
static void OpenScreenWithDummyRoster (TroopRoster leftMemberRoster, TroopRoster leftPrisonerRoster, TroopRoster rightMemberRoster, TroopRoster rightPrisonerRoster, TextObject leftPartyName, TextObject rightPartyName, int leftPartySizeLimit, int rightPartySizeLimit, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyScreenClosedDelegate onPartyScreenClosed, IsTroopTransferableDelegate isTroopTransferable, PartyPresentationCancelButtonActivateDelegate partyPresentationCancelButtonActivateDelegate=null)
 
static void OpenScreenWithDummyRosterWithMainParty (TroopRoster leftMemberRoster, TroopRoster leftPrisonerRoster, TextObject leftPartyName, int leftPartySizeLimit, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyScreenClosedDelegate onPartyScreenClosed, IsTroopTransferableDelegate isTroopTransferable, PartyPresentationCancelButtonActivateDelegate partyPresentationCancelButtonActivateDelegate=null)
 
static void OpenScreenAsCreateClanPartyForHero (Hero hero)
 

Properties

bool IsDonating [get]
 Represents if the currently given troops from the right side will be count as donations. If yes, right side will gain influence etc.
 
PartyScreenMode CurrentMode [get]
 
static PartyScreenManager Instance [get]
 
static PartyScreenLogic PartyScreenLogic [get]
 

Member Function Documentation

◆ CloseScreen()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.CloseScreen ( bool  isForced,
bool  fromCancel = false 
)
static

◆ OpenScreenAsCheat()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsCheat ( )
static

◆ OpenScreenAsNormal()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsNormal ( )
static

◆ OpenScreenAsRansom()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsRansom ( )
static

◆ OpenScreenAsLoot()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsLoot ( TroopRoster  leftMemberRoster,
TroopRoster  leftPrisonerRoster,
TextObject  leftPartyName,
int  leftPartySizeLimit,
PartyScreenClosedDelegate  partyScreenClosedDelegate = null 
)
static

◆ OpenScreenAsManageTroopsAndPrisoners()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsManageTroopsAndPrisoners ( MobileParty  leftParty,
PartyScreenClosedDelegate  onPartyScreenClosed = null 
)
static

◆ OpenScreenAsReceiveTroops()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsReceiveTroops ( TroopRoster  leftMemberParty,
TextObject  leftPartyName,
PartyScreenClosedDelegate  partyScreenClosedDelegate = null 
)
static

◆ OpenScreenAsManageTroops()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsManageTroops ( MobileParty  leftParty)
static

◆ OpenScreenAsDonateTroops()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsDonateTroops ( MobileParty  leftParty)
static

◆ OpenScreenAsDonateGarrisonWithCurrentSettlement()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsDonateGarrisonWithCurrentSettlement ( )
static

◆ OpenScreenAsDonatePrisoners()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsDonatePrisoners ( )
static

◆ DonatePrisonerTransferableDelegate()

static bool TaleWorlds.CampaignSystem.Party.PartyScreenManager.DonatePrisonerTransferableDelegate ( CharacterObject  character,
PartyScreenLogic::TroopType  type,
PartyScreenLogic::PartyRosterSide  side,
PartyBase  LeftOwnerParty 
)
static

◆ OpenScreenAsManagePrisoners()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsManagePrisoners ( )
static

◆ TroopTransferableDelegate()

static bool TaleWorlds.CampaignSystem.Party.PartyScreenManager.TroopTransferableDelegate ( CharacterObject  character,
PartyScreenLogic::TroopType  type,
PartyScreenLogic::PartyRosterSide  side,
PartyBase  leftOwnerParty 
)
static

◆ ClanManageTroopAndPrisonerTransferableDelegate()

static bool TaleWorlds.CampaignSystem.Party.PartyScreenManager.ClanManageTroopAndPrisonerTransferableDelegate ( CharacterObject  character,
PartyScreenLogic::TroopType  type,
PartyScreenLogic::PartyRosterSide  side,
PartyBase  LeftOwnerParty 
)
static

◆ ClanManageTroopTransferableDelegate()

static bool TaleWorlds.CampaignSystem.Party.PartyScreenManager.ClanManageTroopTransferableDelegate ( CharacterObject  character,
PartyScreenLogic::TroopType  type,
PartyScreenLogic::PartyRosterSide  side,
PartyBase  LeftOwnerParty 
)
static

◆ DonateModeTroopTransferableDelegate()

static bool TaleWorlds.CampaignSystem.Party.PartyScreenManager.DonateModeTroopTransferableDelegate ( CharacterObject  character,
PartyScreenLogic::TroopType  type,
PartyScreenLogic::PartyRosterSide  side,
PartyBase  LeftOwnerParty 
)
static

◆ OpenScreenWithCondition()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenWithCondition ( IsTroopTransferableDelegate  isTroopTransferable,
PartyPresentationDoneButtonConditionDelegate  doneButtonCondition,
PartyPresentationDoneButtonDelegate  onDoneClicked,
PartyPresentationCancelButtonDelegate  onCancelClicked,
PartyScreenLogic::TransferState  memberTransferState,
PartyScreenLogic::TransferState  prisonerTransferState,
TextObject  leftPartyName,
int  limit,
bool  showProgressBar,
bool  isDonating,
PartyScreenMode  screenMode = PartyScreenMode::Normal 
)
static

◆ OpenScreenForManagingAlley()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenForManagingAlley ( TroopRoster  memberRosterLeft,
IsTroopTransferableDelegate  isTroopTransferable,
PartyPresentationDoneButtonConditionDelegate  doneButtonCondition,
PartyPresentationDoneButtonDelegate  onDoneClicked,
TextObject  leftPartyName,
PartyPresentationCancelButtonDelegate  onCancelButtonClicked 
)
static

◆ OpenScreenAsQuest()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsQuest ( TroopRoster  leftMemberRoster,
TextObject  leftPartyName,
int  leftPartySizeLimit,
int  questDaysMultiplier,
PartyPresentationDoneButtonConditionDelegate  doneButtonCondition,
PartyScreenClosedDelegate  onPartyScreenClosed,
IsTroopTransferableDelegate  isTroopTransferable,
PartyPresentationCancelButtonActivateDelegate  partyPresentationCancelButtonActivateDelegate = null 
)
static

◆ OpenScreenWithDummyRoster()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenWithDummyRoster ( TroopRoster  leftMemberRoster,
TroopRoster  leftPrisonerRoster,
TroopRoster  rightMemberRoster,
TroopRoster  rightPrisonerRoster,
TextObject  leftPartyName,
TextObject  rightPartyName,
int  leftPartySizeLimit,
int  rightPartySizeLimit,
PartyPresentationDoneButtonConditionDelegate  doneButtonCondition,
PartyScreenClosedDelegate  onPartyScreenClosed,
IsTroopTransferableDelegate  isTroopTransferable,
PartyPresentationCancelButtonActivateDelegate  partyPresentationCancelButtonActivateDelegate = null 
)
static

◆ OpenScreenWithDummyRosterWithMainParty()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenWithDummyRosterWithMainParty ( TroopRoster  leftMemberRoster,
TroopRoster  leftPrisonerRoster,
TextObject  leftPartyName,
int  leftPartySizeLimit,
PartyPresentationDoneButtonConditionDelegate  doneButtonCondition,
PartyScreenClosedDelegate  onPartyScreenClosed,
IsTroopTransferableDelegate  isTroopTransferable,
PartyPresentationCancelButtonActivateDelegate  partyPresentationCancelButtonActivateDelegate = null 
)
static

◆ OpenScreenAsCreateClanPartyForHero()

static void TaleWorlds.CampaignSystem.Party.PartyScreenManager.OpenScreenAsCreateClanPartyForHero ( Hero  hero)
static

Property Documentation

◆ IsDonating

bool TaleWorlds.CampaignSystem.Party.PartyScreenManager.IsDonating
get

◆ CurrentMode

PartyScreenMode TaleWorlds.CampaignSystem.Party.PartyScreenManager.CurrentMode
get

◆ Instance

PartyScreenManager TaleWorlds.CampaignSystem.Party.PartyScreenManager.Instance
staticget

◆ PartyScreenLogic

PartyScreenLogic TaleWorlds.CampaignSystem.Party.PartyScreenManager.PartyScreenLogic
staticget