1 Star 0 Fork 27

luos / oops-plugin-excel-to-json

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

为oops-moba定制配置、脚本生成插件

游戏配置数据生成 + 数据对象代码生成器插件

Cocos Creator 3.x 配套游戏配置数据生成 + 数据对象代码生成器插件

Cocos Creator 3.x 配置Excel文件目录、配置Json数据输出目录、配置脚本输出目录

Cocos Creator 3.x 配置Excel文件目录、配置Json数据输出目录、配置脚本输出目录

Cocos Creator 3.x 扩展 -> Oops-Framework Excel To Json

Cocos Creator 3.x 扩展 -> Oops-Framework Excel To Json

Cocos Creator 3.x 生成数据资源与脚本资源

Cocos Creator 3.x 生成数据资源与脚本资源,减少编码工作

工具指向策划配置表目录后,每次更新配置时,一键生成数据与静态配置表代码,在项目中后期平凡维护修改时,提高开发效率。

Excel中数据规则

  • Excel中前五行为工具规则数据
  • 第一行为字段中文名
  • 第二行为字段英文名,会生成为json数据的字段名
  • 第三行为字段数据类型,只支持number、string类型,数组和对象类型可自行扩展
  • 第四行标记输出服务器数据时,是否存在这个字段"server"为显示字段,"server_no"为删除字段
  • 第五行标记输出客户端数据时,是否存在这个字段"client"为显示字段,"client_no"为删除字段
MIT License Copyright (c) 2022 dgflash Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

oops-plugin-excel-to-json 是基于 Cocos Creator 3.x 开发的Excel转Json格式的插件,同时会根据表格中的字段生成数据结构TypeScript代码。 展开 收起
TypeScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/luoson/oops-plugin-excel-to-json.git
git@gitee.com:luoson/oops-plugin-excel-to-json.git
luoson
oops-plugin-excel-to-json
oops-plugin-excel-to-json
master

搜索帮助