master_huanxiang
lvxinran 2019-08-01 18:22:47 +08:00
commit d7bf2a8c0e
3 changed files with 90 additions and 37 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,31 +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 FamilyJoinIndicaion{
repeated FamilyBaseInfo familyBaseInfo =1;
}
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 FamilyRecommandResponse{
repeated FamilyBaseInfo familyBaseInfo =1;
}
message FamilyNoticeInfo {
required string guildNotice = 1;// 公会公告
required int32 updateTime = 2; // 修改公告时间
repeated int32 steps = 3; // 踩公告的玩家
repeated int32 adminres = 4; // 赞公告的玩家
required int32 hasNew = 5; // 1:有新字
}
message FamilyRecomandInfo{
optional FamilyBaseInfo familyBaseInfo =1;
optional int32 isApply = 2 ;//是否申请过 0:未申请 1:已申请
}
message GetFamilyInfoResponse{
optional FamilyBaseInfo familyBaseInfo =1; // 公会信息
optional FamilyUserInfo familyUserInfo =2; // 个人信息
}
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;