private void OnClosedShopOpenConfirm(int selectButtonIndex)
 {
     if (selectButtonIndex == 0)
     {
         GUIMain.ShowCommonDialog(null, "CMD_Shop", null);
     }
 }
    private void OpenDialogSubmitConfirm(bool isUpdatedNickName, bool isUpdatedComment, Action <int> OnCloseConfirm)
    {
        string title = string.Empty;
        string info  = string.Empty;

        if (isUpdatedNickName && isUpdatedComment)
        {
            title = StringMaster.GetString("MyProfile-11");
            info  = StringMaster.GetString("MyProfile-12");
        }
        else if (isUpdatedComment)
        {
            title = StringMaster.GetString("MyProfile-07");
            info  = StringMaster.GetString("MyProfile-08");
        }
        else if (isUpdatedNickName)
        {
            title = StringMaster.GetString("MyProfile-09");
            info  = StringMaster.GetString("MyProfile-10");
        }
        CMD_Confirm cmd_Confirm = GUIMain.ShowCommonDialog(OnCloseConfirm, "CMD_Confirm", null) as CMD_Confirm;

        if (null != cmd_Confirm)
        {
            cmd_Confirm.Title = title;
            cmd_Confirm.Info  = info;
        }
    }
示例#3
0
    private IEnumerator OpenProfileFriend()
    {
        bool isSuccess = false;

        if (BlockManager.instance().blockList == null)
        {
            APIRequestTask task = BlockManager.instance().RequestBlockList(false);
            yield return(AppCoroutine.Start(task.Run(delegate
            {
                isSuccess = true;
            }, delegate(Exception noop)
            {
                isSuccess = false;
            }, null), false));
        }
        else
        {
            isSuccess = true;
        }
        if (isSuccess)
        {
            CMD_ProfileFriend.friendData = new GameWebAPI.FriendList
            {
                userData    = new GameWebAPI.FriendList.UserData(),
                monsterData = new GameWebAPI.FriendList.MonsterData(),
                userData    =
                {
                    userId = this.data.userId.ToString()
                }
            };
            GUIMain.ShowCommonDialog(null, "CMD_ProfileFriend", null);
        }
        yield break;
    }
示例#4
0
 public void CampaignErrorCloseAllCommonDialog(bool is_finished, Action finish)
 {
     if (is_finished)
     {
         CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(delegate(int r)
         {
             if (finish != null)
             {
                 finish();
             }
         }, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage.Title = StringMaster.GetString("CampaignEndTitle");
         cmd_ModalMessage.Info  = StringMaster.GetString("CampaignEndInfo");
     }
     else
     {
         CMD_ModalMessage cmd_ModalMessage2 = GUIMain.ShowCommonDialog(delegate(int r)
         {
             if (finish != null)
             {
                 finish();
             }
         }, "CMD_ModalMessage", null) as CMD_ModalMessage;
         cmd_ModalMessage2.Title = StringMaster.GetString("CampaignStartTitle");
         cmd_ModalMessage2.Info  = StringMaster.GetString("CampaignStartInfo");
     }
 }
示例#5
0
 private void OnClickedSUCCESSION()
 {
     GUIManager.CloseAllCommonDialog(delegate
     {
         GUIMain.ShowCommonDialog(null, "CMD_Succession", null);
     });
 }
示例#6
0
 private void OnClickedLABORATORY()
 {
     GUIManager.CloseAllCommonDialog(delegate
     {
         GUIMain.ShowCommonDialog(null, "CMD_Laboratory", null);
     });
 }
    private void ExchangeErrorPopup()
    {
        string exchangeErrorCode = ClassSingleton <ExchangeWebAPI> .Instance.exchangeErrorCode;

        if (exchangeErrorCode != null)
        {
            if (exchangeErrorCode == "E-EX01")
            {
                CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage.Title = StringMaster.GetString("ExchangeTermTitle");
                cmd_ModalMessage.Info  = StringMaster.GetString("ExchangeTermInfo");
                return;
            }
            if (exchangeErrorCode == "E-EX02")
            {
                CMD_ModalMessage cmd_ModalMessage2 = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage2.Title = StringMaster.GetString("ExchangeShortageTitle");
                cmd_ModalMessage2.Info  = StringMaster.GetString("ExchangeShortageInfo");
                return;
            }
            if (exchangeErrorCode == "E-EX03")
            {
                CMD_ModalMessage cmd_ModalMessage3 = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;
                cmd_ModalMessage3.Title = StringMaster.GetString("ExchangeLimitTitle");
                cmd_ModalMessage3.Info  = StringMaster.GetString("ExchangeLimitInfo");
                return;
            }
        }
        CMD_ModalMessage cmd_ModalMessage4 = GUIMain.ShowCommonDialog(new Action <int>(this.ErrorPopUIClose), "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage4.Title = StringMaster.GetString("ExchangeFailedTitle");
        cmd_ModalMessage4.Info  = StringMaster.GetString("ExchangeFailedInfo");
    }
 private void Start()
 {
     this.uiCamera            = GUIMain.GetOrthoCamera();
     this.farmCamera          = FarmRoot.Instance.Camera;
     this.touchState.isDraged = false;
     this.touchState.state    = InputControll.TouchStateType.NONE;
 }
示例#9
0
 protected override void WindowOpened()
 {
     base.WindowOpened();
     FarmCameraControlForCMD.Off();
     if (CMD_PartyEdit.ModeType == CMD_PartyEdit.MODE_TYPE.EDIT)
     {
         TutorialObserver tutorialObserver = UnityEngine.Object.FindObjectOfType <TutorialObserver>();
         if (tutorialObserver != null)
         {
             GUIMain.BarrierON(null);
             TutorialObserver tutorialObserver2 = tutorialObserver;
             string           tutorialName      = "second_tutorial_partyedit";
             if (CMD_PartyEdit.< > f__mg$cache0 == null)
             {
                 CMD_PartyEdit.< > f__mg$cache0 = new Action(GUIMain.BarrierOFF);
             }
             tutorialObserver2.StartSecondTutorial(tutorialName, CMD_PartyEdit.< > f__mg$cache0, delegate
             {
                 GUICollider.EnableAllCollider("CMD_PartyEdit_Collider");
             });
         }
         else
         {
             GUICollider.EnableAllCollider("CMD_PartyEdit_Collider");
         }
     }
     else
     {
         GUICollider.EnableAllCollider("CMD_PartyEdit_Collider");
     }
 }
示例#10
0
        private void SetGashaCutScene(GameWebAPI.RespDataGA_ExecTicket gashaResult, int playCount)
        {
            string  bgmFileName = (playCount != 1) ? "bgm_205" : "bgm_204";
            UIPanel uipanel     = GUIMain.GetUIPanel();
            CutsceneDataTicketGasha cutsceneDataTicketGasha = new CutsceneDataTicketGasha
            {
                path           = "Cutscenes/ticketGacha",
                gashaResult    = gashaResult.userDungeonTicketList,
                bgmFileName    = bgmFileName,
                backgroundSize = uipanel.GetWindowSize()
            };

            cutsceneDataTicketGasha.endCallback = delegate(RenderTexture renderTexture)
            {
                UITexture txBG = CMD_TicketGashaResult.instance.txBG;
                txBG.mainTexture = renderTexture;
                txBG.width       = renderTexture.width;
                txBG.height      = renderTexture.height;
                CutSceneMain.FadeReqCutSceneEnd();
                SoundMng.Instance().PlayGameBGM("bgm_202");
            };
            Loading.Invisible();
            CutsceneDataBase cutsceneData = cutsceneDataTicketGasha;

            if (ExecGashaTicket.< > f__mg$cache0 == null)
            {
                ExecGashaTicket.< > f__mg$cache0 = new Action(CMD_TicketGashaResult.CreateDialog);
            }
            CutSceneMain.FadeReqCutScene(cutsceneData, ExecGashaTicket.< > f__mg$cache0, null, new Action <int>(this.OnShowedGashaResultDialog), 0.5f, 0.5f);
        }
示例#11
0
        public static void OpenConfirmReplayEvent(Action <int> onClosedAction)
        {
            CMD_Confirm cmd_Confirm = GUIMain.ShowCommonDialog(onClosedAction, "CMD_Confirm", null) as CMD_Confirm;

            cmd_Confirm.Title = StringMaster.GetString("SystemConfirm");
            cmd_Confirm.Info  = StringMaster.GetString("QuestEventReplayConfirm");
        }
    private void InfoShortcut()
    {
        CMDWebWindow cmdwebWindow = GUIMain.ShowCommonDialog(null, "CMDWebWindow", null) as CMDWebWindow;

        cmdwebWindow.TitleText = this.Data.name;
        cmdwebWindow.Url       = ConstValue.APP_WEB_DOMAIN + this.Data.url;
    }
示例#13
0
        /// <summary></summary>
        private HttpManager()
        {
            _httpClient = new HttpClient();

#if !PocketPC
            ProcessActivationURI();
            if (!String.IsNullOrEmpty(_activationURICookies))
            {
                SetOutgoingCookies(_activationURICookies); //pass cookies query through HttpManager to HttpClient
            }
#endif

#if PocketPC
            if (GUIMain.getInstance().MainForm != null)
            {
                StringBuilder sb = new StringBuilder();
                sb.Append(ClientManager.Instance.getMessageString(MsgInterface.BROWSER_OPT_INFO_SERVER_STR) + ": ");
                sb.Append(ClientManager.Instance.getProtocol());
                sb.Append("://");
                sb.Append(ClientManager.Instance.getServer());
                GUIMain.getInstance().MainForm.updateProgressBar(sb.ToString());
                sb = new StringBuilder();
                sb.Append(ClientManager.Instance.getMessageString(MsgInterface.TASKRULE_STR_APPLICATION) + ": \"");
                sb.Append(ClientManager.Instance.getAppName());
                sb.Append("\" (\"");
                sb.Append(ClientManager.Instance.getPrgName());
                sb.Append("\")");
                GUIMain.getInstance().MainForm.updateProgressBar(sb.ToString());
            }
#endif
            RegisterBasicDelegates();
        }
 private void OnPushEvolutionButton(MonsterData monsterData)
 {
     if (!this.IsOfflineModeFlag)
     {
         this.endDateTime = DateTime.Parse(monsterData.userMonster.growEndDate);
         TimeSpan timeSpan = this.endDateTime - ServerDateTime.Now;
         if (timeSpan.TotalSeconds <= 0.0)
         {
             this.growNeedStone = 0;
             CMD_Confirm cmd_Confirm = GUIMain.ShowCommonDialog(null, "CMD_Confirm", null) as CMD_Confirm;
             cmd_Confirm.Title = StringMaster.GetString("EvolutionTitle");
             cmd_Confirm.Info  = StringMaster.GetString("EvolutionConfirmInfo");
             cmd_Confirm.SetActionYesButton(delegate(CMD confirmPopup)
             {
                 this.OnPushEvolutionConfirmYesButton(confirmPopup, monsterData);
             });
         }
         else
         {
             base.StartCoroutine(this.GrowExecInfoAPI(monsterData, timeSpan));
         }
     }
     else
     {
         this.OpenConfirmShortenTime(this.OfflineGrowNeedStone, TimeSpan.Parse(this.OfflineTimeUntilEvolution), delegate(CMD confirmPopup)
         {
             this.OfflineGrow_Step2(monsterData);
         });
     }
 }
示例#15
0
 private void TutorialBegginerClear()
 {
     if (!this.IsValidFocusType(CMD_Mission.MissionType.Beginner))
     {
         TutorialObserver tutorialObserver = UnityEngine.Object.FindObjectOfType <TutorialObserver>();
         if (tutorialObserver != null)
         {
             GUIMain.BarrierON(null);
             TutorialObserver tutorialObserver2 = tutorialObserver;
             string           tutorialName      = "second_tutorial_mission_beginner";
             if (CMD_Mission.< > f__mg$cache0 == null)
             {
                 CMD_Mission.< > f__mg$cache0 = new Action(GUIMain.BarrierOFF);
             }
             tutorialObserver2.StartSecondTutorial(tutorialName, CMD_Mission.< > f__mg$cache0, delegate
             {
                 GUICollider.EnableAllCollider("CMD_Mission");
             });
         }
         else
         {
             GUICollider.EnableAllCollider("CMD_Mission");
         }
     }
 }
示例#16
0
    private void OpenConfirmMedalInheritance()
    {
        MonsterAbilityStatusInfo monsterAbilityStatusInfo = ClassSingleton <AbilityData> .Instance.CreateAbilityStatus(this.baseDigimon, this.partnerDigimon);

        MonsterClientMaster monsterMasterByMonsterId = MonsterMaster.GetMonsterMasterByMonsterId(this.baseDigimon.userMonster.monsterId);
        int goldMedalMaxNum = MonsterArousalData.GetGoldMedalMaxNum(monsterMasterByMonsterId.Simple.rare);
        List <AbilityData.GoldMedalInheritanceState> goldMedalInheritanceList = ClassSingleton <AbilityData> .Instance.GetGoldMedalInheritanceList(this.baseDigimon.userMonster, this.partnerDigimon.userMonster);

        ClassSingleton <AbilityData> .Instance.AdjustMedalInheritanceRate(monsterAbilityStatusInfo, goldMedalInheritanceList, goldMedalMaxNum);

        int countInheritanceGoldMedal = ClassSingleton <AbilityData> .Instance.GetCountInheritanceGoldMedal(goldMedalInheritanceList);

        bool             hasGoldOver      = goldMedalMaxNum < countInheritanceGoldMedal;
        CMD_AbilityModal cmd_AbilityModal = GUIMain.ShowCommonDialog(null, "CMD_AbilityModal", null) as CMD_AbilityModal;

        cmd_AbilityModal.SetRemovePartnerEquipChip(this.partnerDigimon);
        cmd_AbilityModal.SetAnyNotUpdate(monsterAbilityStatusInfo);
        cmd_AbilityModal.SetHasGoldOver(hasGoldOver, goldMedalMaxNum);
        cmd_AbilityModal.SetStatus(monsterAbilityStatusInfo);
        cmd_AbilityModal.SetMonsterIcon(this.baseDigimon);
        cmd_AbilityModal.SetActionYesButton(delegate
        {
            RestrictionInput.StartLoad(RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON);
            DataMng.Instance().CheckCampaign(new Action <int>(this.DoExec), new GameWebAPI.RespDataCP_Campaign.CampaignType[]
            {
                GameWebAPI.RespDataCP_Campaign.CampaignType.MedalTakeOverUp
            });
        });
    }
    private void OnClickedReward()
    {
        CMDWebWindow cmdwebWindow = GUIMain.ShowCommonDialog(null, "CMDWebWindow", null) as CMDWebWindow;

        cmdwebWindow.TitleText = StringMaster.GetString("PointQuest-2");
        cmdwebWindow.Url       = string.Format(WebAddress.EXT_ADR_POINT_QUEST_REWARD, this.PointInfo.worldEventId);
    }
示例#18
0
    public static CMD_ChipReinforcementModal Create(GameWebAPI.RespDataCS_ChipListLogic.UserChipList data, Action <int> callback = null)
    {
        CMD_ChipReinforcementModal cmd_ChipReinforcementModal = GUIMain.ShowCommonDialog(callback, "CMD_ChipReinforcedModal", null) as CMD_ChipReinforcementModal;

        cmd_ChipReinforcementModal.SetParam(data);
        return(cmd_ChipReinforcementModal);
    }
    public override void Upgrade()
    {
        int num = 50;

        if (this.masterStorehouse != null)
        {
            num = int.Parse(this.masterStorehouse.limitMeatNum);
        }
        FacilityMeatFieldM facilityMeatFarmMaster = FarmDataManager.GetFacilityMeatFarmMaster(this.userFacility.level + 1);

        if (facilityMeatFarmMaster != null)
        {
            if (num < int.Parse(facilityMeatFarmMaster.maxMeatNum))
            {
                CMD_Confirm cmd_Confirm = GUIMain.ShowCommonDialog(delegate(int selectButton)
                {
                    if (selectButton == 0)
                    {
                        this.UpgradeMeatFarm();
                    }
                }, "CMD_Confirm", null) as CMD_Confirm;
                cmd_Confirm.Title = StringMaster.GetString("SystemConfirm");
                cmd_Confirm.Info  = StringMaster.GetString("FacilityUpgradeMeatOver");
            }
            else
            {
                this.UpgradeMeatFarm();
            }
        }
    }
示例#20
0
    private void OnClickedTermsOfUse()
    {
        CMDWebWindow cmdwebWindow = GUIMain.ShowCommonDialog(null, "CMDWebWindow", null) as CMDWebWindow;

        cmdwebWindow.TitleText = StringMaster.GetString("AgreementTitle");
        cmdwebWindow.Url       = WebAddress.EXT_ADR_AGREE;
    }
    public static CMD_QuestItemPOP Create(FacilityConditionM data, string assetValue, FacilityM faciltyData)
    {
        CMD_QuestItemPOP cmd_QuestItemPOP = GUIMain.ShowCommonDialog(null, "CMD_QuestItemPOP", null) as CMD_QuestItemPOP;

        cmd_QuestItemPOP.SetParam(data, assetValue, faciltyData);
        return(cmd_QuestItemPOP);
    }
    public static CMD_QuestItemPOP Create(GameWebAPI.RespDataMA_DungeonTicketMaster.DungeonTicketM data)
    {
        CMD_QuestItemPOP cmd_QuestItemPOP = GUIMain.ShowCommonDialog(null, "CMD_QuestItemPOP", null) as CMD_QuestItemPOP;

        cmd_QuestItemPOP.SetParam(data);
        return(cmd_QuestItemPOP);
    }
示例#23
0
    public void OnClickedCacheClear()
    {
        this.googlePlay.EnableMenu(false);
        CMD_CacheClear cmd_CacheClear = GUIMain.ShowCommonDialog(null, "CMD_Cache", null) as CMD_CacheClear;

        cmd_CacheClear.onSuccessCacheClear = new Action(this.OnClickedScreen);
    }
    public void OnShowSpecificTrade()
    {
        if (!base.onServerConnect)
        {
            return;
        }
        if (base.battleStateData.isShowSpecificTrade)
        {
            return;
        }
        if (base.battleStateData.isShowShop)
        {
            return;
        }
        SoundPlayer.PlayButtonEnter();
        base.stateManager.uiControl.ApplySpecificTrade(true);
        Action <int> action = delegate(int x)
        {
            base.stateManager.callAction.OnHideSpecificTrade();
        };
        CommonDialog commonDialog = GUIMain.ShowCommonDialog(action, "CMDWebWindow", null);

        ((CMDWebWindow)commonDialog).TitleText   = StringMaster.GetString("ShopRule-02");
        ((CMDWebWindow)commonDialog).Url         = WebAddress.EXT_ADR_TRADE;
        base.battleStateData.isShowSpecificTrade = true;
    }
 private void OnPushedGardenButton()
 {
     FarmCameraControlForCMD.ClearRefCT();
     FarmCameraControlForCMD.On();
     GUIMain.DestroyAllDialog(null);
     GUIMain.ShowCommonDialog(null, "CMD_DigiGarden", null);
 }
 private void updateServer(bool isUpdateRequired)
 {
     if (isUpdateRequired)
     {
         CountrySetting.ReloadMaster();
         RestrictionInput.StartLoad(RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON);
         GameWebAPI.RequestUS_RegisterLanguageInfo requestUS_RegisterLanguageInfo = new GameWebAPI.RequestUS_RegisterLanguageInfo();
         requestUS_RegisterLanguageInfo.SetSendData = delegate(GameWebAPI.US_Req_RegisterLanguageInfo param)
         {
             param.countryCode = int.Parse(CountrySetting.GetCountryCode(CountrySetting.CountryCode.EN));
         };
         requestUS_RegisterLanguageInfo.OnReceived = delegate(WebAPI.ResponseData response)
         {
             GUIMain.BackToTOP("UIStartupCaution", 0.8f, 0.8f);
             if (GUIFace.instance != null)
             {
                 UnityEngine.Object.Destroy(GUIFace.instance.gameObject.transform.parent.gameObject);
             }
         };
         GameWebAPI.RequestUS_RegisterLanguageInfo requestUS_RegisterLanguageInfo2 = requestUS_RegisterLanguageInfo;
         RequestBase request = requestUS_RegisterLanguageInfo2;
         if (CMD_MultiLangSetting.< > f__mg$cache0 == null)
         {
             CMD_MultiLangSetting.< > f__mg$cache0 = new Action(RestrictionInput.EndLoad);
         }
         base.StartCoroutine(request.RunOneTime(CMD_MultiLangSetting.< > f__mg$cache0, delegate(Exception noop)
         {
             RestrictionInput.EndLoad();
         }, null));
     }
     else
     {
         base.ClosePanel(true);
     }
 }
示例#27
0
 private void SHowAlmightySelect(VersionUpItem selectedVUpItem)
 {
     this.almSelectList = new List <HaveSoulData>();
     this.almSelectList.Add(selectedVUpItem.baseSoulData);
     if (selectedVUpItem.AlmightySoulData == null)
     {
         this.CurSelectedSoulId = selectedVUpItem.baseSoulData.soulM.soulId;
     }
     else
     {
         this.CurSelectedSoulId = selectedVUpItem.AlmightySoulData.soulM.soulId;
     }
     for (int i = 0; i < this.almHasList_cache.Count; i++)
     {
         bool flag = false;
         if (selectedVUpItem.AlmightySoulData != null && selectedVUpItem.AlmightySoulData.soulM.soulId == this.almHasList_cache[i].soulM.soulId)
         {
             flag = true;
         }
         int num = this.almHasList_cache[i].haveNum - this.almHasList_cache[i].curUsedNum;
         if (num >= selectedVUpItem.NeedNum || flag)
         {
             this.almSelectList.Add(this.almHasList_cache[i]);
         }
     }
     this.cmd_AlMightySelect = (GUIMain.ShowCommonDialog(new Action <int>(this.SoulChangeOperation), "CMD_AlMightySelect", null) as CMD_AlMightySelect);
     this.cmd_AlMightySelect.MakeList(this.almSelectList, selectedVUpItem.NeedNum, this.CurSelectedSoulId);
     this.cmd_AlMightySelect.SelectedVersionUpItem = selectedVUpItem;
 }
示例#28
0
    protected override void OpenCanNotSelectMonsterPop()
    {
        CMD_ModalMessage cmd_ModalMessage = GUIMain.ShowCommonDialog(null, "CMD_ModalMessage", null) as CMD_ModalMessage;

        cmd_ModalMessage.Title = StringMaster.GetString("VersionUpTitle");
        cmd_ModalMessage.Info  = StringMaster.GetString("VersionUpCannotVersionUp");
    }
 private void OnTouchEndedProcess()
 {
     if (this.areaData.data.worldAreaId == "5")
     {
         GUIMain.ShowCommonDialog(null, "CMD_PvPTop", null);
     }
     else
     {
         CMD_QuestTOP.AreaData = this.areaData;
         if (GUIMain.GetNowGUIName() == "UIResult")
         {
             CMD cmd = GUIMain.ShowCommonDialog(delegate(int idx)
             {
                 CMD_BattleNextChoice.OnCloseQuestTOP(idx);
             }, "CMD_QuestTOP", null) as CMD;
             cmd.SetForceReturnValue(1);
             PartsTitleBase partsTitle = cmd.PartsTitle;
             if (partsTitle != null)
             {
                 partsTitle.SetReturnAct(delegate(int i)
                 {
                     cmd.SetCloseAction(null);
                     cmd.ClosePanel(true);
                 });
             }
         }
         else
         {
             GUIMain.ShowCommonDialog(null, "CMD_QuestTOP", null);
         }
     }
 }
    public static CMD_QuestItemPOP Create(GameWebAPI.RespDataMA_GetAssetCategoryM.AssetCategoryM data)
    {
        CMD_QuestItemPOP cmd_QuestItemPOP = GUIMain.ShowCommonDialog(null, "CMD_QuestItemPOP", null) as CMD_QuestItemPOP;

        cmd_QuestItemPOP.SetParam(data);
        return(cmd_QuestItemPOP);
    }
        public override void Load()
        {
            base.Load();

            // setting general plugin globals
            m_statTracker = m_core.GetStatTracker();
            m_guinan = m_core.GetGuinan();
            m_d3d = m_core.GetD3D();
            m_componentManager = GlobalVariables.componentManager;
            m_mainForm = m_core.GetMainForm();
            m_tray = m_core.GetTrayIcon();

            // specific globals
            m_directoryLocation = "CustomAchievements";

            List<ImageFile> ImageFileList = FindImageFilenames();
            SetAchievementImages(ImageFileList);
        }
        public override void OnMainFormLoad()
        {
            base.OnMainFormLoad();

            m_mainForm = m_core.GetMainForm();
            if (m_mainForm == null)
                return;
            m_pluginToolStrip.Text = "Set Achv Imgs";
            this.m_pluginToolStrip.ForeColor = Color.FromArgb(175, 175, 175);
            this.m_pluginToolStrip.Size = new Size(152, 22);
            this.m_pluginToolStrip.Click += m_pluginToolStrip_Click;
            m_mainForm.AddPluginToolStripItems(m_pluginToolStrip);
        }