//char [] array;
 public void Onhit()
 {
     if (UserMgr.Schedule != null)
     {
         if (UserMgr.Schedule.myEntryFee != "0")
         {
             if (ScriptMainTop.LandingState != 3)
             {
                 if (Application.loadedLevelName.Equals("SceneMain"))
                 {
                     if (UserMgr.Schedule.gameSeq != int.Parse(transform.FindChild("GameSeq").GetComponent <UILabel>().text))
                     {
                         DialogueMgr.ShowDialogue("게임 종료", "현 랭킹전을 나간 동안에는\n[ff0000]문제를 받을 수 없습니다.[-] 동의하십니까?", DialogueMgr.DIALOGUE_TYPE.YesNo, MileageDialogueHandler);
                     }
                 }
                 else
                 {
                     click();
                 }
             }
             else
             {
                 click();
             }
         }
         else
         {
             click();
         }
     }
     else
     {
         click();
     }
 }
Example #2
0
 void addgold()
 {
     UserMgr.UserInfo.userGoldenBall = mProfileEvent.Response.data.userGoldenBall;
     UserMgr.UserInfo.userRuby       = mProfileEvent.Response.data.userRuby;
     //UserMgr.UserMailCount += 1;
     DialogueMgr.ShowDialogue("구매 성공", Sgold + " 완료.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
 }
Example #3
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 #4
0
    public void ChangeGestButton()
    {
        //Debug.Log ("Email : " + Email.value);
        //Debug.Log ("Pwd1 : " + Pwd1.value);
        //Debug.Log ("Pwd2 : " + Pwd2.value);
        if (Pwd1.value.Length < 4 || Pwd2.value.Length < 4)
        {
            DialogueMgr.ShowDialogue("가입정보오류", "비밀번호는 4자리 이상 입려해주세요.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
        }
        else if (Pwd1.value.Length != Pwd2.value.Length)
        {
            DialogueMgr.ShowDialogue("가입정보오류", "비밀번호가 서로 다릅니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
        }



        LoginInfo             loginInfo = new LoginInfo();
        UpdateMemberInfoEvent event1    = null;

        loginInfo.memSeq      = UserMgr.UserInfo.memSeq;
        loginInfo.memberEmail = Email.value;
        loginInfo.memberPwd   = Pwd2.value;

        loginInfo.memUID   = "";
        loginInfo.DeviceID = "";


        event1 = new UpdateMemberInfoEvent(new EventDelegate(this, "Set"));
        NetMgr.ChangGestInfo(loginInfo, event1, UtilMgr.IsTestServer(), false);
    }
Example #5
0
    void mCancelIAP()
    {
        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrPurchaseFailed"),
                                 string.Format(UtilMgr.GetLocalText("StrPurchaseFailed2"), mItemname),
                                 DialogueMgr.DIALOGUE_TYPE.Alert, null);
//		Debug.Log ("FailedEvent");
    }
Example #6
0
 void ReqUpdate()
 {
     mMustUpdate = false;
     DialogueMgr.ShowDialogue(mStrVersionTitle, mStrRecommendUpdate, DialogueMgr.DIALOGUE_TYPE.YesNo,
                              mStrBtnUpdate, "", mStrBtnContinue,
                              DialogueClickHandler);
 }
Example #7
0
    public void NextClicked()
    {
        if (CheckNickConfirmed())
        {
            mMemInfo             = new JoinMemberInfo();
            mMemInfo.MemberEmail = "";         //transform.FindChild ("InputEmail").GetComponent<UIInput> ().value;
            mMemInfo.MemberName  = transform.FindChild("InputNick").GetComponent <UIInput> ().value;
            mMemInfo.MemberPwd   = "";         //transform.FindChild ("InputPwd").GetComponent<UIInput> ().value;
            mMemInfo.MemImage    = "";         //preprocess
            mMemInfo.Photo       = mImgPath;
            mMemInfo.PhotoBytes  = ImageBate;

//			gameObject.SetActive(false);
//			mSelectTeam.GetComponent<ScriptSelectTeam>().Init(mMemInfo);
//			mSelectTeam.GetComponent<ScriptSelectTeam>().SetTeam("");
//			mSelectTeam.GetComponent<ScriptSelectTeam>().GoNext();
//
//			PlayerPrefs.SetString(Constants.PrefEmail, mMemInfo.MemberEmail);
//			PlayerPrefs.SetString(Constants.PrefPwd, mMemInfo.MemberPwd);

//			GetComponentInParent<ScriptTitle>().mProfileEvent =
//				new GetProfileEvent(new EventDelegate(this, "CompletedJoin"));
//			NetMgr.JoinMember(mMemInfo, GetComponentInParent<ScriptTitle>().mProfileEvent, UtilMgr.IsTestServer(), true);
            CompletedJoin();
        }
        else
        {
            DialogueMgr.ShowDialogue(mJoinError, "닉네임 중복 체크가 필요합니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null, null, null, null);
        }
    }
    IEnumerator RunAttendance(WWW www)
    {
        yield return(www);

        UtilMgr.DismissLoading();

        if (www.error != null)
        {
            DialogueMgr.ShowDialogue("attendance error", www.error, DialogueMgr.DIALOGUE_TYPE.Alert, null);
        }
        else
        {
            Debug.Log("www : " + www.text);
            if (www.text != null && www.text.Length > 0)
            {
                //				mWebview.SetActive(true);
                //				mWebview.GetComponent<ScriptGameWebview>().GoTo(www.text);
                DailyReward dReward = Newtonsoft.Json.JsonConvert.DeserializeObject <DailyReward>(www.text);
                if (dReward.result == 200)
                {
                    DialogueMgr.ShowDialogue("접속보상", dReward.message, DialogueMgr.DIALOGUE_TYPE.Alert, null);
                    Debug.Log("add");
                    if (Application.loadedLevelName.Equals("SceneMain"))
                    {
                        Debug.Log("add Main");
                        transform.root.FindChild("GameObject").FindChild("Top").FindChild("Panel").FindChild("BtnPost").GetComponent <PostButton>().YellowOn();
                    }
                }
            }
            else
            {
                //				Debug.Log("Attendance is already done");
            }
        }
    }
Example #9
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 #10
0
    public void CloseClicked(int cnt)
    {
        if (closeClicked)
        {
            return;
        }

        closeClicked = true;

        string value = PlayerPrefs.GetString(Constants.PrefEvents);

        if (value != null && value.Equals(UtilMgr.GetDateTime("yyyyMMdd")))
        {
            if (cnt < 1)
            {
                DialogueMgr.ShowDialogue("공지사항", "공지사항이 없습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, DialogHandler);
            }
            else
            {
                AutoFade.LoadLevel("SceneLobby");
            }
        }
        else
        {
            AutoFade.LoadLevel("SceneEvents");
        }
    }
Example #11
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 #12
0
    void ReceivedLevelUp()
    {
        int levelAfter = 0;
        int success    = 0;

        foreach (CardUpInfo info in mCardUpEvent.Response.data)
        {
            if (info.resultValue > 0)
            {
                success = 1;
            }
            if (info.cardLevel > levelAfter)
            {
                levelAfter = info.cardLevel;
            }
        }

        if (success > 0)
        {
            DialogueMgr.ShowDialogue("Success", "Card Level Up!\nLevel "
                                     + mLevelBefore + " -> " + levelAfter, DialogueMgr.DIALOGUE_TYPE.Alert, ReloadInven);
        }
        else
        {
            DialogueMgr.ShowDialogue("Fail", "Level Up failed", DialogueMgr.DIALOGUE_TYPE.Alert, ReloadInven);
        }
    }
Example #13
0
 void MustUpdate()
 {
     mMustUpdate = true;
     DialogueMgr.ShowDialogue(mStrVersionTitle, mStrMustUpdate, DialogueMgr.DIALOGUE_TYPE.YesNo,
                              mStrBtnUpdate, "", mStrBtnExit,
                              DialogueClickHandler);
 }
Example #14
0
 void DialogueHandler2(DialogueMgr.BTNS btn)
 {
     Debug.Log(UserMgr.UserInfo.userRuby);
     Debug.Log(transform.parent.parent.parent.GetComponent <PreSettingCommander>().cost);
     Debug.Log(btn);
     if (btn == DialogueMgr.BTNS.Btn1)
     {
         if (int.Parse(UserMgr.UserInfo.userRuby) >= int.Parse(transform.parent.parent.parent.GetComponent <PreSettingCommander>().cost))
         {
             Debug.Log(transform.parent.parent.parent.GetComponent <PreSettingCommander>().Mode);
             if (transform.parent.parent.parent.GetComponent <PreSettingCommander>().Mode == "Update")
             {
                 Debug.Log(transform.parent.parent.parent.GetComponent <PreSettingCommander>().Mode);
                 presetupdate = new PresetUpdateEvent(new EventDelegate(this, "PresetUpdate"));
                 NetMgr.PresetUpdate(UserMgr.CurrentContestSeq, UserMgr.CurrentPresetSeq, GetList(), presetupdate);
             }
             else
             {
                 UserMgr.UserInfo.userRuby = (int.Parse(UserMgr.UserInfo.userRuby) - int.Parse(transform.parent.parent.parent.GetComponent <PreSettingCommander>().cost)).ToString();
                 presetaddevent            = new PresetAddEvent(new EventDelegate(this, "Preset"));
                 NetMgr.PresetAdd(UserMgr.CurrentContestSeq, GetList(), presetaddevent);
             }
         }
         else
         {
             DialogueMgr.ShowDialogue("등록 취소", "루비가 부족합니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
         }
     }
 }
Example #15
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);
    }
    public void GoNext()
    {
        if (mSelected && IsGuest)
        {
            GetUID();
        }
        else if (mSelected)
        {
            mMemInfo.FavoBB = mTeamCode;
                        #if (UNITY_EDITOR)
            mMemInfo.OsType = 1;
            CompleteGCM();
                        #elif (UNITY_ANDROID)
            mMemInfo.OsType = 1;
            AndroidMgr.RegistGCM(new EventDelegate(this, "CompleteGCM"));
                        #else
            mMemInfo.OsType = 2;
            if (GetComponentInParent <ScriptTitle>().CheckPushAgree())
            {
                CompleteGCM();
            }
            else
            {
                IOSMgr.RegistAPNS(new EventDelegate(this, "SetGCMId"));
            }
//			IOSMgr.RegistAPNS(new EventDelegate(this, "CompleteGCM"));
                        #endif
        }
        else if (!mSelected)
        {
            DialogueMgr.ShowDialogue(
                mErrorTitle, mErrorBody, DialogueMgr.DIALOGUE_TYPE.Alert,
                null, null, null, null);
        }
    }
Example #17
0
 void JoinHandler(DialogueMgr.BTNS btn)
 {
     if (btn == DialogueMgr.BTNS.Btn1)
     {
         if (int.Parse(UserMgr.UserInfo.userRuby) < mContestListInfo.entryFee)
         {
             int cnt = mContestListInfo.entryFee - int.Parse(UserMgr.UserInfo.userRuby);
             DialogueMgr.ShowDialogue("등록 취소", "루비가 " + cnt + "개 부족합니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
         }
         else
         {
             mPresetAddEvent = new PresetAddEvent(new EventDelegate(this, "Preset"));
             List <int> list = new List <int>();
             for (int i = 0; i < 18; i++)
             {
                 list.Add(0);
             }
             NetMgr.PresetAdd(mContestListInfo.contestSeq, list, mPresetAddEvent);
         }
     }
     else
     {
         CancelClicked();
     }
 }
Example #18
0
    public void onhit()
    {
//		mEvent = new DeleteInvenItemInfoEvent(new EventDelegate(this, "D"));
//		NetMgr.DeleteInvenItem (int.Parse(transform.parent.FindChild("itemNo").GetComponent<UILabel>().text)
        //        ,int.Parse(transform.parent.FindChild("itemid").GetComponent<UILabel>().text),mEvent);
        DialogueMgr.ShowDialogue("삭제 확인", transform.parent.FindChild("name").GetComponent <UILabel>().text
                                 + "\n정말 삭제하시겠습니까?", DialogueMgr.DIALOGUE_TYPE.YesNo, MileageDialogueHandler);
    }
Example #19
0
    public void ShowGameEnded()
    {
        DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("LblLiveBingo"),
                                 UtilMgr.GetLocalText("StrBingoEnded"), DialogueMgr.DIALOGUE_TYPE.Alert, null);

        mResultEvent = new GameResultEvent(ReceivedGameResult);
        NetMgr.GameResult(mResultEvent);
    }
Example #20
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 #21
0
    void getdonedata()
    {
        transform.parent.FindChild("get").gameObject.SetActive(false);
        transform.parent.FindChild("com").gameObject.SetActive(true);

        if (getdone.Response.data.userGoldenBall != null)
        {
            UserMgr.UserInfo.userGoldenBall = getdone.Response.data.userGoldenBall;
        }
        if (getdone.Response.data.userDiamond != null)
        {
            UserMgr.UserInfo.userDiamond = getdone.Response.data.userDiamond;
        }
        if (getdone.Response.data.useActiveDiamond != null)
        {
            UserMgr.UserInfo.useActiveDiamond = getdone.Response.data.useActiveDiamond;
        }
        if (getdone.Response.data.userRuby != null)
        {
            UserMgr.UserInfo.userRuby = getdone.Response.data.userRuby;
        }

        //getprofile

        UserMgr.UserMailCount -= 1;
        //	DialogueMgr.ShowDialogue ("[" + transform.parent.FindChild ("Name").GetComponent<UILabel> ().text + "] 지급", "[" + transform.parent.FindChild ("Name").GetComponent<UILabel> ().text + "]은\n[인벤토리]로 지급\n인벤토리에서 본인인증 하시면\n일주일내로 상품권이 지급 예정입니다.", DialogueMgr.DIALOGUE_TYPE.YesNo, "인벤토리 이동", "", "확인", GotoInventory);
        if (transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ATTACH_GIFT" ||
            transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ATTACH_PPOINT" ||
            transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ITEM_GIFT" ||
            transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ITEM_PPOINT")
        {
            DialogueMgr.ShowDialogue("[" + transform.parent.FindChild("Name").GetComponent <UILabel> ().text + "] 지급", "[" + transform.parent.FindChild("Name").GetComponent <UILabel> ().text + "]은\n[인벤토리]로 지급\n인벤토리에서 본인인증 하시면\n일주일내로 상품권이 지급 예정입니다.", DialogueMgr.DIALOGUE_TYPE.YesNo, "인벤토리 이동", "", "확인", GotoInventory);
        }
        else if (transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ITEM_RUBY" ||
                 transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ATTACH_RUBY" ||
                 transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ITEM_CARD" ||
                 transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ATTACH_CARD")
        {
            //check



            DialogueMgr.ShowDialogue("지급 완료", "[" + transform.parent.FindChild("Name").GetComponent <UILabel> ().text + "] 지급 완료", DialogueMgr.DIALOGUE_TYPE.Alert, null);
        }
        else if (transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ITEM_MILEAGE" ||
                 transform.parent.FindChild("Code").GetComponent <UILabel> ().text == "ATTACH_DIA")
        {
            //check



            DialogueMgr.ShowDialogue("마일리지 사용", "마일리지는 경품추첨이 가능하며\n[홈화면하단] - [경품이미지]를 클릭하면\n해당 경품을 추첨할 수 있습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
        }
        else
        {
            DialogueMgr.ShowDialogue("[" + transform.parent.FindChild("Name").GetComponent <UILabel> ().text + "] 지급", "[" + transform.parent.FindChild("Name").GetComponent <UILabel> ().text + "]은\n[인벤토리]로 지급\n인벤토리에서 본인인증 하시면\n일주일내로 상품권이 지급 예정입니다.", DialogueMgr.DIALOGUE_TYPE.YesNo, "인벤토리 이동", "", "확인", GotoInventory);
        }
    }
Example #22
0
 void consumePurchaseFailedEvent(string error)
 {
     DialogueMgr.ShowDialogue("컨슘 실패", itemproduct + " 컨슘을 실패 했습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
     Debug.Log("FailedConsume");
     //		CancelIAP  = new IAPEvent (new EventDelegate (this, "mCancelIAP"));
     //		NetMgr.CancelIAP (orderNo,IsTest,CancelIAP);
     //
     //		Debug.Log( "consumePurchaseFailedEvent: " + error );
 }
 void checkRecent()
 {
     UserMgr.cntRewardContest = CRME.Response.data.cntRewardContest;
     if (UserMgr.cntRewardContest == 1)
     {
         DialogueMgr.ShowDialogue("컨테스트 보상 지급", "진행했던 컨테스트 보상이\n[우편함]으로 지급되었습니다.", DialogueMgr.DIALOGUE_TYPE.YesNo, "보상 확인", "", "닫기", gotopost);
         //popup
     }
 }
Example #24
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();
    }
Example #25
0
    public void mDoneIAP()
    {
        mProfileEvent = new GetProfileEvent(new EventDelegate(this, "addruby"));
        NetMgr.GetProfile(UserMgr.UserInfo.memSeq, mProfileEvent);
        UserMgr.UserMailCount += 1;
        DialogueMgr.ShowDialogue("구매 성공", itemproduct + " 구매가 완료 되었습니다.\n우편함을 확인해주세요.", DialogueMgr.DIALOGUE_TYPE.Alert, null);

        Debug.Log("All PurchaseSucceeded");
    }
    IEnumerator RunAttendance(WWW www)
    {
        yield return(www);

        UtilMgr.DismissLoading();
        if (www.error != null)
        {
            DialogueMgr.ShowDialogue("attendance error", www.error, DialogueMgr.DIALOGUE_TYPE.Alert, null);
        }
        else
        {
            Debug.Log("Attendance : " + www.text);
            if (www.text != null && www.text.Length > 0)
            {
                //				mWebview.SetActive(true);
                //				mWebview.GetComponent<ScriptGameWebview>().GoTo(www.text);
                DailyReward dReward = Newtonsoft.Json.JsonConvert.DeserializeObject <DailyReward>(www.text);
                if (dReward.result == 200)
                {
                    DialogueMgr.ShowDialogue("접속보상", dReward.message, DialogueMgr.DIALOGUE_TYPE.Alert, CheckRecent);
                    Debug.Log("add");
                    if (Application.loadedLevelName.Equals("SceneMain 1"))
                    {
                        Debug.Log("add Main");
                        transform.root.FindChild("GameObject").FindChild("Top").FindChild("Panel").FindChild("BtnPost").GetComponent <PostButton>().YellowOn();
                    }
                }
                else
                {
                    CheckRecentMaessga();
                }

                if (dReward.legend != null && dReward.legend.Length > 0)
                {
                    //show n link url
                    UserMgr.legend = dReward.legend;
                }
                else
                {
                    //unshow
//					transform.root.FindChild("Scroll").FindChild("Main").FindChild("Nomal Contest")
//						.FindChild("EventPanel").gameObject.SetActive(false);
//					transform.root.FindChild("Scroll").FindChild("Main").FindChild("Nomal Contest").FindChild("Scroll View2")
//						.GetComponent<UIPanel>().SetRect(720f,1038f);
//					transform.root.FindChild("Scroll").FindChild("Main").FindChild("Nomal Contest").FindChild("Scroll View2")
//						.localPosition += new Vector3(0,75f,0);
//					transform.root.FindChild("Scroll").FindChild("Main").FindChild("Nomal Contest").FindChild("Scroll View2")
//						.GetComponent<UIDraggablePanel2>().ResetPosition();
                }
            }
            else
            {
                //				Debug.Log("Attendance is already done");
            }
        }
    }
 public void PowerUp()
 {
     if (0 < int.Parse(useCard [useCard.Count - 1] [1]))
     {
         DialogueMgr.ShowDialogue("강화 실패", "강화 포인트가 부족합니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
     }
     else
     {
     }
 }
 public void Upgraed()
 {
     if (int.Parse(useCard [useCard.Count - 1] [2]) < int.Parse(useCard [useCard.Count - 1] [3]) ||
         int.Parse(useCard [useCard.Count - 2] [2]) < int.Parse(useCard [useCard.Count - 2] [3]))
     {
         DialogueMgr.ShowDialogue("진화 실패", "동일한 등급의 MAX LV 카드 2장이 필요합니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
     }
     else
     {
     }
 }
Example #29
0
 public void GachaOK()
 {
     if (CheckMail.gacha.itemType >= 6)
     {
         DialogueMgr.ShowDialogue("경품 확인", CheckMail.gacha.itemName + " 지급 완료 되었습니다.\n인벤토리를 확인해주세요.", DialogueMgr.DIALOGUE_TYPE.EventAlert_NonBg, DialogueHandler);
     }
     else
     {
         DialogueMgr.ShowDialogue("경품 확인", CheckMail.gacha.itemName + " 지급 완료 되었습니다.", DialogueMgr.DIALOGUE_TYPE.EventAlert_NonBg, DialogueHandler);
     }
 }
 public void SetMemberInfo()
 {
     if (Sett)
     {
         DialogueMgr.ShowDialogue("프로필 편집", "변경된 프로필을 저장하시겠습니까?", DialogueMgr.DIALOGUE_TYPE.YesNo, DialogueHandler);
     }
     else
     {
         DialogueMgr.ShowDialogue("프로필 편집", "변경된 내용이 없습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
     }
 }