【更新】更新 README.md, 优化文档

main
walon 2021-07-05 16:14:23 +08:00
parent 61703adc25
commit cba05fb037
4 changed files with 14 additions and 9 deletions

View File

@ -40,11 +40,11 @@ Luban适合有以下需求的开发者
- [主页](https://focus-creative-games.github.io/luban/index.html) - [主页](https://focus-creative-games.github.io/luban/index.html)
- [特性](docs/traits.md) - [特性](docs/traits.md)
- [Excel 配置数据简介](docs/data_excel.md) - [Excel 配置数据简介](docs/data_excel.md)
- [使用说明](docs/catalog.md) - [文档目录](docs/catalog.md)
- [常见问题](docs/faq.md) - [常见问题](docs/faq.md)
- [快速上手及进阶](docs/start_up.md) - [[TODO] 快速上手及进阶](docs/start_up.md)
- [完整手册](docs/manual.md) - [[TODO] 完整手册](docs/manual.md)
- [示例项目](https://github.com/focus-creative-games/luban_examples) - **[====>强烈推荐查看:示例项目 <====](https://github.com/focus-creative-games/luban_examples)**
## 特性 ## 特性
- 支持增强的excel格式可以在excel里比较简洁填写出任意复杂的数据 - 支持增强的excel格式可以在excel里比较简洁填写出任意复杂的数据
@ -111,7 +111,8 @@ Luban适合有以下需求的开发者
<var name="x5" type="long" /> <var name="x5" type="long" />
<var name="x6" type="float"/> <var name="x6" type="float"/>
<var name="x7" type="double"/> <var name="x7" type="double"/>
<var name="x10" type="string" /> <var name="s1" type="string" />
<var anme="s2" type="text"/> 本地化字符串,由key和text两个字段构成
<var name="v2" type="vector2"/> <var name="v2" type="vector2"/>
<var name="v3" type="vector3"/> <var name="v3" type="vector3"/>
<var name="v4" type="vector4"/> <var name="v4" type="vector4"/>
@ -790,7 +791,9 @@ return
## 使用 luban-client ## 使用 luban-client
- 基于 docker (推荐 linux、mac平台使用) - 基于 docker (推荐 linux、mac平台使用)
docker run --rm focuscreativegames/luban-client <参数> docker run --rm -v $PWD/.cache.meta:/bin/.cache.meta focuscreativegames/luban-client <参数>
提醒! .cache.meta这个文件用于保存本地生成或者提交到远程的文件md5缓存**强烈推荐** 添加-v 映射不然每次重新计算所有涉及文件的md5,这可能在项目后期会造成多达几秒的延迟。
- 基于 .net 5 runtime 推荐win平台使用可跨平台不需要重新编译 - 基于 .net 5 runtime 推荐win平台使用可跨平台不需要重新编译
- 自行安装 .net 5 runtime. - 自行安装 .net 5 runtime.
- 从[示例项目](https://github.com/focus-creative-games/luban_examples/tree/main/Tools/Luban.Client)拷贝 Luban.Client**可跨平台即使在linux、mac平台也不需要重新编译** - 从[示例项目](https://github.com/focus-creative-games/luban_examples/tree/main/Tools/Luban.Client)拷贝 Luban.Client**可跨平台即使在linux、mac平台也不需要重新编译**

View File

@ -1,7 +1,7 @@
* start up * start up
- [下载 dotnet sdk 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1) - [下载 dotnet 5](https://dotnet.microsoft.com/download/dotnet/5.0)
- [下载 luban.client&luban.server](https://github.com/focus-creative-games/luban/releases/tag/v1.0) - [下载 luban.client&luban.server](https://github.com/focus-creative-games/luban_examples/tree/main/Tools)
- 启动 luban.server - 启动 luban.server
- 创建游戏配置 - 创建游戏配置
- root.xml - root.xml

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -13,6 +13,9 @@
- bool?,byte?,short?,fshort?,int?,fint?,long?,flong?,float?,double? - bool?,byte?,short?,fshort?,int?,fint?,long?,flong?,float?,double?
- vector2?,vector3?,vector4? - vector2?,vector3?,vector4?
- datetime? - datetime?
- <枚举>?
- < bean>?
- <多态bean>?
* 自定义枚举 enum 及相应可空类型 * 自定义枚举 enum 及相应可空类型
* 自定义常量 const * 自定义常量 const
* 自定义结构 bean * 自定义结构 bean
@ -84,7 +87,6 @@
### 多种数据表模式 ### 多种数据表模式
* one 格式,即单例表模式 * one 格式,即单例表模式
* map 格式即普通key-value表模式。 任何符合set 的value要求的类型都可以做key * map 格式即普通key-value表模式。 任何符合set 的value要求的类型都可以做key
* bmap 格式,即双主键模式。 任何符合 set 的value要求的类型都可以作 key1和key
### 本地化支持 ### 本地化支持
* 支持**本地化时间**。 配置中的 datetime会根据指定的timezone及localtime转化为正确的utc时间方便程序处理 * 支持**本地化时间**。 配置中的 datetime会根据指定的timezone及localtime转化为正确的utc时间方便程序处理