添加开放源代码协议
This commit is contained in:
26
LICENSE
Normal file
26
LICENSE
Normal file
@@ -0,0 +1,26 @@
|
||||
Copyright 2020 Tiny Fun Technologies
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software without
|
||||
specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
||||
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
12
README.md
12
README.md
@@ -2,11 +2,11 @@
|
||||
|
||||
将 Excel 配置表中的数据导出为方便程序读取和使用的数据。
|
||||
|
||||
## 目前支持的导出格式有:
|
||||
* JSON 文件
|
||||
* C# 类型声明
|
||||
~~* TypeScript 声明文件(需要配合 JSON 使用)~~
|
||||
~~* Godot 引擎的 GDScript 脚本文件~~
|
||||
## 支持将Excel配置表导出为:
|
||||
- [x] JSON 文件
|
||||
- [x] C# 类型声明
|
||||
- [ ] TypeScript 声明文件、类型文件(可用 `instanceof` 进行类型检查)
|
||||
- [ ] Godot 引擎的 GDScript 脚本文件
|
||||
|
||||
## 表格格式说明
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* 数值(优先使用整形)
|
||||
* 布尔值
|
||||
* 空(`null`)
|
||||
* 该工具设计原则是简单易用,表格字段可由策划自由调整, 不支持数据引用,暂不支持结构体
|
||||
* 该工具设计原则是简单易用,表格字段可由策划自由调整,不支持数据引用,暂不支持结构体
|
||||
|
||||
## Windows 安装
|
||||
安装 NodeJS, 注意勾选将 Node 添加到环境变量 `PATH` 中
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
{
|
||||
"input": [
|
||||
{ "file": "士兵表.xlsx", "encode": "GBK"},
|
||||
{ "file": "统帅表.xlsx", "encode": "GBK"},
|
||||
{ "file": "武器表.xlsx", "encode": "GBK"},
|
||||
{ "file": "装备表.xlsx", "encode": "GBK"},
|
||||
{ "file": "关卡表.xlsx", "encode": "GBK"},
|
||||
{ "file": "箱子奖励招募表.xlsx", "encode": "GBK"},
|
||||
{ "file": "僵尸表.xlsx", "encode": "GBK"},
|
||||
{ "file": "任务表.xlsx", "encode": "GBK"},
|
||||
{ "file": "伤害动作表.xlsx", "encode": "GBK"},
|
||||
{ "file": "签到表.xlsx", "encode": "GBK"}
|
||||
{ "file": "配置表.xlsx", "encode": "GBK"}
|
||||
],
|
||||
"parser": {
|
||||
"first_row_as_field_comment": true
|
||||
|
||||
Reference in New Issue
Block a user