public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { base.ActiveTween(false); m_id = id; eventClose = _eventClose; m_args = args; _buyClick = false; if (args != null && args.Length > 0) { _news = System.Convert.ToBoolean(args[0]); } _PurchaseItems = USER.I._PKGetPurchaseItems; // 상품 리스트 세팅 for (int i = 0; i < _PurchaseItems.data.packs.Length; i++) { _textCoins[i].text = _PurchaseItems.data.packs[i].coins.ToString("#,#0"); _textPercentage[i].text = string.Format("{0}%", _PurchaseItems.data.packs[i].free_percentage); _textPrice[i].text = string.Format("${0:f}", _PurchaseItems.data.packs[i].price); } StartCoroutine(coUpdateTime()); }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { receive = false; m_id = id; eventClose = _eventClose; m_args = args; _SpinCount = 0; _textSpinCount.text = "0"; _btnExit.gameObject.SetActive(true); _objBuyNowGroup.gameObject.SetActive(true); _ebSpinBonus.SetBalance(0); _ebLevelBonus.SetBalance(0); _ebFriendsBonus.SetBalance(0); _ebTotalBonus.SetBalance(0); // 게스트 정책 _imgGuestGuide.gameObject.SetActive(USER.I.IsGuestLogin); NET.I.SendReqGetDailyWheelShop((id2, msg2) => { _reqShopInfo = JsonConvert.DeserializeObject <PK.GetDailyWheelShop.RECEIVE>(msg2); receive = true; }, NET.I.OnSendReqTimerout); }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { m_id = id; eventClose = _eventClose; m_args = args; message.text = args[0].ToString(); }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { m_id = id; eventClose = _eventClose; m_args = args; tg_TabButtons[0].isOn = false; tg_TabButtons[1].isOn = false; tg_TabButtons[2].isOn = false; if (args != null && args.Length > 0) { if (args[0].ToString() == "SendGift") { tg_TabButtons[0].isOn = true; } else if (args[0].ToString() == "Invite") { tg_TabButtons[1].isOn = true; } else if (args[0].ToString() == "InBox") { tg_TabButtons[2].isOn = true; } } event_ToggleOn(true); _LVInvite.Initialize(); _LVInbox.Initialize(); _LVSendGift.Initialize(); }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { m_id = id; eventClose = _eventClose; m_args = args; _objPurchaseBG.gameObject.SetActive(true); _objWowBG.gameObject.SetActive(false); long coins = System.Convert.ToInt64(args[0].ToString()); if (args.Length > 1 && args[1] != null) { _first = true; } if (coins > 0) { message.text = coins.ToString("#,#0"); } else { message.text = "0"; } }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { base.ActiveTween(false); m_id = id; eventClose = _eventClose; m_args = args; if (args != null && args.Length > 0) { _news = System.Convert.ToBoolean(args[0]); } _btnExit.gameObject.SetActive(true); _ebSpinBonus.SetBalance(0); _ebLevelBonus.SetBalance(0); _ebFriendsBonus.SetBalance(0); _ebTotalBonus.SetBalance(0); // 게스트 정책 if (_imgGuestGuide != null) { _imgGuestGuide.gameObject.SetActive(USER.I.IsGuestLogin); } }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { base.ActiveTween(false); m_id = id; eventClose = _eventClose; m_args = args; if (args != null && args.Length > 0) { _news = System.Convert.ToBoolean(args[0]); } _PurchaseItems = USER.I._PKGetPurchaseItems; // 상품 리스트 세팅 for (int i = 0; i < _PurchaseItems.data.packs.Length; i++) { _textCoins[i].text = _PurchaseItems.data.packs[i].coins.ToString("#,#0"); _textPercentage[i].text = string.Format("{0}%", _PurchaseItems.data.packs[i].free_percentage); _textPrice[i].text = string.Format("${0:f}", _PurchaseItems.data.packs[i].price); } if (USER.I.SaleType == eSaleType.normal) { _imgSaleMsg.gameObject.SetActive(false); } else { _imgSaleMsg.gameObject.SetActive(true); } }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { base.ActiveTween(false); m_id = id; eventClose = _eventClose; m_args = args; _ProgressBar.Reset(); }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { base.ActiveTween(false); _textVersion.text = "Ver " + CONFIG.GetBuildVersion(); m_id = id; eventClose = _eventClose; m_args = args; _ProgressBar.Reset(); _objLoginButtonGroup.gameObject.SetActive(false); _clickLock = false; }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { base.ActiveTween(false); m_id = id; eventClose = _eventClose; m_args = args; _rawBG.gameObject.SetActive(false); _btnX.gameObject.SetActive(false); _value = System.Convert.ToInt32(args[1]); _url = args[0].ToString(); StartCoroutine(coLoadPicture(_url)); }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { m_id = id; eventClose = _eventClose; m_args = args; if (args[0].ToString() == "ComingSoon") { _imgComingSoon.gameObject.SetActive(true); } else { _imgComingSoon.gameObject.SetActive(false); message.text = args[0].ToString(); } }
public override void SetParamsData(int id, delegateClose _eventClose, params object[] args) { m_id = id; eventClose = _eventClose; m_args = args; }