ProtobufTest/Tools/protogen--net8.0/ProtoConfig/Network.proto

20 lines
399 B
Protocol Buffer
Raw Normal View History

2024-05-08 13:44:40 +08:00
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;
}