9ac19f74-706c-48d0-94e5-99251864829e.js.map
1.59 KB
{"version":3,"sources":["assets/script/avg/game-data/GameVariables.ts"],"names":[],"mappings":";;;;;;;AAAA,+DAAuN;AAe1M,QAAA,wBAAwB,qBAC9B,oDAA8B,EACpC;AAEY,QAAA,wBAAwB,qBAC9B,oDAA8B,EACpC;AAEY,QAAA,sBAAsB,mBAC/B,WAAW,EAAE,EAAE,EACf,YAAY,EAAE,CAAC,GAAG,EAClB,aAAa,EAAE,CAAC,CAAC,IACd,kDAA4B,EAClC;AAEY,QAAA,sBAAsB,mCAC5B,kDAA4B,KAC/B,GAAG,EAAE,EAAE,IACV","file":"","sourceRoot":"/","sourcesContent":["import { editorDefaultGlobalVariables, editorDefaultRecordVariables, editorGlobalVariableConstrains, EditorGlobalVariableType, editorRecordVariableConstrains, EditorRecordVariableType } from \"./EditorGameVariables\";\nimport { ReadonlyPlot } from \"../model/PlotModel\";\n\nexport interface GlobalVariableType extends EditorGlobalVariableType {\n /**存回档后不变的数据 */\n customPlots: { [key: string]: ReadonlyPlot };\n customPlotId: number;\n plotUseEnergy: number;\n}\n\nexport interface RecordVariableType extends EditorRecordVariableType {\n /**存跟着回档变化的数据 */\n bgm: string // 当前游戏音乐 \n}\n\nexport const globalVariableConstrains: { [key: string]: { min?: number, max?: number } } = {\n ...editorGlobalVariableConstrains\n}\n\nexport const recordVariableConstrains: { [key: string]: { min?: number, max?: number } } = {\n ...editorRecordVariableConstrains\n}\n\nexport const defaultGlobalVariables: GlobalVariableType = {\n customPlots: {},\n customPlotId: -100,\n plotUseEnergy: -1,\n ...editorDefaultGlobalVariables\n}\n\nexport const defaultRecordVariables: RecordVariableType = {\n ...editorDefaultRecordVariables,\n bgm: \"\"\n}\n"]}