h5sdk提交

This commit is contained in:
2026-07-06 16:31:08 +08:00
parent 761e670f01
commit 3c0298f19f
1183 changed files with 107360 additions and 42666 deletions
+24 -20
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()
@@ -99,20 +100,19 @@ namespace BingoBrain
private void EnterHall(object obj = null)
{
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.SmailUI_Open);
}
else
{
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SheepPlayUI_Open);
// 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);
// }
// else
// {
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SheepPlayUI_Open);
}
// }
GameHelper.PostFunnelLogin("enterHall");
Audio.Instance.StopBGM();
@@ -122,9 +122,13 @@ namespace BingoBrain
if (GameHelper.IsGiftSwitch())
{
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BroadcastUI_Open);
if (PlayerPrefs.GetInt("first_", 0) != 1)
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;
}
}