This commit is contained in:
sk 2024-08-15 16:30:34 +08:00
parent 3785ce2859
commit 70e09ba502
6 changed files with 1553 additions and 699 deletions

View File

@ -6,7 +6,7 @@
"VerifyClientVersion":true,
"SrvMaintain":false,
"WhiteHttpAddr": [],
"HundredScenePreCreate":true,
"HundredScenePreCreate":false,
"WriteEventLog": true,
"SpreadAccountQPT":100,
"FakeVerifyCode":"123456",

View File

@ -66,7 +66,7 @@
- 2720~2739
#### tournament(锦标赛)
- 2740~2759
- 2740~2779
#### RankMatch 排位赛
- 2780~2800

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,10 @@ enum TOURNAMENTID{
PACKET_TM_SCTMSeasonRank = 2754;//赛季排行榜
PACKET_TM_CSTMSeasonAward = 2755;//领取赛季奖励
PACKET_TM_SCTMSeasonAward = 2756;//领取赛季奖励
PACKET_TM_CSMatchList = 2757;// 比赛列表
PACKET_TM_SCMatchList = 2758;// 比赛列表
PACKET_TM_CSRoomList = 2759; // 比赛房间列表
PACKET_TM_SCRoomList = 2760; // 比赛房间列表
}
//比赛场场次
//PACKET_TM_CSTMInfo
@ -65,6 +69,7 @@ message TMInfo{
repeated string OnChannelName = 21;//在哪个渠道开启
int32 ShowId = 22; // 比赛区分
int32 AwardNum = 23; //比赛奖励剩余数量
int32 AudienceSwitch = 27; // 观战开关 1开启 2关闭
}
message MatchTypeInfo{
@ -188,3 +193,56 @@ message SCTMSeasonAward {
int32 Lv = 1;//段位
int32 Code = 2;//0成功 1失败
}
//PACKET_TM_CSMatchList
message CSMatchList{
int64 MatchId = 1; // 比赛id 0表示所有比赛场
int32 Tp = 2; // 房间类型 0所有房间 1可观战房间
}
message MatchPlayer{
int32 SnId = 1; // 玩家id
string Name = 2; // 玩家名字
string HeadUrl = 3;//头像地址
int32 UseRoleId = 4;//使用的人物模型id
int32 UseSkinId = 5; // 皮肤id
int32 Rank = 6;//排名
int32 Score = 7;//分数
}
message MatchInfo{
int64 MatchId = 1; // 比赛id
int64 InstanceId = 2; // 本场比赛id
string Name = 3; // 比赛名字
int32 Round = 4; // 当前第几轮
int32 TotalRound = 5; // 总轮数
int32 RemainNum = 6; // 剩余人数
repeated MatchPlayer Players = 7; // 玩家列表
}
message SCTMMatchList{
repeated MatchInfo List = 1;
int64 MatchId = 2;
int32 Tp = 3;
}
//PACKET_TM_CSRoomList
message CSRoomList{
int64 Id = 1; // 本场比赛id 0表示所有房间
int32 Tp = 2; // 房间类型 0所有房间 1可观战房间
}
message MatchRoom{
int64 RoomId = 1; // 房间id
int64 MatchId = 2; // 比赛id
int64 InstanceId = 3; // 本场比赛id
int32 Round = 4; // 当前第几轮
int32 TotalRound = 5; // 总轮数
repeated MatchPlayer Players = 7; // 玩家列表
}
message SCRoomList{
repeated MatchRoom List = 1;
int64 Id = 2;
int32 Tp = 3;
}

File diff suppressed because it is too large Load Diff

View File

@ -490,6 +490,7 @@ message GameMatchDate {
int32 CardType = 24; // 手机卡类型
int32 ShowId = 25; // 比赛区分
int32 AwardNum = 26; //比赛奖励剩余数量
int32 AudienceSwitch = 27; // 观战开关 1开启 2关闭
}
// etcd /game/game_match
@ -890,3 +891,10 @@ message GuideConfig {
int32 On = 2; // 引导开关 1开启 2关闭
int32 Skip = 3; // 引导跳过开关 1开启 2关闭
}
// etcd /game/match_audience
message MatchAudience {
string Platform = 1; // 平台
int32 SnId = 2; // 玩家ID
int64 Ts = 3; // 时间戳
}