public SquadScreenConfirmPerkUpgradeView(PerkVO perkData, SquadSlidingScreen screen, PerkUpgradeConfirmState state, Action onCloseCB) { this.perkToInvestIn = perkData; this.squadScreen = screen; this.viewState = state; this.onCloseCB = onCloseCB; this.InitUI(); }
private SquadAdvancementBaseTab CreateAndAddUpgradeTab(SquadSlidingScreen screen) { Lang lang = Service.Lang; string tabLabelString = lang.Get("PERK_CONTEXT_UPGRADE", new object[0]); SquadAdvancementBaseTab squadAdvancementBaseTab = new SquadAdvancementUpgradeTab(screen, "LabelTabUpPerks", tabLabelString); this.allAdvancementTabs.Add(squadAdvancementBaseTab); return(squadAdvancementBaseTab); }
private SquadAdvancementBaseTab CreateAndAddActivateTab(SquadSlidingScreen screen) { Lang lang = Service.Get <Lang>(); string tabLabelString = lang.Get("PERK_CONTEXT_ACTIVATE", new object[0]); SquadAdvancementBaseTab squadAdvancementBaseTab = new SquadAdvancementActivateTab(screen, "LabelTabActPerks", tabLabelString); this.allAdvancementTabs.Add(squadAdvancementBaseTab); return(squadAdvancementBaseTab); }
public SquadScreenChatView(SquadSlidingScreen screen) : base(screen) { this.timestampUpdateTimerId = 0u; this.chatFilter = new SquadScreenChatFilterView(screen); this.chatInput = new SquadScreenChatInputView(screen); this.donationProgress = new SquadScreenChatTroopDonationProgressView(screen); this.ChatDisplaySetup = false; this.numExistingMsgsProcessed = 0; this.existingMsgsProcessed = null; }
public SquadAdvancementActivateTab(SquadSlidingScreen screen, string tabLabelName, string tabLabelString) : base(screen, "ActivateGroupPerks", tabLabelName, tabLabelString) { this.activePerkTimerLabels = new List <UXLabel>(); this.cooldownTimerLabels = new List <UXLabel>(); this.cooldownCostLabels = new List <UXLabel>(); this.perksGrid = screen.GetElement <UXGrid>("GridAvActPerks"); this.perksGrid.SetTemplateItem("TemplateAvActCardPerks"); base.InitFilterGrid("GridActFilterPerks", "TemplateActFilterPerks", "BtnActFilterPerks", "LabelActFilterPerks", this.perksGrid); this.InitLabels(); this.RefreshPerkStates(); }
public SquadAdvancementBaseTab(SquadSlidingScreen screen, string baseViewName, string tabLabelName, string tabLabelString) { this.perkBadgeMap = new Dictionary <string, JewelControl>(); this.filterMap = new Dictionary <string, List <UXElement> >(); this.screen = screen; this.baseView = screen.GetElement <UXElement>(baseViewName); this.tabLabel = screen.GetElement <UXLabel>(tabLabelName); this.tabLabel.Text = tabLabelString; this.perkInfoBtn = screen.GetElement <UXButton>("BtnInfoPerks"); this.perkInfoBtn.OnClicked = new UXButtonClickedDelegate(this.OnPerkInfoButtonClicked); Service.Get <EventManager>().RegisterObserver(this, EventId.SquadScreenOpenedOrClosed); }
public SquadScreenChatTroopDonationProgressView(SquadSlidingScreen screen) : base(screen) { }
public SquadScreenOverviewView(SquadSlidingScreen screen) : base(screen) { }
public SquadScreenWarLogView(SquadSlidingScreen screen) : base(screen) { }
public SquadScreenChatFilterView(SquadSlidingScreen screen) : base(screen) { }
public SquadScreenUpgradeCelebPerkInfoView(SquadSlidingScreen screen, PerkVO targetPerkVO) : base(screen, targetPerkVO) { this.InitUI(); }
public SquadAdvancementUpgradeTab(SquadSlidingScreen screen, string tabLabelName, string tabLabelString) : base(screen, "UpgradeMainGroupPerks", tabLabelName, tabLabelString) { this.InitUI(); }
public SquadScreenAdvancementView(SquadSlidingScreen screen) : base(screen) { this.allAdvancementTabs = new List <SquadAdvancementBaseTab>(); }
public SquadScreenChatInputView(SquadSlidingScreen screen) : base(screen) { }
public SquadScreenTroopDonationView(SquadSlidingScreen screen) : base(screen) { this.troopsToDonate = new Dictionary <string, int>(); this.hasTroops = false; this.hasEligibleTroop = false; }
public SquadScreenWarButtonView(SquadSlidingScreen screen) : base(screen) { }
public SquadScreenBasePerkInfoView(SquadSlidingScreen screen, PerkVO targetPerkVO) { this.squadScreen = screen; this.targetPerkVO = targetPerkVO; }
protected AbstractSquadScreenViewModule(SquadSlidingScreen screen) { this.screen = screen; this.lang = Service.Get <Lang>(); }
public SquadScreenChatInputView(SquadSlidingScreen screen) { this.grayOut = new Color(0.157f, 0.157f, 0.157f); base..ctor(screen); }
public SquadScreenActivationInfoView(SquadSlidingScreen screen, PerkVO targetPerkVO, bool isActivation) : base(screen, targetPerkVO) { this.isActivation = isActivation; this.InitUI(); }
public SquadScreenMembersView(SquadSlidingScreen screen) : base(screen) { }