# ConfigTools **Repository Path**: gitmy/ConfigTools ## Basic Information - **Project Name**: ConfigTools - **Description**: 把Excel配置表导出成Json格式, 可供服务器,客户端(Unity,Laya)使用, 可直接根据表结构生成对应的代码支持C#和TypeScript. Export Excel configuration table into Json format, which can be used by server and client (Unity, Laya), and directly generate code corresponding to table structure to support C # and TypeScript. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 5 - **Created**: 2025-09-15 - **Last Updated**: 2025-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ConfigTools 把Excel配置表导出成Json格式, 可供服务器,客户端(Unity,Laya)使用 # 特性 1: 支持生成两种代码 C#和TypeScript. 2: 支持多种字段类型设定(int,float,string,bool,intarray,floatarray,stringarray). 3: 支持指定字段导出类型(all,client,server). 4: 自动根据表ID来生成Map或者List数据结构. 5: 可视化UI操作. 6: 可以非常方便的修改和扩展功能以符合自己的实际项目需求. # 表结构示例 |表ID大小写无关,没有生成List,有生成Map|文字描述|服务器数据|浮点数据|整型数组|字符串数组|bool值| |-------| --------| ------- | ------ | ------- | -------| ------- | |id|name|serverdata|floatdata|intarray|stringlist|booldata| |int |string |int |float+ |int+| string+ |bool| |all |client| server |all| all| all |all| |1| 这是id1| 1| 1.1| 1| s1| 0| |2| 这是id2| 2| 2.1;2.2| 1;2| s1;s2 |1| |3| 这是id3| 3| 3.1;3.2;3.3| 1;2;3| s1;s2;s3 |0| //两种格式Sample 具体Excel格式可以根据这两个文件 https://github.com/huangkumao/ConfigTools/blob/master/Samples/Configs/ListSample.xlsx https://github.com/huangkumao/ConfigTools/blob/master/Samples/Configs/MapSample.xlsx ![Image text](https://github.com/huangkumao/ConfigTools/blob/master/ConfigTools.png)