From aaa822b7f20f04d9ae00fff5efa6c2ec7e2cd83c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 02 七月 2025 19:51:08 +0800
Subject: [PATCH] 0312 新sdk

---
 Project/js_sdk/src/game_jisugame/java/com/secondworld/univeralsdk/H2EngineSDK.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Project/js_sdk/src/game_jisugame/java/com/secondworld/univeralsdk/H2EngineSDK.java b/Project/js_sdk/src/game_jisugame/java/com/secondworld/univeralsdk/H2EngineSDK.java
index 22f703f..4515a69 100644
--- a/Project/js_sdk/src/game_jisugame/java/com/secondworld/univeralsdk/H2EngineSDK.java
+++ b/Project/js_sdk/src/game_jisugame/java/com/secondworld/univeralsdk/H2EngineSDK.java
@@ -54,6 +54,9 @@
                 case CodeU2A.AssetCopy:
                     FileUtil.copyAssets(_activity);
                     break;
+                case CodeU2A.CopyOneAsset:
+                    FileUtil.copy(_activity, _json.getString("fileName"));
+                    break;
                 case CodeU2A.BatteryListenStart:
                     BatteryUtil.getInstance().start(_activity);
                     break;
@@ -135,6 +138,9 @@
                 case CodeU2A.JPushRemoveLocalMessage:
                     removeNotification(_activity, _json.getInt("id"));
                     break;
+                case CodeU2A.SendRegistEvent:
+                    JSPlatformUtil.getInstance().SendRegisterEvent();
+                    break;
             }
 
         } catch (JSONException e)

--
Gitblit v1.8.0