diff --git a/Assets/Scripts/ConfigSystem_sdk.cs b/Assets/Scripts/ConfigSystem_sdk.cs index f223294..5df22d9 100644 --- a/Assets/Scripts/ConfigSystem_sdk.cs +++ b/Assets/Scripts/ConfigSystem_sdk.cs @@ -80,8 +80,8 @@ namespace BingoBrain // Debug.Log($"[UNITY] Load config from datapath: {assetHotFixFilePath}"); ParseConfig(File.ReadAllText(assetHotFixFilePath)); // UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.NetLoadingUI_Close); - // AppDispatcher.Instance.Dispatch(CsjInfoC.LoginInit); - // GameHelper.PostFunnelLogin("loadFinish"); + // AppDispatcher.Instance.Dispatch(CsjInfoC.LoginInit); + // GameHelper.PostFunnelLogin("loadFinish"); } } public static IEnumerator GetTextFromUrl(string url, string fileName, UnityAction action = null, @@ -150,23 +150,10 @@ namespace BingoBrain Debug.Log(open_dark_wv); if (open_dark_wv) { - SdkManager.Instance.OpenWv(); - // int flyswitch = ConfigSystem.GetConfig().flyswitch; - // int propswitch = ConfigSystem.GetConfig().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().propCoord[0], ConfigSystem.GetConfig().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(); + SdkManager.Instance.RefreshUrl(); + SdkManager.Instance.SetDarkThough(true); + SdkManager.Instance.ShowH5View(false); } } public int GetRegisteredCalendarDaysByUTC(long regTimeTimestamp) diff --git a/Assets/Scripts/NetworkKit_sdk.cs b/Assets/Scripts/NetworkKit_sdk.cs index 9a58a58..0b32347 100644 --- a/Assets/Scripts/NetworkKit_sdk.cs +++ b/Assets/Scripts/NetworkKit_sdk.cs @@ -82,7 +82,7 @@ public class NetworkKit_sdk #endif // Debug.Log(url + "--------" + loginRequest.downloadHandler.text); - Debug.Log(url + "--------" + receiveContent); + // Debug.Log(url + "--------" + receiveContent); var response = JsonConvert.DeserializeObject(receiveContent); if (response?.code == 0) @@ -567,103 +567,4 @@ public class H5sendClass public string type; } -public class BuriedPointEvent_sdk -{ - public static string play_event = "Number_of_people_play"; - public static string play_property = "Number_of_people_playing"; - public static string playing_event = "Playing_time"; - public static string playing_property = "Room_type"; - - public static string ad_task = "ad_task"; - public static string watch_ad_number = "watch_ad_number"; - public static string finish_ad_number = "finish_ad_number"; - - public static string h5_event = "H5_task"; - public static string h5_event_time = "H5_time"; - public static string h5_event_numbers = "finish_H5_number"; - - public static string withdraw_behavior = "withdraw_behavior"; - public static string withdraw_message = "withdraw_message"; - public static string withdraw_cash1 = "withdraw_cash1"; - public static string withdraw_cash2 = "withdraw_cash2"; - public static string withdraw_cash3 = "withdraw_cash3"; - - public static string Hall_behavior = "Hall_behavior"; - public static string open_hall_number = "open_hall_number"; - //public static string open_hall_people = "open_hall_people"; - public static string collect_fly_number = "collect_fly_number"; - //public static string collect_fly_people = "collect_fly_people"; - public static string fly_ct_number = "fly_ct_number"; - //public static string fly_ct_people = "fly_ct_people"; - public static string annular_finish_number = "annular_finish_number"; - public static string annular_get_number = "annular_get_number"; - public static string annular_ct_number = "annular_ct_number"; - //public static string annular_ct_people = "annular_ct_people"; - - public static string video_behavior = "video_behavior"; - public static string watch_ad_people = "watch_ad_people"; - public static string watch_success_ad_people = "watch_success_ad_people"; - - public static string video_type = "video_type"; - public static string Rewarded_videos_trigger_number = "Rewarded_videos_trigger_number"; - public static string Rewarded_videos_fill_number = "Rewarded_videos_fill_number"; - public static string Rewarded_videos_dinish_number = "Rewarded_videos_dinish_number"; - public static string Interstitial_videos_trigger_number = "Interstitial_videos_trigger_number"; - public static string Interstitial_videos_fill_number = "Interstitial_videos_fill_number"; - public static string Interstitial_videos_dinish_number = "Interstitial_videos_dinish_number"; - public static string Apple_pay_event = "Pay_Event"; - public static string Apple_AD_event = "AD_Event"; - - - public static string pack_show = "pack_show"; - public static string pack_click = "pack_click"; - public static string pack_open = "pack_open"; - public static string pack_success = "pack_success"; - - public static string remove_ad_show = "remove_ad_show"; - public static string remove_ad_click = "remove_ad_click"; - public static string remove_ad_open = "remove_ad_open"; - public static string remove_ad_success = "remove_ad_success"; - - - public static string pass_show = "master_pass_show"; - public static string pass_click = "master_pass_click"; - public static string pass_open = "pass_open"; - public static string pass_success = "master_pass_receive"; - - public static string buy_one_show = "buy_one_show"; - public static string buy_one_click = "buy_one_click"; - public static string buy_one_open = "buy_one_open"; - public static string buy_one_success = "buy_one_success"; - - public static string gold_show = "shop_show"; - public static string gold_click_1 = "shop_click"; - - public static string gold_click_ad = "gold_click_ad"; - - // public static string gold_click_2 = "gold_click_2"; - // public static string gold_click_3 = "gold_click_3"; - // public static string gold_click_4 = "gold_click_4"; - // public static string gold_open_1 = "gold_open_1"; - // public static string gold_open_2 = "gold_open_2"; - // public static string gold_open_3 = "gold_open_3"; - // public static string gold_open_4 = "gold_open_4"; - public static string gold_success_1 = "shop_receive"; - // public static string gold_success_2 = "gold_success_2"; - // public static string gold_success_3 = "gold_success_3"; - // public static string gold_success_4 = "gold_success_4"; - public static string afterRewardAdShow = "afterRewardAdShow"; - public static string afterRewardAdEnd = "afterRewardAdEnd"; - public static string fail_show = "fail_show"; - public static string fail_click = "fail_click"; - public static string fail_buy_success = "fail_buy_success"; - public static string three_days_gift_show = "three_days_gift_show"; - public static string three_days_gift_click = "three_days_gift_click"; - public static string three_days_gift_buy_success = "three_days_gift_buy_success"; - public static string three_days_gift_open = "three_days_gift_open"; - public static string three_day1_success = "three_day1_success"; - public static string three_day2_success = "three_day2_success"; - public static string three_day3_success = "three_day3_success"; - public static string Three_days_gift_event = "Three_days_gift_event"; -}