补充接口
This commit is contained in:
parent
6f9d00e7d4
commit
8ac6643639
@ -796,6 +796,7 @@ func (ad *GameLogic) RegisterNetWorkFunc() {
|
||||
RegisterMsgProcessFunc("ReqPiggyBankReward", ReqPiggyBankReward) // 小猪存钱罐领取奖励
|
||||
|
||||
// 锦标赛
|
||||
RegisterMsgProcessFunc("ReqChampship", ReqChampship) // 请求锦标赛数据
|
||||
RegisterMsgProcessFunc("ReqChampshipReward", ReqChampshipReward) // 领取锦标赛奖励
|
||||
RegisterMsgProcessFunc("ReqChampshipRankReward", ReqChampshipRankReward) // 领取锦标赛排行榜奖励
|
||||
RegisterMsgProcessFunc("ReqChampshipRank", ReqChampshipRank) // 请求锦标赛排行榜
|
||||
|
||||
@ -2806,6 +2806,10 @@ func ReqShippingOrder(player *Player, buf []byte) error {
|
||||
}
|
||||
|
||||
// 锦标赛
|
||||
func ReqChampship(player *Player, buf []byte) error {
|
||||
player.BackChampship()
|
||||
return nil
|
||||
}
|
||||
func ReqChampshipReward(player *Player, buf []byte) error {
|
||||
ChampshipMod := player.PlayMod.getChampshipMod()
|
||||
todayActivityId, _ := player.GetChampshipActivityId()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user