"use strict"; cc._RF.push(module, 'd33a79oyhRNnoKubaczy7pB', 'plot.define'); // Scripts/mod/plot/plot.define.js "use strict"; /******************************************************************************* * * 剧情相关定义 * * * * 2023.06.25 ******************************************************************************/ module.exports = { /*** * ********************************************************************* * 协议 * ********************************************************************* */ /*** * ********************************************************************* * 定义 * ********************************************************************* */ // 缓存键:引导记录 KEY_PLOTS: "KEY_PLOTS", KEY_PLOT_OPEN: "KEY_PLOT_OPEN", // 剧本类型 PlotType: { None: "", Anim: "anim", // 动画类 Dialogue: "dia", // 对话类 Guide: "guide" // 引导类 }, /*** * ********************************************************************* * 视图 * ********************************************************************* */ ViewPlot: { Name: "Plot", Single: true, VBD: true, Model: [{ key: "id", value: "", desc: "当前剧情ID" }, { key: "info", value: null, desc: "当前剧情信息" }, { key: "skip", value: false, desc: "是否可跳过" }, { key: "step", value: -1, desc: "当前步骤" }, { key: "total", value: 0, desc: "剧情总步骤" }, { key: "key", value: "", desc: "触发事件" }] } }; cc._RF.pop();