20 lines
399 B
Protocol Buffer
20 lines
399 B
Protocol Buffer
|
syntax = "proto3";
|
|||
|
|
|||
|
//指定命名空间(可选参数)如果没有,则使用C#代码的命名空间。
|
|||
|
option csharp_namespace = "ZGame";
|
|||
|
|
|||
|
//ResponseType G2R_GetLoginKey
|
|||
|
message C2S_Login // IActorRequest
|
|||
|
{
|
|||
|
string RequestKey = 1;
|
|||
|
string Info = 2;
|
|||
|
string LabelName = 3;
|
|||
|
string Token = 4;
|
|||
|
}
|
|||
|
|
|||
|
message S2C_Login // IActorResponse
|
|||
|
{
|
|||
|
string Code = 1;
|
|||
|
string RequestKey = 2;
|
|||
|
string Data = 3;
|
|||
|
}
|