mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-29 13:34:32 +08:00
修改插件加载机制
This commit is contained in:
1 parent
0604c56e98
commit
d2746c4dc5
43 files changed
+527
-490
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import resource from '../../data/resource.json';
|
||||
import { has } from '../../plugin/utils';
|
||||
import { EmitableEvent, EventEmitter } from '../common/eventEmitter';
|
||||
import { Resource, getTypeByResource } from './resource';
|
||||
|
||||
@@ -118,7 +117,7 @@ export const loading = new GameLoading();
|
||||
|
||||
declare global {
|
||||
interface Main {
|
||||
loading: EventEmitter<GameLoadEvent>;
|
||||
loading: GameLoading;
|
||||
}
|
||||
}
|
||||
main.loading = loading;
|
||||
Reference in new issue
Block a user