Table of Contents

Class PartyScreenManager

Namespace
TaleWorlds.CampaignSystem.Party
Assembly
TaleWorlds.CampaignSystem.dll
public class PartyScreenManager
Inheritance
PartyScreenManager
Inherited Members

Constructors

PartyScreenManager()

public PartyScreenManager()

Properties

CurrentMode

public PartyScreenMode CurrentMode { get; }

Property Value

PartyScreenMode

Instance

public static PartyScreenManager Instance { get; }

Property Value

PartyScreenManager

IsDonating

public bool IsDonating { get; }

Property Value

bool

PartyScreenLogic

public static PartyScreenLogic PartyScreenLogic { get; }

Property Value

PartyScreenLogic

Methods

ClanManageTroopAndPrisonerTransferableDelegate(CharacterObject, TroopType, PartyRosterSide, PartyBase)

public static bool ClanManageTroopAndPrisonerTransferableDelegate(CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)

Parameters

character CharacterObject
type PartyScreenLogic.TroopType
side PartyScreenLogic.PartyRosterSide
LeftOwnerParty PartyBase

Returns

bool

ClanManageTroopTransferableDelegate(CharacterObject, TroopType, PartyRosterSide, PartyBase)

public static bool ClanManageTroopTransferableDelegate(CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)

Parameters

character CharacterObject
type PartyScreenLogic.TroopType
side PartyScreenLogic.PartyRosterSide
LeftOwnerParty PartyBase

Returns

bool

CloseScreen(bool, bool)

public static void CloseScreen(bool isForced, bool fromCancel = false)

Parameters

isForced bool
fromCancel bool

DonateModeTroopTransferableDelegate(CharacterObject, TroopType, PartyRosterSide, PartyBase)

public static bool DonateModeTroopTransferableDelegate(CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)

Parameters

character CharacterObject
type PartyScreenLogic.TroopType
side PartyScreenLogic.PartyRosterSide
LeftOwnerParty PartyBase

Returns

bool

DonatePrisonerTransferableDelegate(CharacterObject, TroopType, PartyRosterSide, PartyBase)

public static bool DonatePrisonerTransferableDelegate(CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase LeftOwnerParty)

Parameters

character CharacterObject
type PartyScreenLogic.TroopType
side PartyScreenLogic.PartyRosterSide
LeftOwnerParty PartyBase

Returns

bool

OpenScreenAsCheat()

public static void OpenScreenAsCheat()

OpenScreenAsCreateClanPartyForHero(Hero, PartyScreenClosedDelegate, IsTroopTransferableDelegate)

public static void OpenScreenAsCreateClanPartyForHero(Hero hero, PartyScreenClosedDelegate onScreenClosed = null, IsTroopTransferableDelegate isTroopTransferable = null)

Parameters

hero Hero
onScreenClosed PartyScreenClosedDelegate
isTroopTransferable IsTroopTransferableDelegate

OpenScreenAsDonateGarrisonWithCurrentSettlement()

public static void OpenScreenAsDonateGarrisonWithCurrentSettlement()

OpenScreenAsDonatePrisoners()

public static void OpenScreenAsDonatePrisoners()

OpenScreenAsDonateTroops(MobileParty)

public static void OpenScreenAsDonateTroops(MobileParty leftParty)

Parameters

leftParty MobileParty

OpenScreenAsLoot(TroopRoster, TroopRoster, TextObject, int, PartyScreenClosedDelegate)

public static void OpenScreenAsLoot(TroopRoster leftMemberRoster, TroopRoster leftPrisonerRoster, TextObject leftPartyName, int leftPartySizeLimit, PartyScreenClosedDelegate partyScreenClosedDelegate = null)

Parameters

leftMemberRoster TroopRoster
leftPrisonerRoster TroopRoster
leftPartyName TextObject
leftPartySizeLimit int
partyScreenClosedDelegate PartyScreenClosedDelegate

OpenScreenAsManagePrisoners()

public static void OpenScreenAsManagePrisoners()

OpenScreenAsManageTroops(MobileParty)

public static void OpenScreenAsManageTroops(MobileParty leftParty)

Parameters

leftParty MobileParty

OpenScreenAsManageTroopsAndPrisoners(MobileParty, PartyScreenClosedDelegate)

public static void OpenScreenAsManageTroopsAndPrisoners(MobileParty leftParty, PartyScreenClosedDelegate onPartyScreenClosed = null)

Parameters

leftParty MobileParty
onPartyScreenClosed PartyScreenClosedDelegate

OpenScreenAsNormal()

public static void OpenScreenAsNormal()

OpenScreenAsQuest(TroopRoster, TextObject, int, int, PartyPresentationDoneButtonConditionDelegate, PartyScreenClosedDelegate, IsTroopTransferableDelegate, PartyPresentationCancelButtonActivateDelegate)

public static void OpenScreenAsQuest(TroopRoster leftMemberRoster, TextObject leftPartyName, int leftPartySizeLimit, int questDaysMultiplier, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyScreenClosedDelegate onPartyScreenClosed, IsTroopTransferableDelegate isTroopTransferable, PartyPresentationCancelButtonActivateDelegate partyPresentationCancelButtonActivateDelegate = null)

Parameters

leftMemberRoster TroopRoster
leftPartyName TextObject
leftPartySizeLimit int
questDaysMultiplier int
doneButtonCondition PartyPresentationDoneButtonConditionDelegate
onPartyScreenClosed PartyScreenClosedDelegate
isTroopTransferable IsTroopTransferableDelegate
partyPresentationCancelButtonActivateDelegate PartyPresentationCancelButtonActivateDelegate

OpenScreenAsRansom()

public static void OpenScreenAsRansom()

OpenScreenAsReceiveTroops(TroopRoster, TextObject, PartyScreenClosedDelegate)

public static void OpenScreenAsReceiveTroops(TroopRoster leftMemberParty, TextObject leftPartyName, PartyScreenClosedDelegate partyScreenClosedDelegate = null)

Parameters

leftMemberParty TroopRoster
leftPartyName TextObject
partyScreenClosedDelegate PartyScreenClosedDelegate

OpenScreenForManagingAlley(TroopRoster, IsTroopTransferableDelegate, PartyPresentationDoneButtonConditionDelegate, PartyPresentationDoneButtonDelegate, TextObject, PartyPresentationCancelButtonDelegate)

public static void OpenScreenForManagingAlley(TroopRoster memberRosterLeft, IsTroopTransferableDelegate isTroopTransferable, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyPresentationDoneButtonDelegate onDoneClicked, TextObject leftPartyName, PartyPresentationCancelButtonDelegate onCancelButtonClicked)

Parameters

memberRosterLeft TroopRoster
isTroopTransferable IsTroopTransferableDelegate
doneButtonCondition PartyPresentationDoneButtonConditionDelegate
onDoneClicked PartyPresentationDoneButtonDelegate
leftPartyName TextObject
onCancelButtonClicked PartyPresentationCancelButtonDelegate

OpenScreenWithCondition(IsTroopTransferableDelegate, PartyPresentationDoneButtonConditionDelegate, PartyPresentationDoneButtonDelegate, PartyPresentationCancelButtonDelegate, TransferState, TransferState, TextObject, int, bool, bool, PartyScreenMode, TroopRoster, TroopRoster)

public 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, TroopRoster memberRosterLeft = null, TroopRoster prisonerRosterLeft = null)

Parameters

isTroopTransferable IsTroopTransferableDelegate
doneButtonCondition PartyPresentationDoneButtonConditionDelegate
onDoneClicked PartyPresentationDoneButtonDelegate
onCancelClicked PartyPresentationCancelButtonDelegate
memberTransferState PartyScreenLogic.TransferState
prisonerTransferState PartyScreenLogic.TransferState
leftPartyName TextObject
limit int
showProgressBar bool
isDonating bool
screenMode PartyScreenMode
memberRosterLeft TroopRoster
prisonerRosterLeft TroopRoster

OpenScreenWithDummyRoster(TroopRoster, TroopRoster, TroopRoster, TroopRoster, TextObject, TextObject, int, int, PartyPresentationDoneButtonConditionDelegate, PartyScreenClosedDelegate, IsTroopTransferableDelegate, PartyPresentationCancelButtonActivateDelegate)

public 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)

Parameters

leftMemberRoster TroopRoster
leftPrisonerRoster TroopRoster
rightMemberRoster TroopRoster
rightPrisonerRoster TroopRoster
leftPartyName TextObject
rightPartyName TextObject
leftPartySizeLimit int
rightPartySizeLimit int
doneButtonCondition PartyPresentationDoneButtonConditionDelegate
onPartyScreenClosed PartyScreenClosedDelegate
isTroopTransferable IsTroopTransferableDelegate
partyPresentationCancelButtonActivateDelegate PartyPresentationCancelButtonActivateDelegate

OpenScreenWithDummyRosterWithMainParty(TroopRoster, TroopRoster, TextObject, int, PartyPresentationDoneButtonConditionDelegate, PartyScreenClosedDelegate, IsTroopTransferableDelegate, PartyPresentationCancelButtonActivateDelegate)

public static void OpenScreenWithDummyRosterWithMainParty(TroopRoster leftMemberRoster, TroopRoster leftPrisonerRoster, TextObject leftPartyName, int leftPartySizeLimit, PartyPresentationDoneButtonConditionDelegate doneButtonCondition, PartyScreenClosedDelegate onPartyScreenClosed, IsTroopTransferableDelegate isTroopTransferable, PartyPresentationCancelButtonActivateDelegate partyPresentationCancelButtonActivateDelegate = null)

Parameters

leftMemberRoster TroopRoster
leftPrisonerRoster TroopRoster
leftPartyName TextObject
leftPartySizeLimit int
doneButtonCondition PartyPresentationDoneButtonConditionDelegate
onPartyScreenClosed PartyScreenClosedDelegate
isTroopTransferable IsTroopTransferableDelegate
partyPresentationCancelButtonActivateDelegate PartyPresentationCancelButtonActivateDelegate

TroopTransferableDelegate(CharacterObject, TroopType, PartyRosterSide, PartyBase)

public static bool TroopTransferableDelegate(CharacterObject character, PartyScreenLogic.TroopType type, PartyScreenLogic.PartyRosterSide side, PartyBase leftOwnerParty)

Parameters

character CharacterObject
type PartyScreenLogic.TroopType
side PartyScreenLogic.PartyRosterSide
leftOwnerParty PartyBase

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).