mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-24 17:54:30 +08:00
refactor: 修复所有问题
This commit is contained in:
1 parent
74f0386fd9
commit
5c520e3d52
68 files changed
+1230
-1077
No files matched your search
Vendored
+10
-1
@@ -218,7 +218,7 @@ interface Control {
|
||||
/**
|
||||
* 脚本编辑的control函数列表
|
||||
*/
|
||||
readonly controlData: ControlData;
|
||||
readonly controldata: ControlData;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
@@ -1169,6 +1169,15 @@ interface Control {
|
||||
_replay_SL(): void;
|
||||
_replay_viewMap(): void;
|
||||
_replay_error(action: string): void;
|
||||
_setAutomaticRoute_isMoving(x: number, y: number): boolean;
|
||||
_setAutomaticRoute_isTurning(x: number, y: number, postfix: any): boolean;
|
||||
_setAutomaticRoute_clickMoveDirectly(
|
||||
x: number,
|
||||
y: number,
|
||||
postfix: any
|
||||
): boolean;
|
||||
_setAutomaticRoute_drawRoute(step: any): void;
|
||||
_setAutomaticRoute_setAutoSteps(step: any): void;
|
||||
}
|
||||
|
||||
declare const control: new () => Control;
|
||||
Vendored
+14
@@ -812,6 +812,20 @@ interface Events extends EventData {
|
||||
__action_getLoc(data: any, x?: number, y?: number, prefix?: any): any;
|
||||
|
||||
_changeFloor_beforeChange(info: any, callback: () => void): void;
|
||||
|
||||
_action_moveAction(data: any, x: number, y: number, prefix: any): void;
|
||||
_openDoor_check(
|
||||
block: Block,
|
||||
x: number,
|
||||
y: number,
|
||||
needKey: boolean
|
||||
): boolean;
|
||||
_openDoor_animate(
|
||||
block: Block,
|
||||
x: number,
|
||||
y: number,
|
||||
callback?: () => void
|
||||
): void;
|
||||
}
|
||||
|
||||
declare const events: new () => Events;
|
||||
Reference in new issue
Block a user