Skip to content

游戏开发中必不可少的配置导表工具

Notifications You must be signed in to change notification settings

qiafan666/game_genXls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

服务端导表工具

Getting started

修改 makefile 中的 各个路径,然后运行 make 命令。

配置表结构

前四行为表头,后面为数据,例子可看excel中的称号表实例。

数据类型

byte = int8 int = int32 long = int64 float = float64 string = string List<> 代表数组,如 List 代表 int32 数组。

自定义数据结构

自定义类型需要在 struct_自定义数据结构表中配好,然后再引用。

注意事项

sheet为结构体名称,首字母大写,如称号表。 称号表示例中,第三行字母代表意义为: A:all S:server C:client D:database G:game

目前特殊处理的xlsx文件中的id列,统一结构体字段为Id,同时跳过上述类型校验,不做判断,直接生成。

About

游戏开发中必不可少的配置导表工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published