1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /*-----------------------------------------------
- *本文件由代码生成器自动生成,
- *千万不要修改本文件的任何代码,
- *修改的的任何代码都会被覆盖掉!
- --------------------------------------------------*/
- var async = require('asyncawait/async');
- var await = require('asyncawait/await');
- var WeekendStarDungeonHandler = function(socket){
- this.socket = socket;
- }
- WeekendStarDungeonHandler.prototype.weekendStarDungeonEnterNpcRequest = async(function(){
- return await(this.socket.requestAsync('area.weekendStarDungeonHandler.weekendStarDungeonEnterNpcRequest',{}));
- });
- WeekendStarDungeonHandler.prototype.weekendStarDungeonRecvRequest = async(function(s2c_id){
- return await(this.socket.requestAsync('area.weekendStarDungeonHandler.weekendStarDungeonRecvRequest',{s2c_id:s2c_id}));
- });
- WeekendStarDungeonHandler.prototype.weekendStarDungeonSelectTypeRequest = async(function(){
- return await(this.socket.requestAsync('area.weekendStarDungeonHandler.weekendStarDungeonSelectTypeRequest',{}));
- });
- WeekendStarDungeonHandler.prototype.weekendStarDungeonRecvListRequest = async(function(){
- return await(this.socket.requestAsync('area.weekendStarDungeonHandler.weekendStarDungeonRecvListRequest',{}));
- });
- WeekendStarDungeonHandler.prototype.onOnWeekendStarDungeonEnterNumPush = function(cb){
- this.socket.on('area.weekendStarDungeonPush.onWeekendStarDungeonEnterNumPush',cb);
- }
- WeekendStarDungeonHandler.prototype.onOnWeekendStarDungeonBossOrderPush = function(cb){
- this.socket.on('area.weekendStarDungeonPush.onWeekendStarDungeonBossOrderPush',cb);
- }
- WeekendStarDungeonHandler.prototype.onOnWeekendStarDungeonRankChangePush = function(cb){
- this.socket.on('area.weekendStarDungeonPush.onWeekendStarDungeonRankChangePush',cb);
- }
- module.exports = WeekendStarDungeonHandler;
|