From 3f785bab20299110f19f71f9e2a6d97ef805207a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 18 Sep 2024 10:44:35 +0800 Subject: [PATCH] feat: NodeIO3MiscService --- src/core/listeners/NodeIKernelO3MiscListener.ts | 5 +++++ src/core/services/NodeIO3MiscService.ts | 5 +++++ src/core/wrapper.ts | 1 - 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/core/listeners/NodeIKernelO3MiscListener.ts create mode 100644 src/core/services/NodeIO3MiscService.ts diff --git a/src/core/listeners/NodeIKernelO3MiscListener.ts b/src/core/listeners/NodeIKernelO3MiscListener.ts new file mode 100644 index 00000000..d015ea21 --- /dev/null +++ b/src/core/listeners/NodeIKernelO3MiscListener.ts @@ -0,0 +1,5 @@ +export class NodeIKernelO3MiscListener { + getOnAmgomDataPiece(...arg: unknown[]) { + + } +} \ No newline at end of file diff --git a/src/core/services/NodeIO3MiscService.ts b/src/core/services/NodeIO3MiscService.ts new file mode 100644 index 00000000..a1a06d12 --- /dev/null +++ b/src/core/services/NodeIO3MiscService.ts @@ -0,0 +1,5 @@ +export interface NodeIO3MiscService { + addO3MiscListener(listeners: NodeIO3MiscService): number; + + setAmgomDataPiece(appid: string, dataPiece: Uint8Array): void; +} diff --git a/src/core/wrapper.ts b/src/core/wrapper.ts index 9244e10d..375d5502 100644 --- a/src/core/wrapper.ts +++ b/src/core/wrapper.ts @@ -276,7 +276,6 @@ export interface WrapperNodeApi { NodeIKernelLoginService: NodeIKernelLoginService; NodeIKernelProfileService: NodeIKernelProfileService; } - export enum PlatformType { KUNKNOWN, KANDROID,