添加开放源代码协议

This commit is contained in:
2020-05-24 19:05:39 +08:00
parent 66a52e8405
commit 8ec55f267e
3 changed files with 33 additions and 16 deletions

26
LICENSE Normal file
View 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.

View File

@@ -2,11 +2,11 @@
将 Excel 配置表中的数据导出为方便程序读取和使用的数据。
## 目前支持的导出格式有:
* JSON 文件
* C# 类型声明
~~* TypeScript 声明文件(需要配合 JSON 使用)~~
~~* Godot 引擎的 GDScript 脚本文件~~
## 支持将Excel配置表导出为:
- [x] JSON 文件
- [x] C# 类型声明
- [ ] TypeScript 声明文件、类型文件(可用 `instanceof` 进行类型检查)
- [ ] Godot 引擎的 GDScript 脚本文件
## 表格格式说明

View File

@@ -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