Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | break;
|
| | | case CodeA2U.FreePlatformRegisterOk:
|
| | | HandleFreePlatformRegisteOk(_json);
|
| | | OperationLogCollect.Instance.RecordEvent(5);
|
| | | break;
|
| | | case CodeA2U.FreePlatformLoginOk:
|
| | | HandleFreePlatformLoginOk(_json["info"]);
|
| | | OperationLogCollect.Instance.RecordEvent(6);
|
| | | break;
|
| | | case CodeA2U.FreePlatformLoginFail:
|
| | | if (onFreePlatformLoginFail != null)
|
| | |
| | | {
|
| | | GlobalTimeEvent.Instance.secondEvent -= secondEvent;
|
| | | GlobalTimeEvent.Instance.secondEvent += secondEvent;
|
| | | AutomaticityBool = true;
|
| | | TaskAllocation.Instance.TaskTime= TimeUtility.ServerNow;
|
| | | AutomaticityBool = true;
|
| | | }
|
| | |
|
| | |
|
| | |
| | | {
|
| | | buyCount = buyInfo.BuyCnt;
|
| | | }
|
| | | m_BuyComplete.gameObject.SetActive(buyCount >= gift.limitNum);
|
| | | m_BuyButton.gameObject.SetActive(buyCount < gift.limitNum);
|
| | |
|
| | | var isAdvance = model.IsAdvance;
|
| | |
|
| | | m_BuyComplete.gameObject.SetActive(buyCount >= gift.limitNum && !isAdvance);
|
| | | m_BuyButton.gameObject.SetActive(buyCount < gift.limitNum || isAdvance);
|
| | | m_BuyButton.AddListener(() =>
|
| | | {
|
| | | model.SendBuyFlashSale(gift);
|
| | |
| | | }
|
| | | else if (select)
|
| | | {
|
| | | m_BossName.color = UIHelper.GetUIColor(TextColType.Red);
|
| | | m_BossName.color = UIHelper.GetUIColor(TextColType.Green, true);
|
| | | }
|
| | | else
|
| | | {
|