招募功能协议
This commit is contained in:
parent
4082fc11f2
commit
85f3dcec6c
|
@ -109,6 +109,12 @@ enum GameHallPacketID {
|
|||
// 竞技馆房间信息
|
||||
PACKET_CSRoomConfig = 2300;
|
||||
PACKET_SCRoomConfig = 2301;
|
||||
// 启动招募
|
||||
PACKET_CSRoomRecruit = 2302;
|
||||
PACKET_SCRoomRecruit = 2303;
|
||||
// 邀请加入房间
|
||||
PACKET_CSInviteJoinRoom = 2304;
|
||||
PACKET_SCInviteJoinRoom = 2305;
|
||||
|
||||
// client -> gamesrv 协议
|
||||
// 消息id 8000~8099
|
||||
|
@ -158,7 +164,7 @@ message SCCreateRoom{
|
|||
//玩家请求进入游戏
|
||||
message CSEnterRoom{
|
||||
int32 RoomId = 1; //房间编号
|
||||
int32 GameId = 2; //游戏编号
|
||||
int32 GameId = 2; //游戏编号, 不需要了
|
||||
string Password = 3; //房间密码
|
||||
}
|
||||
//PACKET_SC_ENTERROOM
|
||||
|
@ -545,4 +551,30 @@ message CSRoomConfig{}
|
|||
// PACKET_SCRoomConfig 竞技馆房间配置
|
||||
message SCRoomConfig{
|
||||
repeated RoomTypeInfo List = 1;
|
||||
}
|
||||
|
||||
// 房间招募功能
|
||||
// PACKET_CSRoomRecruit
|
||||
message CSRoomRecruit{
|
||||
int32 RoomId = 1; // 房间id
|
||||
int32 On = 2; // 开关 1开启 2关闭
|
||||
}
|
||||
// PACKET_SCRoomRecruit
|
||||
message SCRoomRecruit{
|
||||
int32 RoomId = 1; // 房间id
|
||||
int32 On = 2; // 开关 1开启 2关闭
|
||||
}
|
||||
|
||||
// 邀请加入房间
|
||||
// PACKET_CSInviteJoinRoom
|
||||
message CSInviteJoinRoom{
|
||||
}
|
||||
// PACKET_SCInviteJoinRoom
|
||||
message SCInviteJoinRoom{
|
||||
int32 RoomId = 1; // 房间id
|
||||
bool IsSystem = 2; // 是否为系统房间
|
||||
int32 SnId = 3; // 邀请者id
|
||||
string Name = 4; // 邀请者昵称
|
||||
int32 UseRoleId = 5; // 邀请者人物模型id
|
||||
string RoomName = 6; // 房间名称
|
||||
}
|
|
@ -351,6 +351,10 @@ message PlayerData {
|
|||
int32 UseSkinId = 50; // 皮肤id
|
||||
string ChannelID = 51; // 渠道ID
|
||||
int32 GuideStep = 52; // 引导步骤; 最小为0,-1表示跳过引导了
|
||||
// 引导步骤完成情况
|
||||
// 下标:0表示竞技馆引导
|
||||
// 值:最小为0,-1表示跳过引导了
|
||||
repeated int32 Guide = 53;
|
||||
}
|
||||
|
||||
//周卡数据
|
||||
|
@ -1341,8 +1345,10 @@ message WindowsInfo{
|
|||
|
||||
//PACKET_CSUpdateAttribute
|
||||
message CSUpdateAttribute{
|
||||
int32 Tp = 1; // 1.更新新手引导阶段 2.跳过新手引导 3.更新新手引导状态(测试用) 4.竞技馆引导结束
|
||||
repeated int64 Param = 2;
|
||||
int32 Tp = 1; // 1.更新引导阶段 2.跳过引导 3.更新引导状态(测试用) 4.标记竞技馆引导页面已经显示过
|
||||
repeated int64 Param = 2; // 引导步骤; 以后不用了
|
||||
int32 GuideType = 3; //引导类型 0 新手引导 1 竞技馆引导
|
||||
int32 Step = 4; //引导步骤
|
||||
}
|
||||
//PACKET_SCUpdateAttribute
|
||||
message SCUpdateAttribute{
|
||||
|
|
Loading…
Reference in New Issue