diff --git a/protos/Family.proto b/protos/Family.proto index 54adff8e..c595e7f 100644 --- a/protos/Family.proto +++ b/protos/Family.proto @@ -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; // 灵魂力 }