File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ <h1>Documentation</h1>
43
43
< li class ="divider "> </ li >
44
44
< li class ="nav-header "> Script Programming</ li >
45
45
< 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 >
47
47
< li {% if page.docsitem == "documentation-customtypes " %} class ="active "{% endif %} > < a href ="{{ site.baseurl }}/docs/programming/customtypes.html "> Custom types</ a > </ li >
48
48
< li {% if page.docsitem == "documentation-entitydef " %} class ="active "{% endif %} > < a href ="{{ site.baseurl }}/docs/programming/entitydef.html "> Defining the Entity</ a > </ li >
49
49
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ <h1>文档</h1>
42
42
< li class ="divider "> </ li >
43
43
< li class ="nav-header "> 脚本编程</ li >
44
44
< 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 >
46
46
< li {% if page.docsitem == "documentation-customtypes " %} class ="active "{% endif %} > < a href ="{{ site.baseurl }}/cn/docs/programming/customtypes.html "> 自定义类型</ a > </ li >
47
47
< li {% if page.docsitem == "documentation-entitydef " %} class ="active "{% endif %} > < a href ="{{ site.baseurl }}/cn/docs/programming/entitydef.html "> 定义实体</ a > </ li >
48
48
Original file line number Diff line number Diff line change 1
1
---
2
2
layout : docs_cn
3
- title : Type the alias · Docs · KBEngine
3
+ title : Custom types · Docs · KBEngine
4
4
tab : docs
5
- docsitem : documentation-alias
5
+ docsitem : documentation-types
6
6
---
7
7
8
8
类型别名
@@ -54,7 +54,7 @@ docsitem: documentation-alias
54
54
* 引擎可以自动识别数据类型进行网络传输和存储
55
55
56
56
57
- 文件目录地址 : ` assets/scripts/entity_defs/alias .xml `
57
+ 文件目录地址 : ` assets/scripts/entity_defs/types .xml `
58
58
59
59
------------------------------------------
60
60
### 简单的别名
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ C++底层通常都不会去干涉内存里存储的是什么, 但当进行网络
16
16
重定义固定字典(FIXED_DICT)
17
17
-----------------------
18
18
19
- alias .xml中基本声明格式类似如下:
19
+ types .xml中基本声明格式类似如下:
20
20
21
21
<类型名称> FIXED_DICT
22
22
@@ -39,7 +39,7 @@ alias.xml中基本声明格式类似如下:
39
39
40
40
一个例子:
41
41
42
- assets\scripts\entity_defs\alias .xml:
42
+ assets\scripts\entity_defs\types .xml:
43
43
44
44
<XXX> FIXED_DICT
45
45
<implementedBy> XXX_PICKLER.inst </implementedBy>
Original file line number Diff line number Diff line change 1
1
---
2
2
layout : docs
3
- title : Type the alias · Docs · KBEngine
3
+ title : Custom types · Docs · KBEngine
4
4
tab : docs
5
- docsitem : documentation-alias
5
+ docsitem : documentation-types
6
6
---
7
7
8
- Type the alias
8
+ Custom types
9
9
====================
10
10
11
11
Base Script Types
@@ -53,7 +53,7 @@ Why use a type alias?
53
53
* Engine can automatically identify the type of data for network transmission and storage
54
54
55
55
56
- Path definition file : ` assets/scripts/entity_defs/alias .xml `
56
+ Path definition file : ` assets/scripts/entity_defs/types .xml `
57
57
58
58
------------------------------------------
59
59
### Simple type alias
@@ -64,7 +64,7 @@ Path definition file : `assets/scripts/entity_defs/alias.xml`
64
64
<ENTITY_FORBID_COUNTER> ARRAY <of> INT8 </of> </ENTITY_FORBID_COUNTER>
65
65
<ENTITYID_LIST> ARRAY <of> ENTITY_ID </of> </ENTITYID_LIST>
66
66
67
- ### Fixed dictionary type alias (FIXED_DICT)
67
+ ### Fixed dictionary type(FIXED_DICT)
68
68
69
69
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.
70
70
You can’t perform that action at this time.
0 commit comments