追逐战

This commit is contained in:
AncTe committed 2023-01-03 22:24:05 +08:00
1 parent 64a4fa05a8
commit bdf47dae82
15 files changed
+1096 -670

No files matched your search

+6 -1
View File
@@ -146,6 +146,11 @@ interface FloorBase<T extends FloorIds = FloorIds> {
*/
cannotViewMap?: boolean;
/**
* 是否不能瞬移
*/
cannotMoveDirectly?: boolean;
/**
* 是否是地下层
*/
@@ -1347,7 +1352,7 @@ interface Maps {
name: AnimationIds | NameMapIn<AnimationIds>,
x: number,
y: number,
alignWindow: boolean,
alignWindow?: boolean,
callback?: () => void
): number;
+6
View File
@@ -108,6 +108,12 @@ interface PluginUtils {
type: 'warn' | 'info' | 'success' | 'error' | 'warning' | 'loading',
text: string
): void;
/**
* 开始一个追逐战
* @param index 追逐战索引
*/
startChase(index: number): Promise<void>;
}
interface PluginUis {
+2 -2
View File
@@ -784,7 +784,7 @@ interface Ui {
* 重新定位一个自定义画布
*/
relocateCanvas(
name: string,
name: CtxRefer,
x: number,
y: number,
useDelta?: boolean
@@ -806,7 +806,7 @@ interface Ui {
* @param isTempCanvas 是否是临时画布,如果填true,会将临时画布修改为高清画布
*/
resizeCanvas(
name: string,
name: CtxRefer,
x?: number,
y?: number,
styleOnly?: boolean,