Compare commits
2
Commits
520ae2bd3d
...
11c764340e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11c764340e | ||
|
|
9ae39bad34 |
@@ -154,23 +154,25 @@ namespace BingoBrain
|
||||
Debug.Log(open_dark_wv);
|
||||
if (open_dark_wv)
|
||||
{
|
||||
SdkManager.Instance.OpenWv();
|
||||
// int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
|
||||
// int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
|
||||
// float top_offset = 150;//fgui中的顶部信息的高度
|
||||
// float buttom_offset = 0;
|
||||
// if (Screen.safeArea.y != 0)
|
||||
// {//刘海屏
|
||||
// top_offset += Screen.safeArea.y;
|
||||
// }
|
||||
|
||||
// SdkManager.Instance.setFlyBtnTag(flyswitch == 1);
|
||||
// SdkManager.Instance.setRewardBtnTag(propswitch == 1);
|
||||
// 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.ShowH5View(false);
|
||||
SdkManager.Instance.RefreshUrl();
|
||||
SdkManager.Instance.OpenWv();
|
||||
// int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
|
||||
// int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
|
||||
// float top_offset = 150;//fgui中的顶部信息的高度
|
||||
// float buttom_offset = 0;
|
||||
// if (Screen.safeArea.y != 0)
|
||||
// {//刘海屏
|
||||
// top_offset += Screen.safeArea.y;
|
||||
// }
|
||||
|
||||
// SdkManager.Instance.setFlyBtnTag(flyswitch == 1);
|
||||
// SdkManager.Instance.setRewardBtnTag(propswitch == 1);
|
||||
// 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);
|
||||
|
||||
}
|
||||
}
|
||||
public int GetRegisteredCalendarDaysByUTC(long regTimeTimestamp)
|
||||
|
||||
@@ -152,14 +152,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)
|
||||
{
|
||||
@@ -172,9 +168,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"))
|
||||
@@ -193,17 +196,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)
|
||||
|
||||
Reference in New Issue
Block a user