This commit is contained in:
2026-06-04 13:57:53 +08:00
parent 1e442c6bb3
commit 3fe5251b55
76 changed files with 612 additions and 824 deletions
+16 -11
View File
@@ -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;
}
}