This commit is contained in:
edy
2026-07-10 10:24:05 +08:00
parent 24bd71052e
commit 9ae39bad34
2 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -138,8 +138,8 @@ namespace BingoBrain
// SdkManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
// SdkManager.Instance.SetPadding(0, top_offset / GRoot.inst.height, 0, buttom_offset / GRoot.inst.height);
SdkManager.Instance.SetDarkThough(true);
SdkManager.Instance.RefreshUrl();
SdkManager.Instance.ShowH5View(false);
SdkManager.Instance.RefreshUrl();
}
}
public int GetRegisteredCalendarDaysByUTC(long regTimeTimestamp)
+20 -10
View File
@@ -131,14 +131,10 @@ namespace DontConfuse
// Debug.Log("Touch click: " + name);
GameDispatcher.Instance.Dispatch(BingoInfo.H5ViewClickBtn, name);
}
public void H5AutoRefresh(string string_xcode)
public void H5AutoRefresh(string string_xcode)
{
Debug.Log("string_xcode" + string_xcode);
if (string_xcode.Contains("|h5"))
{
Debug.Log(JsonConvert.SerializeObject(light_restoredList));
string[] _string_arr = string_xcode.Split("|");
if (_string_arr.Length >= 2)
{
@@ -151,9 +147,16 @@ namespace DontConfuse
PlayerPrefs.SetString("Dailyrefreshnum", str);
break;
}
}
H5sendClass info = new H5sendClass() { link = _string_arr[0], type = "h5" };
NetworkKit_sdk.PostWithHeader<object>("event/h5Impressions", info, (isSuccess, obj) =>
{
if (isSuccess)
{
Debug.Log("发送成功" + _string_arr[0]);
}
});
}
}
else if (string_xcode.Contains("|h6"))
@@ -172,17 +175,24 @@ namespace DontConfuse
PlayerPrefs.SetString("Darkrefreshnum", string.Join(";", dark_restoredList.Select(row => string.Join(",", row))));
break;
}
}
}
H5sendClass info = new H5sendClass() { link = _string_arr[0], type = "h6" };
NetworkKit_sdk.PostWithHeader<object>("event/h5Impressions", info, (isSuccess, obj) =>
{
if (isSuccess)
{
Debug.Log("发送成功" + _string_arr[0]);
}
}
});
}
}
}
private GList select_glist;
private float select_glist_y;
public void TouchClickPoint(string name)