123456789101112131415161718192021222324252627282930313233343536 |
- /*-----------------------------------------------
- *本文件由代码生成器自动生成,
- *千万不要修改本文件的任何代码,
- *修改的的任何代码都会被覆盖掉!
- --------------------------------------------------*/
- var async = require('asyncawait/async');
- var await = require('asyncawait/await');
- var GuildExtHandler = function(socket){
- this.socket = socket;
- }
- GuildExtHandler.prototype.getGuildRecordRequest = async(function(page){
- return await(this.socket.requestAsync('area.guildExtHandler.getGuildRecordRequest',{page:page}));
- });
- GuildExtHandler.prototype.impeachGuildPresidentRequest = async(function(){
- return await(this.socket.requestAsync('area.guildExtHandler.impeachGuildPresidentRequest',{}));
- });
- GuildExtHandler.prototype.getGuildMoneyRequest = async(function(){
- return await(this.socket.requestAsync('area.guildExtHandler.getGuildMoneyRequest',{}));
- });
- GuildExtHandler.prototype.joinGuildDungeonRequest = async(function(c2s_type){
- return await(this.socket.requestAsync('area.guildExtHandler.joinGuildDungeonRequest',{c2s_type:c2s_type}));
- });
- GuildExtHandler.prototype.leaveGuildDungeonRequest = async(function(){
- return await(this.socket.requestAsync('area.guildExtHandler.leaveGuildDungeonRequest',{}));
- });
- module.exports = GuildExtHandler;
|