提交
This commit is contained in:
@@ -47,7 +47,7 @@ namespace BingoBrain
|
||||
_bingoDataSys?.RemoveChangeGiftSwitch(action);
|
||||
}
|
||||
|
||||
void FocusToGame (object obj = null)
|
||||
void FocusToGame(object obj = null)
|
||||
{
|
||||
// if(MaxPayManager.isPay)
|
||||
// {
|
||||
@@ -61,14 +61,15 @@ namespace BingoBrain
|
||||
newDate = newDate.AddSeconds(GameHelper.GetNowTime(true));
|
||||
// Debug.Log($"barry newdate==== {newDate}");
|
||||
var newDays = newDate.Day;
|
||||
if (last_time != newDays)
|
||||
{
|
||||
if (last_time != newDays)
|
||||
{
|
||||
var configs = GameHelper.GetCommonModel();
|
||||
// Debug.Log($"barry hall-----{configs != null}");
|
||||
if (configs != null) {
|
||||
if (configs != null)
|
||||
{
|
||||
WebviewManager.Instance.RefreshUrl();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void InitSystem()
|
||||
@@ -101,11 +102,11 @@ namespace BingoBrain
|
||||
{
|
||||
// if (!GameHelper.IsGiftSwitch())
|
||||
// {
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PlayBgUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoStartUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BottomUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHallUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHalldUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PlayBgUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoStartUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BottomUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHallUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHalldUI_Open);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
@@ -123,7 +124,11 @@ namespace BingoBrain
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BroadcastUI_Open);
|
||||
if (PlayerPrefs.GetInt("first_uid", 0) != GameHelper.GetLoginModel().uid)
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Open);
|
||||
// UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Open);
|
||||
|
||||
GameHelper.AddGoldNumber(50);
|
||||
PlayerPrefs.SetInt("first_uid", (int)GameHelper.GetLoginModel().uid);
|
||||
PreferencesMgr.Instance.Currency102 = PreferencesMgr.Instance.Currency102 + ConfigSystem.GetConfig<CommonModel>().InitialNum;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user