123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- -------------------------------------------------
- -- 本文件由代码生成器自动生成,
- -- 千万不要修改本文件的任何代码,
- -- 修改的的任何代码都会被覆盖掉!
- ----------------------------------------------------
- local Socket = require "Xmds.Pomelo.LuaGameSocket"
- require "base64"
- require "pickLotusAreaHandler_pb"
- --------------------------------Pomelo-------------------------------
- Pomelo = Pomelo or {}
- --------------------------------PickLotusAreaHandler-------------------------------
- Pomelo.PickLotusAreaHandler = {}
- local function caiLianEndPushDecoder(stream)
- local res = pickLotusAreaHandler_pb.CaiLianEndPush()
- res:ParseFromString(stream)
- return res
- end
- function Pomelo.PickLotusAreaHandler.caiLianEndPush(cb)
- Socket.On("area.pickLotusAreaPush.caiLianEndPush", function(res)
- Pomelo.PickLotusAreaHandler.lastCaiLianEndPush = res
- cb(nil,res)
- end, caiLianEndPushDecoder)
- end
- local function killbossInfoPushDecoder(stream)
- local res = pickLotusAreaHandler_pb.KillbossInfoPush()
- res:ParseFromString(stream)
- return res
- end
- function Pomelo.PickLotusAreaHandler.killbossInfoPush(cb)
- Socket.On("area.pickLotusAreaPush.killbossInfoPush", function(res)
- Pomelo.PickLotusAreaHandler.lastKillbossInfoPush = res
- cb(nil,res)
- end, killbossInfoPushDecoder)
- end
- --------------------------------Pomelo-------------------------------
- return Pomelo
|