fix family

master_huanxiang
wangyuan 2019-08-01 17:56:31 +08:00
parent 80fa28f767
commit 7863f2c302
3 changed files with 86 additions and 43 deletions

View File

@ -487,8 +487,11 @@ option optimize_for = SPEED;
optional string name = 2 ; //
optional string annouce =3 ; //
optional int32 levle = 4 ; //
optional int32 totalNum =5; //
optional int32 maxNum = 6 ;//
optional int32 exp = 5; //
optional int32 totalNum =6; //
optional int32 maxNum = 7 ;//
optional int32 joinType = 8; // 1: 2: 3:
optional int32 icon = 9; //
}
//

View File

@ -4,41 +4,90 @@ option optimize_for = SPEED;
import "CommonProto.proto";
message FamilyCreateReqeust{
optional string name = 1 ; //
optional string announce =2 ; //
}
message FamilyUserInfo{
required int32 roleUid = 1; //ID
required string userName = 2; //
required int32 userLevel = 3; //
required int32 position = 4; // 0: 1: 2: 3: 4: 5:
required int32 contribute = 5; //
optional int32 seconds = 6; //, 0线 , > 0
optional int32 contributeToday = 7;//
optional int32 soulForce = 8; //
optional string head = 9; //
optional int32 frame = 10; //
}
message FamilySearchReqeust{
optional string name = 1 ;//
}
message FamilyLogInfo{
required string name = 1; //
required string info = 2; //log
required int32 time = 3; //
}
message FamilySeachResponse{
repeated FamilyBaseInfo familyBaseInfo =1;
}
message FamilyApplyRequest{
repeated int32 familyId = 1; //family
}
message FamilyApply{
required string name = 1; //
required int32 roleUid = 2; // ID
required int32 time = 3; //
required int32 icon = 4;
required int32 frame = 5;
required int32 outTime = 6; // 线 0线
required int32 level = 7;
required int32 foreces = 8; //
}
message FamilyNoticeInfo {
required string guildNotice = 1;//
required int32 updateTime = 2; //
repeated int32 steps = 3; //
repeated int32 adminres = 4; //
required int32 hasNew = 5; // 1
}
//
message FamilyJoinIndicaion{
optional FamilyBaseInfo familyBaseInfo =1;
}
message FamilyRecomandInfo{
optional FamilyBaseInfo familyBaseInfo =1;
optional int32 isApply = 2 ;// 0 1
}
message FamilyJoinRequest{
optional int32 familyId = 1 ;// id
}
message FamilyJoinResponse{
optional FamilyJoinIndicaion familyJoinIndicaion =1;
}
message GetFamilyInfoResponse{
optional FamilyBaseInfo familyBaseInfo =1; //
optional FamilyUserInfo familyUserInfo =2; //
}
message FamilyRecommandResponse{
repeated FamilyBaseInfo familyBaseInfo =1;
}
message FamilyCreateReqeust{
optional string name = 1 ; //
optional string announce =2 ; //
}
message FamilySearchReqeust{
optional string name = 1 ;//
}
message FamilySeachResponse{
repeated FamilyRecomandInfo familyRecomandInfo =1;
}
message FamilyApplyRequest{
repeated int32 familyId = 1; //family
}
//
message FamilyJoinIndicaion{
optional FamilyBaseInfo familyBaseInfo =1;
}
message FamilyJoinRequest{
optional int32 familyId = 1 ;// id
}
message FamilyJoinResponse{
optional FamilyJoinIndicaion familyJoinIndicaion =1;
}
message FamilyRecommandResponse{
repeated FamilyRecomandInfo familyRecomandInfo =1;
}

View File

@ -130,15 +130,6 @@ enum MessageType{
ENDLESS_MAP_HERO_INFO_REQUEST = 10410;//
ENDLESS_MAP_HERO_INFO_RESPONSE = 10411;
ENDLESS_MAP_RESET_REQUEST = 10412;//
ENDLESS_MAP_RESET_RESPONSE = 10413;
ENDLESS_MAP_TRANSFER_REQUEST = 10414;//
ENDLESS_MAP_TRANSFER_RESPONSE = 10415;
ENDLESS_MAP_SIGN_REQUEST = 10416;//
ENDLESS_MAP_SIGN_RESPONSE = 10417;
// F 10500
FIGHT_START_REQUEST = 10500; //
FIGHT_START_RESPONSE = 10501;
@ -185,6 +176,9 @@ enum MessageType{
FAMILY_JOIN_INDICATION = 10529; //
FAMILY_GET_INFO_REQUEST = 10530 ; //
FAMILY_GET_INFO_RESPONSE = 10531;
// G 10600
@ -260,9 +254,6 @@ enum MessageType{
LOGIN_REQUEST = 11100; //
LOGIN_RESPONSE = 11101;
LUCKCAT_REWARD_RESPONSE = 11102;//
// M 11200
MAP_ENTER_REQUEST = 11200; //
MAP_ENTER_RESPONSE = 11201;