1
This commit is contained in:
parent
40d9fc3fca
commit
0a5bd26af0
@ -1,14 +1,7 @@
|
||||
package ss;
|
||||
package cs;
|
||||
|
||||
//消息id定义
|
||||
enum SSMessageId_e
|
||||
enum CMessageId_e
|
||||
{
|
||||
_SS_Ping = 8;
|
||||
_SS_Pong = 9;
|
||||
|
||||
_SS_WSP_SocketDisconnect = 10;
|
||||
_SS_WSP_RequestTargetServer = 11;
|
||||
_SS_MS_ResponseTargetServer = 12;
|
||||
_SS_ForceCloseSocket = 13;
|
||||
|
||||
_CMAuthSession = 0x1ED;
|
||||
}
|
||||
|
@ -1,35 +1,16 @@
|
||||
package ss;
|
||||
package cs;
|
||||
|
||||
message SS_Ping
|
||||
{
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
extend google.protobuf.FieldOptions {
|
||||
optional int32 fixed_len = 51234 [default = 0];
|
||||
}
|
||||
|
||||
message SS_Pong
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
message SS_WSP_SocketDisconnect
|
||||
{
|
||||
}
|
||||
|
||||
message SS_WSP_RequestTargetServer
|
||||
{
|
||||
optional int64 context_id = 1;
|
||||
optional string account_id = 2;
|
||||
optional string team_id = 3;
|
||||
}
|
||||
|
||||
message SS_MS_ResponseTargetServer
|
||||
{
|
||||
optional int32 error_code = 1;
|
||||
optional string error_msg = 2;
|
||||
optional int64 context_id = 3;
|
||||
optional string host = 4;
|
||||
optional int32 port = 5;
|
||||
}
|
||||
|
||||
message SS_ForceCloseSocket
|
||||
message CMAuthSession
|
||||
{
|
||||
optional uint32 built_number_client = 1;
|
||||
optional uint32 unk2 = 2;
|
||||
optional string account = 3;
|
||||
optional uint32 client_seed = 4;
|
||||
optional bytes digest = 5 [(fixed_len) = 20];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user