Merge branch 'master' of gitea.bywaystudios.com:wangshiyao/thrift-related

This commit is contained in:
zhengxianxin 2026-04-09 12:36:00 +08:00
commit 2bd78f7819
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,9 @@
namespace * Byway.Thrift.Data.Net
include "ChampionshipCfgRank.thrift"
include "ChampionshipCfgJackpot.thrift"
struct ChampionshipCfg {
1: i32 Id,
2: i32 Skin,
3: list<ChampionshipCfgJackpot.ChampionshipCfgJackpot> JackpotList,
4: list<ChampionshipCfgRank.ChampionshipCfgRank> RankList,
}

View File

@ -0,0 +1,9 @@
namespace * Byway.Thrift.Data.Net
include "ItemInfo.thrift"
struct ChampionshipCfgJackpot {
1: i32 Id,
2: i32 Score,
3: i32 Total,
4: list<ItemInfo.ItemInfo> Items,
5: i32 StarReward,
}

View File

@ -0,0 +1,8 @@
namespace * Byway.Thrift.Data.Net
include "ItemInfo.thrift"
struct ChampionshipCfgRank {
1: i32 Id,
2: i32 Min,
3: i32 Max,
4: list<ItemInfo.ItemInfo> Items,
}

View File

@ -1,4 +1,5 @@
namespace * Byway.Thrift.Data.Net
include "ChampionshipCfg.thrift"
struct ResChampship {
1: i32 Score,
2: i32 Reward,
@ -9,4 +10,5 @@ struct ResChampship {
7: i32 Status,
8: i32 TodayActivityId,
9: i32 YesterdayActivityId,
10: ChampionshipCfg.ChampionshipCfg Cfg,
}