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.

43 lines
1.1 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"
)