family indication

master_huanxiang
wangyuan 2019-08-02 14:36:27 +08:00
parent 399596c8b8
commit 137b294e8a
2 changed files with 38 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import "CommonProto.proto";
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 position = 4; //公会职位 1:会长 2:管理员 3:一般成员
required int32 contribute = 5; //贡献
optional int32 seconds = 6; //距离上一次登陆时间, 0在线 , > 0 距离上次登录时间 秒
optional int32 contributeToday = 7;//今日贡献
@ -112,4 +112,28 @@ import "CommonProto.proto";
//获取公会申请信息
message GetFamilyApplyResponse{
repeated FamilyApply familyApply =1;
}
}
//操作申请列表
message FamilyOperationApplyRequest{
optional int32 type = 1; // 操作类型 1:全部同意 2 全部拒绝 3 同意一个 4 拒绝一个
optional int32 applyId = 2;
}
// 公会踢人
message FamilyKickOutRequest{
optional int32 targetUid = 1; // 被踢的人
}
message FamilyAppointmentReqeust{
optional int32 targetUid = 1; //被委任的人
optional int32 position = 2; //公会职位 1:会长 2:管理员 3:一般成员
}
//职位变更
message FamilyPositionUpdateIndication{
optional int32 postiion = 1; //公会职位
}

View File

@ -195,6 +195,18 @@ enum MessageType{
FAMILY_GET_APPLY_REQUEST = 10536 ; // 获取申请列表信息
FAMILY_GET_APPLY_RESPOSNE = 10537;
FAMILY_OPERATION_APPLY_LIST_REQUEST = 10538 ;//操作申请列表
FAMILY_OPERATION_APPLY_LIST_RESPONSE = 10539;
FAMILY_KICK_OUT_REQUEST = 10540; // 公会踢人
FAMILY_KICK_OUT_RESPONSE = 10541;
FAMILY_APPOINTMENT_REQEUST = 10542 ;// 公会委任
FAMILY_APPOINTMENT_RESPONSE = 10543;
FAMILY_KICK_INDICATION = 10544; // 被踢出宗门
FAMILY_POSITION_UPDATE_INDICAITON = 10545; // 公会成员职位变更