-
Notifications
You must be signed in to change notification settings - Fork 1
/
esm.d.ts
25 lines (24 loc) · 1.03 KB
/
esm.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
namespace Text2FrameMV {
/**
* Text2Frameの文法で書かれた文字列をRPG Maker MV/MZのイベントコマンドリストに変換します。
* 戻り値にはMapの定義は含まれず、イベントコマンドリストのみが返るため、Mapへの組み込みは各自で行なってください。
* Converts strings written in Text2Frame syntax into RPG Maker MV/MZ event command lists.
* The return value only includes the event command list and does not contain the Map definition. Therefore, integration into the Map should be done individually.
* @param text Text2Frameの文法に従って書かれた文字列
*/
export function compile(
text: string
): { code: number; parameters: any[]; indent: number }[];
}
declare module "Text2Frame-MV" {
export = Text2FrameMV;
}
declare module "Text2Frame-MV/Text2Frame.cjs.js" {
export = Text2FrameMV;
}
declare module "Text2Frame-MV/Text2Frame.es.js" {
export = Text2FrameMV;
}
declare module "Text2Frame-MV/Text2Frame.umd.js" {
export = Text2FrameMV;
}