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

Skip to content

Commit bae0ed9

Browse files
committed
up
1 parent cd50ea0 commit bae0ed9

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

cn/docs/programming/serverengineprogramming.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,25 @@ docsitem: server-engine-programming
88
服务端引擎编程
99
====================
1010

11+
12+
###客户端类型
13+
14+
定义在kbengine/kbe/src/lib/cstdkbe/cstdkbe.hpp中:
15+
enum COMPONENT_CLIENT_TYPE
16+
{
17+
// 移动类,手机,平板电脑(可不包含Python脚本,entitydefs协议可使用网络导入)
18+
CLIENT_TYPE_MOBILE = 1,
19+
20+
// 独立的Windows/Linux/Mac应用程序(包含python脚本,entitydefs解析与检查entitydefs的MD5,原生的)
21+
CLIENT_TYPE_APP = 2,
22+
23+
// Web,HTML5,Flash(不包含Python脚本,entitydefs协议可使用网络导入)
24+
CLIENT_TYPE_BROWSER = 3,
25+
26+
// 包含Python脚本,entitydefs解析与检查entitydefs的MD5,原生的
27+
CLIENT_TYPE_BOTS = 4,
28+
29+
// 轻端类,可不包含Python脚本,entitydefs协议可使用网络导入
30+
CLIENT_TYPE_MINI = 5,
31+
...
32+
};

docs/programming/serverengineprogramming.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,25 @@ docsitem: server-engine-programming
88
Server-Engine Programming
99
====================
1010

11+
12+
###client types
13+
14+
Defined in kbengine/kbe/src/lib/cstdkbe/cstdkbe.hpp:
15+
enum COMPONENT_CLIENT_TYPE
16+
{
17+
// Mobile(Phone, Pad)
18+
CLIENT_TYPE_MOBILE = 1,
19+
20+
// Windows/Linux/Mac Application program(Contains the Python-scripts, entitydefs parsing and check entitydefs-MD5, Native)
21+
CLIENT_TYPE_PC = 2,
22+
23+
// Web,HTML5,Flash(not contain Python-scripts and entitydefs analysis, can be imported protocol from network )
24+
CLIENT_TYPE_BROWSER = 3,
25+
26+
// bots(Contains the Python-scripts, entitydefs parsing and check entitydefs-MD5, Native)
27+
CLIENT_TYPE_BOTS = 4,
28+
29+
// Mini-Client(Allowing does not contain Python-scripts and entitydefs analysis, can be imported protocol from network)
30+
CLIENT_TYPE_MINI = 5,
31+
...
32+
};

0 commit comments

Comments
 (0)