void callback_Complete_GetAdsReward() { UserEditor.Getsingleton.EditLog("룰렛인덱스 : " + UserDataManager.instance.user.RltIdx); if (adRewardItem != ITEMTYPE.ROULETTE) //아이템타입이 룰렛이아니면 { UI_Popup_GainItem popup = UI_Manager.Getsingleton.CreatAndGetPopup <UI_Popup_GainItem>(UIPOPUP.POPUPGAINITEM); popup.Set_GainPopup(); //top ui 갱신 UI_Top.Getsingleton.set_refresh(); //클라푸쉬 //if (OptionSetting.instance.Notice_pushMsg) //{ // TimeSpan span = _user.User_Ads.AdTm - TimeManager.Instance.Get_nowTime(); // //double pushtime = TableDataManager.instance.Infos_ConstValues[(int)ConstValue_TYPE.Const_limitAdTime].ConsVal * 60; // 600초 // double pushtime = span.TotalSeconds; // NotificationManager.SendPush(TimeSpan.FromSeconds(pushtime), TextDataManager.Dic_TranslateText[304], TextDataManager.Dic_TranslateText[310]); //} } else //룰렛이면 { //룰렛판 돌리기 UI_Manager.Getsingleton.CreatAndGetPopup <UI_Popup_Roulette>(UIPOPUP.POPUPROULETTE); } }
//end 애니메이션 끝날떄 발생할 이벤트 public void event_RouletteEnd() { //로비 회전 잠금해제 User.isSelectedCharacter = false; //보상아이템 팝업 UI_Popup_GainItem popup = UI_Manager.Getsingleton.CreatAndGetPopup <UI_Popup_GainItem>(UIPOPUP.POPUPGAINITEM); popup.Set_GainPopup(); //top ui 갱신 if (UI_Manager.Getsingleton.Dic_UILst.ContainsKey(UI.TOP)) { UI_Top.Getsingleton.set_refresh(); } //클라푸쉬 //if (OptionSetting.instance.Notice_pushMsg) //{ // TimeSpan span = UserDataManager.instance.user.User_Ads.AdTm - TimeManager.Instance.Get_nowTime(); // double pushtime = span.TotalSeconds; // //double pushtime = TableDataManager.instance.Infos_ConstValues[(int)ConstValue_TYPE.Const_limitAdTime].ConsVal * 60; // NotificationManager.SendPush(TimeSpan.FromSeconds(pushtime), TextDataManager.Dic_TranslateText[304], TextDataManager.Dic_TranslateText[310]); //} //팝업닫기 UI_Manager.Getsingleton.ClearUI(this); }