Example #1
0
    public void OnClick()
    {
        int featured = 0;
        int type     = 0;

        mContestEvent = new ContestListEvent(new EventDelegate(ReceivedContest));
        Com.LOOG("DFSBtns-OnClick", name);

        if (transform.parent.name.Equals("Special_League"))
        {
            featured = ContestListInfo.FEATURED_SPECIAL;
            type     = ContestListInfo.TYPE_ALL;
            mTitle   = UtilMgr.GetLocalText("StrSpecialLeague");
        }
        else if (transform.parent.name.Equals("50"))
        {
            featured = ContestListInfo.TYPE_ALL;
            type     = ContestListInfo.TYPE_FIFTY;
            mTitle   = UtilMgr.GetLocalText("Str50vs50");
        }
        else if (transform.parent.name.Equals("Ranking"))
        {
            featured = ContestListInfo.TYPE_ALL;
            type     = ContestListInfo.TYPE_RANK;
            mTitle   = UtilMgr.GetLocalText("StrRanking");
        }

        NetMgr.GetContestList(featured, type, mContestEvent);
    }
Example #2
0
    void ReceivedUpcoming()
    {
//		UtilMgr.AddBackState(UtilMgr.STATE.MyContests);
//		UtilMgr.AnimatePageToLeft("Lobby", "MyContests");
        transform.root.FindChild("MyContests").GetComponent <MyContests>().Init(
            UtilMgr.GetLocalText("LblUpcomingContests"), mContestEvent);
    }
Example #3
0
 void MustUpdate()
 {
     mMustUpdate = true;
     DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrCheckVersion"), UtilMgr.GetLocalText("StrMustUpdate"), DialogueMgr.DIALOGUE_TYPE.YesNo,
                              UtilMgr.GetLocalText("StrUpdate"), "", UtilMgr.GetLocalText("StrExit"),
                              DialogueClickHandler);
 }
Example #4
0
    void ReceivedLogin()
    {
        if (mLoginEvent.Response.code == 1)
        {
            DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrServerError"), mCheckEvent.Response.message,
                                     DialogueMgr.DIALOGUE_TYPE.Alert, null);
        }

        UserMgr.LoginInfo = mLoginEvent.Response.data;

        int year = int.Parse(mLoginEvent.Response.data.serverTime.Substring(0, 4));
        int mon  = int.Parse(mLoginEvent.Response.data.serverTime.Substring(4, 2));
        int day  = int.Parse(mLoginEvent.Response.data.serverTime.Substring(6, 2));
        int hour = int.Parse(mLoginEvent.Response.data.serverTime.Substring(8, 2));
        int min  = int.Parse(mLoginEvent.Response.data.serverTime.Substring(10, 2));
        int sec  = int.Parse(mLoginEvent.Response.data.serverTime.Substring(12, 2));

        System.DateTime dt = new System.DateTime(year, mon, day, hour, min, sec);
//		Debug.Log("dt is "+dt.ToString("yyyyMMddhhmmss"));
        System.TimeSpan ts = dt - System.DateTime.Now;
        UserMgr.DiffTicks = ts.Ticks;

//		Debug.Log("diff is "+ts.Minutes+":"+ts.Seconds);
//		Debug.Log("myTime is "+System.DateTime.Now.ToString("yyyyMMddhhmmss"));
//		Debug.Log("diffTicks are "+UserMgr.DiffTicks);

        mProfileEvent = new GetProfileEvent(new EventDelegate(ReceivedProfile));
        NetMgr.GetProfile(mLoginEvent.Response.data.memSeq, mProfileEvent);
    }
Example #5
0
 void ReqUpdate()
 {
     mMustUpdate = false;
     DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrCheckVersion"), UtilMgr.GetLocalText("StrRecommendUpdate"), DialogueMgr.DIALOGUE_TYPE.YesNo,
                              UtilMgr.GetLocalText("StrUpdate"), "", UtilMgr.GetLocalText("StrSkip"),
                              DialogueClickHandler);
 }
Example #6
0
    void mCancelIAP()
    {
        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrPurchaseFailed"),
                                 string.Format(UtilMgr.GetLocalText("StrPurchaseFailed2"), mItemname),
                                 DialogueMgr.DIALOGUE_TYPE.Alert, null);
//		Debug.Log ("FailedEvent");
    }
Example #7
0
 void InitUserMonthly()
 {
     mUserEvent = new EntryListEvent(ReceivedUserRanking);
     NetMgr.UserMonthlyRanking(mUserEvent);
     transform.FindChild("Top").FindChild("LblTitle").GetComponent <UILabel>().
     text = UtilMgr.GetLocalText("StrMonthlyRanking");
 }
Example #8
0
    void RegComplete(DialogueMgr.BTNS btn)
    {
        mContestEvent = new ContestListEvent(new EventDelegate(ReceivedContest));
        string title = transform.root.FindChild("Contests").FindChild("Top")
                       .FindChild("LblRanking").GetComponent <UILabel>().text;
        int featured = 0;
        int type     = 0;

        if (title.Equals(UtilMgr.GetLocalText("StrSpecialLeague")))
        {
            featured = ContestListInfo.FEATURED_SPECIAL;
            type     = ContestListInfo.TYPE_ALL;
        }
        else if (title.Equals(UtilMgr.GetLocalText("Str50vs50")))
        {
            featured = ContestListInfo.TYPE_ALL;
            type     = ContestListInfo.TYPE_FIFTY;
        }
        else if (title.Equals(UtilMgr.GetLocalText("StrRanking")))
        {
            featured = ContestListInfo.TYPE_ALL;
            type     = ContestListInfo.TYPE_RANK;
        }
        NetMgr.GetContestList(featured, type, mContestEvent);
    }
Example #9
0
    public void OnClick()
    {
        int positionNo = transform.root.FindChild("SkillList").GetComponent <SkillList>().mCardInfo.positionNo;

        if (positionNo == 1)
        {
            if (mInfo.position == 1)
            {
                DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrError"), UtilMgr.GetLocalText("StrPosError"),
                                         DialogueMgr.DIALOGUE_TYPE.Alert, null);
                return;
            }
        }
        else
        {
            if (mInfo.position == 2)
            {
                DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrError"), UtilMgr.GetLocalText("StrPosError"),
                                         DialogueMgr.DIALOGUE_TYPE.Alert, null);
                return;
            }
        }

        string name = UtilMgr.IsMLB() ? mInfo.itemName : Localization.language.Equals("English") ? mInfo.itemName : mInfo.itemNameKor;

        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("LblSkillset"),
                                 string.Format(UtilMgr.GetLocalText("StrSetSkill"), name), DialogueMgr.DIALOGUE_TYPE.YesNo, DiagHandler);
    }
Example #10
0
    void ReceivedSkillShop()
    {
        UtilMgr.AddBackState(UtilMgr.STATE.Shop);
        UtilMgr.AnimatePageToLeft("SkillList", "Shop");

        transform.root.FindChild("Shop").GetComponent <Shop>().InitItemShop(
            UtilMgr.GetLocalText("LblSkillsetShop"), Shop.SKILL, mGoldEvent);
    }
Example #11
0
    public void mDoneIAP()
    {
        UtilMgr.DismissLoading();
        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrPurchaseSuccess"),
                                 string.Format(UtilMgr.GetLocalText("StrPurchaseSuccess2"), mItemname), DialogueMgr.DIALOGUE_TYPE.Alert, null);

        Debug.Log("All PurchaseSucceeded");
    }
Example #12
0
    public void ShowGameEnded()
    {
        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("LblLiveBingo"),
                                 UtilMgr.GetLocalText("StrBingoEnded"), DialogueMgr.DIALOGUE_TYPE.Alert, null);

        mResultEvent = new GameResultEvent(ReceivedGameResult);
        NetMgr.GameResult(mResultEvent);
    }
    void ReceivedCardShop()
    {
        UtilMgr.AddBackState(UtilMgr.STATE.Shop);
        UtilMgr.AnimatePageToLeft("MyCards", "Shop");

        transform.root.FindChild("Shop").GetComponent <Shop>().InitItemShop(
            UtilMgr.GetLocalText("LblCardShop"), Shop.CARD, mGoldEvent);
    }
Example #14
0
    void SetNotReady()
    {
        IsNotReady = true;
//	dateTime: "20160426053000",
        string dateTime = UtilMgr.IsMLB() ? UserMgr.eventJoined.dateTime : UserMgr.eventJoined.korDateTime;
        string timeZone = UtilMgr.IsMLB() ? "ET" : "KST";
        int    month    = int.Parse(dateTime.Substring(4, 2));
        int    date     = int.Parse(dateTime.Substring(6, 2));
        int    hour     = int.Parse(dateTime.Substring(8, 2));
        string min      = dateTime.Substring(10, 2);
        string strTime  = Localization.language.Equals("English") ?
                          UtilMgr.GetMonthString(month) + " " + date + ", " + timeZone + " "
                          + UtilMgr.GetAMPM(hour)[0] + ":" + min + " " + UtilMgr.GetAMPM(hour)[1] :
                          month + "월 " + date + "일, " + timeZone + " "
                          + UtilMgr.GetAMPM(hour)[0] + ":" + min + " " + UtilMgr.GetAMPM(hour)[1];

        transform.FindChild("Body").FindChild("Scroll View").FindChild("Board").FindChild("Sprite")
        .FindChild("NotReady").FindChild("Label1").GetComponent <UILabel>().text
            = string.Format(UtilMgr.GetLocalText("StrBingoSub1"), strTime);

        transform.FindChild("Body").FindChild("Scroll View").FindChild("Board").FindChild("Sprite")
        .FindChild("NotReady").FindChild("Label2").GetComponent <UILabel>().text
            = UtilMgr.GetLocalText("StrBingoSub2");

        transform.FindChild("Body").FindChild("Scroll View").FindChild("Board").FindChild("Sprite")
        .FindChild("NotReady").gameObject.SetActive(true);

        Transform score = transform.FindChild("Top").FindChild("Score");

        score.FindChild("AwayScore").GetComponent <UILabel>().text = "0";
        score.FindChild("HomeScore").GetComponent <UILabel>().text = "0";
        score.FindChild("AwayName").GetComponent <UILabel>().text  = UserMgr.eventJoined.awayTeam;
        score.FindChild("HomeName").GetComponent <UILabel>().text  = UserMgr.eventJoined.homeTeam;
        score.FindChild("AwayName").FindChild("Sprite").gameObject.SetActive(false);
        score.FindChild("HomeName").FindChild("Sprite").gameObject.SetActive(false);

        Transform btm = transform.FindChild("Body").FindChild("Scroll View").FindChild("Btm");

        btm.FindChild("Info").FindChild("BG").FindChild("LblRound").GetComponent <UILabel>()
        .text = "";
        btm.FindChild("Info").FindChild("BG").FindChild("LblName").FindChild("Label").GetComponent <UILabel>()
        .text = "";
        btm.FindChild("Info").FindChild("BG").FindChild("LblName").GetComponent <UILabel>()
        .text = "";
        btm.FindChild("Info").FindChild("SprCircle").FindChild("Hand").FindChild("Label").GetComponent <UILabel>()
        .text = "";

        transform.FindChild("Body").FindChild("Scroll View").FindChild("Board").FindChild("BtnBingo").FindChild("Sprite")
        .gameObject.SetActive(false);
        transform.FindChild("Body").FindChild("Scroll View").FindChild("Board").FindChild("BtnBingo")
        .GetComponent <UIButton>().isEnabled = false;

        DisableResetBtn();

        btm.FindChild("Draggable").GetComponent <UIDraggablePanel2>().RemoveAll();

        ShowNext();
    }
Example #15
0
    void ReceivedTicketShop()
    {
        UtilMgr.RemoveBackState(UtilMgr.STATE.Profile);
        UtilMgr.AnimatePageToLeft(UtilMgr.GetLastBackState().ToString(), "Shop");
        UtilMgr.AddBackState(UtilMgr.STATE.Shop);

        transform.root.FindChild("Shop").GetComponent <Shop>().InitItemShop(
            UtilMgr.GetLocalText("StrTicketShop"), Shop.TICKET, mItemEvent);
    }
Example #16
0
    void ReceivedProfile()
    {
        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrRegSucceed")
                                 , UtilMgr.GetLocalText("StrSuccessPhoto"), DialogueMgr.DIALOGUE_TYPE.Alert, null);
        System.IO.File.Delete(mTempFile);
        UserMgr.UserInfo.photoUrl = mProfileEvent.Response.data.photoUrl;
//		Debug.Log("imageName : "+mProfileEvent.Response.data.imageName);
        transform.root.FindChild("Settings").GetComponent <Settings>().Reset();
    }
    void InitRules()
    {
        Transform tf = transform.FindChild("Changeables").FindChild("Rules");

        tf.gameObject.SetActive(true);
        UtilMgr.ClearList(tf.FindChild("Scroll View"));

        float stackedHeight = 0f;

        GameObject go = Instantiate(mItemRulesHeader);

        go.transform.parent        = tf.FindChild("Scroll View");
        stackedHeight             -= 30f;
        go.transform.localPosition = new Vector3(0, stackedHeight);
        stackedHeight             -= 30f;
        go.transform.localScale    = new Vector3(1f, 1f, 1f);
        go.transform.FindChild("LblLeft").GetComponent <UILabel>().text = UtilMgr.GetLocalText("StrHitter");
        for (int i = 0; i < RulesInfo[0].Length; i++)
        {
            go = Instantiate(mItemRulesDetail);
            go.transform.parent        = tf.FindChild("Scroll View");
            stackedHeight             -= 68f;
            go.transform.localPosition = new Vector3(0, stackedHeight);
            stackedHeight             -= 68f;
            go.transform.localScale    = new Vector3(1f, 1f, 1f);
            go.transform.FindChild("LblLeft").GetComponent <UILabel>().text = RulesInfo[0][i].mName;
            go.transform.FindChild("LblRight").GetComponent <UILabel>().text
                = RulesInfo[0][i].mPoint;
//				> 0f ? "+ " + RulesInfo[0][i].mPoint
//				: "- " + Math.Abs(RulesInfo[0][i].mPoint);
        }
        go = Instantiate(mItemRulesHeader);
        go.transform.parent        = tf.FindChild("Scroll View");
        stackedHeight             -= 30f;
        go.transform.localPosition = new Vector3(0, stackedHeight);
        stackedHeight             -= 30f;
        go.transform.localScale    = new Vector3(1f, 1f, 1f);
        go.transform.FindChild("LblLeft").GetComponent <UILabel>().text = UtilMgr.GetLocalText("StrPitcher2");
        for (int i = 0; i < RulesInfo[1].Length; i++)
        {
            go = Instantiate(mItemRulesDetail);
            go.transform.parent        = tf.FindChild("Scroll View");
            stackedHeight             -= 68f;
            go.transform.localPosition = new Vector3(0, stackedHeight);
            stackedHeight             -= 68f;
            go.transform.localScale    = new Vector3(1f, 1f, 1f);
            go.transform.FindChild("LblLeft").GetComponent <UILabel>().text = RulesInfo[1][i].mName;
            go.transform.FindChild("LblRight").GetComponent <UILabel>().text
                = RulesInfo[1][i].mPoint;
//				> 0f ? "+ " + RulesInfo[1][i].mPoint
//				: "- " + Math.Abs(RulesInfo[1][i].mPoint);
        }

        tf.FindChild("Scroll View").GetComponent <UIScrollView>().ResetPosition();
    }
Example #18
0
 void BingoDialogue(DialogueMgr.BTNS btn)
 {
     if (mCallResponse.data.userBlackBingoReward > 0)
     {
         UserMgr.UserInfo.gold += mCallResponse.data.userBlackBingoReward;
         DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("LblBingo"),
                                  string.Format(UtilMgr.GetLocalText("StrRewardBlackBingo")
                                                , mCallResponse.data.userBlackBingoReward)
                                  , DialogueMgr.DIALOGUE_TYPE.Alert, null);
     }
 }
Example #19
0
 public void OnBackClick()
 {
     if (mCanGet > 0)
     {
         DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("LblLiveBingo"),
                                  UtilMgr.GetLocalText("StrBingoRemained"), DialogueMgr.DIALOGUE_TYPE.Alert, null);
     }
     else
     {
         transform.root.GetComponent <SuperRoot>().OnBackPressed();
     }
 }
Example #20
0
    public void Reload()
    {
        transform.FindChild("Top").FindChild("LblMyLineup").GetComponent <UILabel>().text
            = UtilMgr.GetLocalText("LblMyLineup") + " [00a0e9][" + mLineupEvent.Response.data.Count + "/50]";

        transform.FindChild("Body").FindChild("Draggable").GetComponent <UIDraggablePanel2>().RemoveAll();
        UtilMgr.ClearList(transform.FindChild("Body").FindChild("Draggable"));
        transform.FindChild("Body").FindChild("Draggable").GetComponent <UIDraggablePanel2>()
        .Init(mLineupEvent.Response.data.Count, delegate(UIListItem item, int index) {
            InitItem(item, index);
        });
        transform.FindChild("Body").FindChild("Draggable").GetComponent <UIDraggablePanel2>().ResetPosition();
    }
Example #21
0
    void ReceivedUpdate()
    {
        mNick = mUpdateEvent.Response.data.nick;
        Cancel();
        UserMgr.UserInfo.nick = mNick;
        transform.FindChild("Box").FindChild("Input").GetComponent <UIInput>().value
            = UserMgr.UserInfo.nick;

        transform.root.FindChild("Settings").GetComponent <Settings>().Reset();

        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrRegSucceed"), UtilMgr.GetLocalText("StrSuccessNick"),
                                 DialogueMgr.DIALOGUE_TYPE.Alert, null);
    }
Example #22
0
    void ReceivedGold()
    {
        UtilMgr.RemoveBackState(UtilMgr.STATE.Profile);

        if (UtilMgr.GetLastBackState() != UtilMgr.STATE.Shop)
        {
            UtilMgr.AnimatePageToLeft(UtilMgr.GetLastBackState().ToString(), "Shop");
            UtilMgr.AddBackState(UtilMgr.STATE.Shop);
        }

        transform.root.FindChild("Shop").GetComponent <Shop>().InitGoldShop(
            UtilMgr.GetLocalText("StrGoldShop"), Shop.GOLD, mGoldEvent);
    }
Example #23
0
    IEnumerator ShowBingoResult()
    {
        transform.FindChild("PtcBingo").gameObject.SetActive(true);
        transform.FindChild("PtcBingo").GetComponent <ParticleSystem>().Play();

        yield return(new WaitForSeconds(2f));

        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("LblBingo"),
                                 string.Format(UtilMgr.GetLocalText("StrRewardBingo")
                                               , mCallResponse.data.userRewardGold
                                               , mCallResponse.data.totalRewarded
                                               , mCallResponse.data.rewardCount)
                                 , DialogueMgr.DIALOGUE_TYPE.Alert, BingoDialogue);
    }
 void DiagHandler(DialogueMgr.BTNS btn)
 {
     if (btn == DialogueMgr.BTNS.Btn1)
     {
         if (UserMgr.UserInfo.gold < 50)
         {
             DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrError"), UtilMgr.GetLocalText("StrNotEnoughGold2"), DialogueMgr.DIALOGUE_TYPE.Alert, null);
             return;
         }
         mOffEvent = new SetSkillEvent(ReceivedOff);
         NetMgr.OffSkill(transform.root.FindChild("PlayerCard").GetComponent <PlayerCard>().mCardInfo, mInfo,
                         int.Parse(transform.name.Substring(transform.name.Length - 1, 1)), mOffEvent);
     }
 }
Example #25
0
//	int tmp;
    public void ResetClick()
    {
        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrPowerChance1"),
                                 string.Format(UtilMgr.GetLocalText("StrPowerChance2"), mBingoResponse.data.bingo.powerTimePrice,
                                               mBingoResponse.data.bingo.maxPowerTime,
                                               mBingoResponse.data.bingo.maxPowerTime - mBingoResponse.data.bingo.powerTimeCount)
                                 , DialogueMgr.DIALOGUE_TYPE.YesNo, DialogPower);
//		transform.GetComponent<LiveBingoAnimation>().ShowBlackBingo();
//		DialogueMgr.ShowDialogue("bingo", "bingo", DialogueMgr.DIALOGUE_TYPE.Alert, null);
//		Reload();
//		if(tmp++ > 10)
//			tmp = 1;
//		transform.GetComponent<LiveBingoAnimation>().SetGauge(tmp, true);
    }
Example #26
0
    void ReceivedChecking()
    {
        if (mCheckEvent.Response.code == 0)
        {
            DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrCheckNick"), UtilMgr.GetLocalText("StrNickDuplicated"),
                                     DialogueMgr.DIALOGUE_TYPE.Alert, null);
            return;
        }

        mUpdateEvent = new UpdateMemberInfoEvent(new EventDelegate(ReceivedUpdate));
        JoinMemberInfo memInfo = new JoinMemberInfo();

        memInfo.MemberName = mNick;
        NetMgr.UpdateMemberInfo(memInfo, mUpdateEvent, false, true);
    }
 void ReceivedNick()
 {
     if (mNickEvent.Response.code == 0)
     {
         DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrCheckNick"), UtilMgr.GetLocalText("StrNickDuplicated"),
                                  DialogueMgr.DIALOGUE_TYPE.Alert, null);
     }
     else
     {
         DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrCheckNick"), UtilMgr.GetLocalText("StrNickConfirmed"),
                                  DialogueMgr.DIALOGUE_TYPE.Alert, JoinComplete);
         transform.root.GetComponent <LoginRoot>().SetNick(
             transform.parent.FindChild("Input").FindChild("Label").GetComponent <UILabel>().text);
     }
 }
Example #28
0
    void ReceivedLineup()
    {
        transform.FindChild("Top").FindChild("LblMyLineup").GetComponent <UILabel>().text
            = UtilMgr.GetLocalText("LblMyLineup") + " [00a0e9][" + mLineupEvent.Response.data.Count + "/50]";

        UtilMgr.ClearList(transform.FindChild("Body").FindChild("Draggable"));
        transform.FindChild("Body").FindChild("Draggable").GetComponent <UIDraggablePanel2>()
        .Init(mLineupEvent.Response.data.Count, delegate(UIListItem item, int index) {
            InitItem(item, index);
        });
        transform.FindChild("Body").FindChild("Draggable").GetComponent <UIDraggablePanel2>().ResetPosition();

        UtilMgr.AddBackState(UtilMgr.STATE.Lineup);
        UtilMgr.AnimatePageToLeft("RegisterEntry", "Lineup");
    }
Example #29
0
    void ReceivedEntry()
    {
        if (mRegEvent.Response.code == 0)
        {
            DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrRegSucceed"),
                                     UtilMgr.GetLocalText("StrRegSucceed2"), DialogueMgr.DIALOGUE_TYPE.Alert, RegComplete);

            UserMgr.UserInfo.ticket -= transform.root.FindChild("RegisterEntry").GetComponent <RegisterEntry>().mContestInfo.entryTicket;
        }
        else
        {
            DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrError"),
                                     mRegEvent.Response.message, DialogueMgr.DIALOGUE_TYPE.Alert, RegComplete);
        }
    }
Example #30
0
 void DialogPower(DialogueMgr.BTNS btn)
 {
     if (btn == DialogueMgr.BTNS.Btn1)
     {
         if (UserMgr.UserInfo.gold < mBingoResponse.data.bingo.powerTimePrice)
         {
             DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrPowerChance1"), UtilMgr.GetLocalText("StrNotEnoughGold2")
                                      , DialogueMgr.DIALOGUE_TYPE.Alert, null);
         }
         else
         {
             mPowerEvent = new CallBingoEvent(ReceivedPower);
             NetMgr.PowerMax(UserMgr.eventJoined.gameId, mBingoResponse.data.bingo.bingoId, mPowerEvent);
         }
     }
 }