Example #1
0
    private void openSupportDialog()
    {
        uint   uid        = LocalSaveManager.Instance.LoadFuncUserID();
        string userIdText = string.Format(GameTextUtil.GetText("mt21q_content"), UnityUtil.CreateDrawUserID(uid));
        Dialog newDialog  = Dialog.Create(DialogType.DialogYesNo).SetStrongYes();

        newDialog.SetDialogTextFromTextkey(DialogTextType.Title, "mt21q_title");
        newDialog.SetDialogText(DialogTextType.MainText, userIdText);
        newDialog.SetDialogTextFromTextkey(DialogTextType.YesText, "common_button4");
        newDialog.SetDialogTextFromTextkey(DialogTextType.NoText, "common_button5");
        newDialog.SetDialogEvent(DialogButtonEventType.YES, new System.Action(() =>
        {
            ResetButtons();
            //DG0-1944 お問い合わせは強制的に外部ブラウザーで表示する
            string support_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_SUPPORT);
            URLManager.OpenURL(support_url, true);
        }));
        newDialog.EnableFadePanel();
        newDialog.DisableCancelButton();
        newDialog.Show();

        newDialog.SetDialogEvent(DialogButtonEventType.NO, () =>
        {
            ResetButtons();
        });
    }
Example #2
0
    void CreateInfoList()
    {
        m_OthersInfo.Infos.Clear();

        string info_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_INFORMATION);

        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he168p_button1", info_url, OnClickInfoListItem));
        //string home_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_HP_DIVINE);
        //m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he168p_button2", home_url, OnClickInfoListItem));
        string mr_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_MR_DIVINE);

        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he168p_button3", mr_url, OnClickInfoListItem));
    }
    void CreateInfoList()
    {
        m_OthersInfo.Infos.Clear();

        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle1", Patcher.Instance.GetAgreementUrl(), null));
        string kessai_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_SHIKIN_KESSAI);

        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle2", kessai_url, null));
        string torihiki_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_TOKUTEI_TORIHIKI);

        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle3", torihiki_url, null));
        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle4", Patcher.Instance.GetPolicyUrl(), null));
        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateScrollDialogInfo("he172p_buttontitle5", "credit_text", null));
        m_OthersInfo.Infos.Add(OthersInfoListContext.CreateScrollDialogInfo("he172p_buttontitle6", "license_text", null));
    }
Example #4
0
    static public bool m_IsGoToTileWithApiError = false;                      //!< サーバーエラーでタイトルに戻された


    /*==========================================================================*/
    /*  func                                                                    */
    /*==========================================================================*/
    //----------------------------------------------------------------------------

    /*!
     *  @brief  パラメータ操作:完全リセット
     */
    //----------------------------------------------------------------------------
    static public void ParamReset()
    {
        m_AreaSelectTechnicalMode = false;   // エリア選択画面挙動分岐:テクニカルエリア表示モード

        m_OptionBattleLayout         = 0;    // 戦闘情報:レイアウトパターンID
        m_OptionBattlePlayType       = 1;    // 戦闘情報:プレイヤー操作タイプ
        m_OptionBattleCutin          = 1;    // 戦闘情報:カットイン動作タイプ
        m_OptionBattleSkillChk       = 0;    // 戦闘情報:スキル判定タイプ
        m_OptionWorkLoadLevel        = 0;    // 負荷レベル情報
        m_OptionPlayMove             = 1;    // 移動制御パターン
        m_OptionWall                 = 0;    // 壁有無パターン
        m_OptionLight                = 0;    // ライトパターン
        m_OptionSPRecovery           = 0;    // SP回復タイプ
        m_OptionSPPattern            = 0;    // SP消費タイプ
        m_OptionBattleCostExpression = 1;    // 戦闘中意味ありコスト演出

        m_StartingFirstLoginBonus   = false; // 起動初回:ログインボーナス確認
        m_StartingFirstInformation  = false; // 起動初回:運営お知らせ確認
        m_StartingFirstBeginnerInfo = 0;     // 起動初回:初心者ブースト内容確認確認済みID
        m_StartingFirstScratch      = false; // 起動初回:開催中スクラッチ確認
        m_StartingFirstPresent      = false; // 起動初回:プレゼント一覧確認
        m_StartingFirstTopPage      = false; // 起動初回:トップページ確認

        m_QuestRestoreContinue = false;      // 中断復帰時成立済クエストコンティニュー
        m_QuestRestoreReset    = false;      // 中断復帰時成立済クエストリセット

        m_OutOfMemoryError = false;          // メモリーエラー

        m_StoreCrashPointDialog = false;     // ストア処理でアプリ強制クラッシュダイアログを出すか否か

        m_ServerAPICrashPointDialog = false; // サーバー通信時に強制クラッシュダイアログを出すか否か



        m_AchievementClear = new TemplateList <PacketAchievement>();                                             // アチーブメント情報:近々の通信で達成した

        m_WebViewInfoURL = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_INFORMATION); // WebView:リンク先URL:お知らせ専用

        m_RegionIds = new uint[(int)MasterDataDefineLabel.REGION_CATEGORY.MAX];                                  //!< クエスト:カテゴリごとのリージョンID
    }