mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] NetProto
[+] NetProto
This commit is contained in:
@@ -23,19 +23,12 @@ message CSPkgHead
|
||||
// 消息协议体
|
||||
message CSPkgBody
|
||||
{
|
||||
CSActLoginReq ActLoginReq = 1; //帐号登录请求
|
||||
CSActLoginRes ActLoginRes = 2; //帐号登录回包
|
||||
CSHeatBeatReq HeatBeatReq = 1; //心跳请求
|
||||
CSHeatBeatRes HeatBeatRes = 2; //心跳回包
|
||||
CSActLoginReq ActLoginReq = 3; //帐号登录请求
|
||||
CSActLoginRes ActLoginRes = 4; //帐号登录回包
|
||||
}
|
||||
|
||||
// 消息结果
|
||||
message ProtoResult
|
||||
{
|
||||
int32 Ret =1; //操作结果,0 为成功, 其他为错误码
|
||||
int32 ParamCnt =2; //文本参数数目
|
||||
repeated string Params = 3;//Ret描述的文本参数
|
||||
}
|
||||
|
||||
|
||||
// 协议ID
|
||||
enum CSMsgID
|
||||
{
|
||||
|
Reference in New Issue
Block a user