webgal-parser 4.6.5 → 4.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,7 @@ var commandType;
41
41
  commandType[commandType["callSteam"] = 34] = "callSteam";
42
42
  commandType[commandType["return"] = 35] = "return";
43
43
  commandType[commandType["changeFigureDiff"] = 36] = "changeFigureDiff";
44
+ commandType[commandType["character"] = 37] = "character";
44
45
  })(commandType || (commandType = {}));
45
46
 
46
47
  const SCRIPT_CONFIG = [
@@ -84,6 +85,7 @@ const SCRIPT_CONFIG = [
84
85
  { scriptString: 'wait', scriptType: commandType.wait },
85
86
  { scriptString: 'callSteam', scriptType: commandType.callSteam },
86
87
  { scriptString: 'return', scriptType: commandType.return },
88
+ { scriptString: 'character', scriptType: commandType.character },
87
89
  ];
88
90
  const ADD_NEXT_ARG_LIST = [
89
91
  commandType.bgm,
@@ -40,7 +40,8 @@ export declare enum commandType {
40
40
  wait = 33,
41
41
  callSteam = 34,
42
42
  return = 35,
43
- changeFigureDiff = 36
43
+ changeFigureDiff = 36,
44
+ character = 37
44
45
  }
45
46
  /**
46
47
  * 单个参数接口
package/build/es/index.js CHANGED
@@ -37,6 +37,7 @@ var commandType;
37
37
  commandType[commandType["callSteam"] = 34] = "callSteam";
38
38
  commandType[commandType["return"] = 35] = "return";
39
39
  commandType[commandType["changeFigureDiff"] = 36] = "changeFigureDiff";
40
+ commandType[commandType["character"] = 37] = "character";
40
41
  })(commandType || (commandType = {}));
41
42
 
42
43
  const SCRIPT_CONFIG = [
@@ -80,6 +81,7 @@ const SCRIPT_CONFIG = [
80
81
  { scriptString: 'wait', scriptType: commandType.wait },
81
82
  { scriptString: 'callSteam', scriptType: commandType.callSteam },
82
83
  { scriptString: 'return', scriptType: commandType.return },
84
+ { scriptString: 'character', scriptType: commandType.character },
83
85
  ];
84
86
  const ADD_NEXT_ARG_LIST = [
85
87
  commandType.bgm,
@@ -40,7 +40,8 @@ export declare enum commandType {
40
40
  wait = 33,
41
41
  callSteam = 34,
42
42
  return = 35,
43
- changeFigureDiff = 36
43
+ changeFigureDiff = 36,
44
+ character = 37
44
45
  }
45
46
  /**
46
47
  * 单个参数接口
@@ -40,7 +40,8 @@ export declare enum commandType {
40
40
  wait = 33,
41
41
  callSteam = 34,
42
42
  return = 35,
43
- changeFigureDiff = 36
43
+ changeFigureDiff = 36,
44
+ character = 37
44
45
  }
45
46
  /**
46
47
  * 单个参数接口
@@ -40,6 +40,7 @@ var webgalParser = (function (exports) {
40
40
  commandType[commandType["callSteam"] = 34] = "callSteam";
41
41
  commandType[commandType["return"] = 35] = "return";
42
42
  commandType[commandType["changeFigureDiff"] = 36] = "changeFigureDiff";
43
+ commandType[commandType["character"] = 37] = "character";
43
44
  })(commandType || (commandType = {}));
44
45
 
45
46
  const SCRIPT_CONFIG = [
@@ -83,6 +84,7 @@ var webgalParser = (function (exports) {
83
84
  { scriptString: 'wait', scriptType: commandType.wait },
84
85
  { scriptString: 'callSteam', scriptType: commandType.callSteam },
85
86
  { scriptString: 'return', scriptType: commandType.return },
87
+ { scriptString: 'character', scriptType: commandType.character },
86
88
  ];
87
89
  const ADD_NEXT_ARG_LIST = [
88
90
  commandType.bgm,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webgal-parser",
3
- "version": "4.6.5",
3
+ "version": "4.6.7",
4
4
  "description": "WebGAL script parser",
5
5
  "scripts": {
6
6
  "test": "vitest",
@@ -41,6 +41,7 @@ export const SCRIPT_CONFIG = [
41
41
  { scriptString: 'wait', scriptType: commandType.wait },
42
42
  { scriptString: 'callSteam', scriptType: commandType.callSteam },
43
43
  { scriptString: 'return', scriptType: commandType.return },
44
+ { scriptString: 'character', scriptType: commandType.character },
44
45
  ];
45
46
  export const ADD_NEXT_ARG_LIST = [
46
47
  commandType.bgm,
@@ -42,6 +42,7 @@ export enum commandType {
42
42
  callSteam, // 调用Steam功能
43
43
  return, // 从被调用的场景返回
44
44
  changeFigureDiff, // 切换等尺寸静态立绘差分;追加以保持旧指令编号
45
+ character, // 管理静态组合角色
45
46
  }
46
47
 
47
48
  /**