Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 327a18a

Browse files
committed
up
1 parent a61cbb3 commit 327a18a

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

_layouts/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h1>Documentation</h1>
4343
<li class="divider"></li>
4444
<li class="nav-header">Script Programming</li>
4545
<li{% if page.docsitem == "api-docs-programming" %} class="active"{% endif %}><a href="{{ site.baseurl }}/docs/programming/apidocs.html">Script API Docs</a></li>
46-
<li{% if page.docsitem == "documentation-alias" %} class="active"{% endif %}><a href="{{ site.baseurl }}/docs/programming/alias.html">Type the alias</a></li>
46+
<li{% if page.docsitem == "documentation-types" %} class="active"{% endif %}><a href="{{ site.baseurl }}/docs/programming/types.html">Custom types</a></li>
4747
<li{% if page.docsitem == "documentation-customtypes" %} class="active"{% endif %}><a href="{{ site.baseurl }}/docs/programming/customtypes.html">Custom types</a></li>
4848
<li{% if page.docsitem == "documentation-entitydef" %} class="active"{% endif %}><a href="{{ site.baseurl }}/docs/programming/entitydef.html">Defining the Entity</a></li>
4949

_layouts/docs_cn.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h1>文档</h1>
4242
<li class="divider"></li>
4343
<li class="nav-header">脚本编程</li>
4444
<li{% if page.docsitem == "api-docs" %} class="active"{% endif %}><a href="{{ site.baseurl }}/cn/docs/programming/apidocs.html">脚本API文档</a></li>
45-
<li{% if page.docsitem == "documentation-alias" %} class="active"{% endif %}><a href="{{ site.baseurl }}/cn/docs/programming/alias.html">类型别名</a></li>
45+
<li{% if page.docsitem == "documentation-types" %} class="active"{% endif %}><a href="{{ site.baseurl }}/cn/docs/programming/types.html">自定义类型</a></li>
4646
<li{% if page.docsitem == "documentation-customtypes" %} class="active"{% endif %}><a href="{{ site.baseurl }}/cn/docs/programming/customtypes.html">自定义类型</a></li>
4747
<li{% if page.docsitem == "documentation-entitydef" %} class="active"{% endif %}><a href="{{ site.baseurl }}/cn/docs/programming/entitydef.html">定义实体</a></li>
4848

cn/docs/programming/alias.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: docs_cn
3-
title: Type the alias · Docs · KBEngine
3+
title: Custom types · Docs · KBEngine
44
tab: docs
5-
docsitem: documentation-alias
5+
docsitem: documentation-types
66
---
77

88
类型别名
@@ -54,7 +54,7 @@ docsitem: documentation-alias
5454
* 引擎可以自动识别数据类型进行网络传输和存储
5555

5656

57-
文件目录地址 : `assets/scripts/entity_defs/alias.xml`
57+
文件目录地址 : `assets/scripts/entity_defs/types.xml`
5858

5959
------------------------------------------
6060
### 简单的别名

cn/docs/programming/customtypes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ C++底层通常都不会去干涉内存里存储的是什么, 但当进行网络
1616
重定义固定字典(FIXED_DICT)
1717
-----------------------
1818

19-
alias.xml中基本声明格式类似如下:
19+
types.xml中基本声明格式类似如下:
2020

2121
<类型名称> FIXED_DICT
2222

@@ -39,7 +39,7 @@ alias.xml中基本声明格式类似如下:
3939

4040
一个例子:
4141

42-
assets\scripts\entity_defs\alias.xml:
42+
assets\scripts\entity_defs\types.xml:
4343

4444
<XXX> FIXED_DICT
4545
<implementedBy> XXX_PICKLER.inst </implementedBy>

docs/programming/alias.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
layout: docs
3-
title: Type the alias · Docs · KBEngine
3+
title: Custom types · Docs · KBEngine
44
tab: docs
5-
docsitem: documentation-alias
5+
docsitem: documentation-types
66
---
77

8-
Type the alias
8+
Custom types
99
====================
1010

1111
Base Script Types
@@ -53,7 +53,7 @@ Why use a type alias?
5353
* Engine can automatically identify the type of data for network transmission and storage
5454

5555

56-
Path definition file : `assets/scripts/entity_defs/alias.xml`
56+
Path definition file : `assets/scripts/entity_defs/types.xml`
5757

5858
------------------------------------------
5959
### Simple type alias
@@ -64,7 +64,7 @@ Path definition file : `assets/scripts/entity_defs/alias.xml`
6464
<ENTITY_FORBID_COUNTER> ARRAY <of> INT8 </of> </ENTITY_FORBID_COUNTER>
6565
<ENTITYID_LIST> ARRAY <of> ENTITY_ID </of> </ENTITYID_LIST>
6666

67-
### Fixed dictionary type alias(FIXED_DICT)
67+
### Fixed dictionary type(FIXED_DICT)
6868

6969
Data structures can be used as a dictionary like Python, the engine can be identified in the storage and network transmission based on the definition.
7070

0 commit comments

Comments
 (0)