You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.5 KiB
Go
57 lines
1.5 KiB
Go
package pb
|
|
|
|
// common通用消息路由
|
|
|
|
const (
|
|
PushCoinChanged = "user.coin.change"
|
|
PushCheckIn = "user.checkIn"
|
|
PushDrawGiftPack = "user.giftPack"
|
|
PushBuyGoods = "user.buy"
|
|
PushUserQuery = "user.query"
|
|
PushDanmaku = "live.danmaku"
|
|
PushGift = "live.gift.common"
|
|
PushGiftNobility = "live.gift.nobility"
|
|
)
|
|
|
|
// zhg
|
|
|
|
const (
|
|
PushZhgJoinGame = "game.join"
|
|
PushZhgCreateUnit = "game.createUnit"
|
|
PushZhgMove = "game.move"
|
|
PushZhgOutbreak = "game.outbreak"
|
|
PushZhgOutbreakFood = "game.outbreak.food"
|
|
PushZhgWhere = "game.wai"
|
|
PushZhgMode = "game.mode"
|
|
PushZhgChangeElite = "game.change.elite"
|
|
PushZhgChangeTitle = "game.change.title"
|
|
PushZhgBuyFood = "game.buy.food"
|
|
PushZhgRankSubmit = "game.rank.submit"
|
|
)
|
|
|
|
// zhgzd
|
|
const (
|
|
PushZhgzdJoinGame = "game.join"
|
|
PushZhgzdChangeUnit = "game.unit.change"
|
|
PushZhgzdMove = "game.line"
|
|
PushZhgzdPosition = "game.pos"
|
|
PushZhgzdOutbreak = "game.outbreak"
|
|
PushZhgzdDispatch = "game.unit.dispatch"
|
|
PushZhgzdWhere = "game.where"
|
|
PushZhgzdMode = "game.mode"
|
|
)
|
|
|
|
// zhgww2
|
|
const (
|
|
PushZhgww2JoinGame = "game.join"
|
|
PushZhgww2ChangeUnit = "game.unit.change"
|
|
PushZhgww2Attack = "game.attack"
|
|
|
|
PushZhgww2RestoreHealth = "game.restoreHealth"
|
|
PushZhgww2SupportSkill = "game.support.skill"
|
|
PushZhgww2ChargeTank = "game.chargeTank"
|
|
PushZhgww2SupportSpecial = "game.support.special"
|
|
PushZhgww2SupportAirdrop = "game.support.airdrop"
|
|
PushZhgww2Reborn = "game.reborn"
|
|
)
|