repeated -> optional

master_huanxiang
wangyuan 2019-08-03 15:13:07 +08:00
parent 82961ba9f4
commit f2a3c76e6f
1 changed files with 10 additions and 10 deletions

View File

@ -19,19 +19,19 @@ import "CommonProto.proto";
message FamilyLogInfo{
required string name = 1; //玩家名称
required string info = 2; //log内容
required int32 time = 3; //记录时间
optional string name = 1; //玩家名称
optional string info = 2; //log内容
optional int32 time = 3; //记录时间
}
message FamilyApply{
required string name = 1; // 玩家名称
required int32 roleUid = 2; // 申请人ID
required int32 time = 3; // 申请时间
required int32 frame = 4; //头像框
required int32 outTime = 5; // 离线时间长(秒) 0表示在线
required int32 level = 6;
required int32 foreces = 7; // 灵魂力
optional string name = 1; // 玩家名称
optional int32 roleUid = 2; // 申请人ID
optional int32 time = 3; // 申请时间
optional int32 frame = 4; //头像框
optional int32 outTime = 5; // 离线时间长(秒) 0表示在线
optional int32 level = 6;
optional int32 foreces = 7; // 灵魂力
}