chore:fix

This commit is contained in:
手瓜一十雪 committed 2024-08-11 00:44:37 +08:00
1 parent e0478a2ffc
commit 87f513d9ed
7 files changed
+21 -7

No files matched your search

+3 -1
View File
@@ -44,7 +44,9 @@ export class OB11PassiveWebSocketAdapter implements IOB11NetworkAdapter {
});
});
}
registerActionMap(actionMap: Map<string, BaseAction<any, any>>) {
this.actionMap = actionMap;
}
registerAction<T extends BaseAction<P, R>, P, R>(action: T) {
this.actionMap.set(action.actionName, action);
}