| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442 |
- local TequanShopLogic = require("present.TequanShopLogic")
- local FundLogic = require("present.FundLogic")
- local CDK = require("present.CDK")
- local FirstChargeLogic = require("present.FirstChargeLogic")
- local SuperFundLogic = require("present.SuperFundLogic")
- local SevenDayGiftLogic = require("present.SevenDayGiftLogic")
- local LeichongHaoli = require("present.LeichongHaoli")
- local DailyLeichong = require("present.DailyLeichong")
- local SpecificLogic = require("present.SpecificLogic")
- local ChongJiLogic = require("present.ChongJiLogic")
- local KingWorldLogic = require("present.KingWorldLogic")
- local SharePlatformLogic = require("present.SharePlatformLogic")
- local TuiSongLiBao = require("present.TuiSongLiBao")
- local RelationGiftLogic = require("present.RelationGiftLogic")
- local WeekendFuli = require("present.WeekendFuli")
- local WelfareGiftLogic = require("present.WelfareGiftLogic")
- local LimitBuy = require("present.LimitBuy")
- local LeijiChongzhi = require("present.LeijiChongzhi")
- local ActHeroRiseLogic = require("present.ActHeroRiseLogic")
- local ActCustomizeLogic = require("present.ActCustomizeLogic")
- local MiLingLogic = require("present.MiLingLogic")
- local OpenServerGiftLogic = require("present.OpenServerGiftLogic")
- local MonthCard = require("present.MonthCard")
- local GiftPackLogic = require("present.GiftPackLogic")
- local MengxinLogic = require("present.MengxinLogic")
- local RechargeBackLogic = require("present.RechargeBackLogic")
- local LimitMangHeLogic = require("present.LimitMangHeLogic")
- local LimitPerpleHeroLogic = require("present.LimitPerpleHeroLogic")
- local OverflowFundLogic = require("present.OverflowFundLogic")
- local OpenServerSingleCharge = require("present.OpenServerSingleCharge")
- local OpenServerTotalConsume = require("present.OpenServerTotalConsume")
- local OpenServerRank = require("present.OpenServerRank")
- local DailyLibaoLogic = require("present.DailyLibaoLogic")
- local RichangLibaoLogic = require("present.RichangLibaoLogic")
- local OpenServerActPowerUp = require("present.OpenServerActPowerUp")
- local OpenServerActAddUpCharge = require("present.OpenServerActAddUpCharge")
- local OnlineAwardLogic = require("present.OnlineAwardLogic")
- local NewFirstCharge = require("present.NewFirstChargeLogic")
- local ActCycleRechargeLogic = require("present.ActCycleRechargeLogic")
- local OneKillGiftLogic = require("present.OneKillGift")
- local MergeServerLogin = require("present.MergeServerLogin")
- local MergeServerCharge = require("present.MergeServerCharge")
- local MergeServerHuoYue = require("present.MergeServerHuoYue")
- local OpenServerGiftPackage = require("present.OpenServerGiftPackage")
- -- 充值-特权商店
- function CG_TEQUANSHOP_QUERY(human)
- TequanShopLogic.sendQuery(human)
- end
- function CG_TEQUANSHOP_BUY(human, msg)
- TequanShopLogic.buyLibao(human, msg.id, TequanShopLogic.COST_ZUANSHI)
- end
- -- 钻石基金查询
- function CG_TEQUAN_ZSJIJIN_QUERY(human,msg)
- FundLogic.query(human, msg.type)
- end
- -- cdkey
- function CG_CDK(human,msg)
- CDK.CG_CDK(human,msg)
- end
- function CG_FIRST_CHARGE_GIFT_QUERY(human,msg)
- --FirstChargeLogic.sendQuery(human,msg.type)
- end
- function CG_FIRST_CHARGE_GIFT_GET(human, msg)
- --FirstChargeLogic.getItems(human, msg.id)
- end
- function CG_SUPER_FUND_QUERY(human,msg)
- SuperFundLogic.superFundQuery(human,msg.type)
- end
- function CG_SUPER_FUND_REWARD_QUERY(human,msg)
- SuperFundLogic.rewardQuery(human,msg.type)
- end
- function CG_SEVENDAYGIFT_QUERY(human)
- SevenDayGiftLogic.query(human)
- end
- function CG_SEVENDAYGIFT_GET(human,msg)
- SevenDayGiftLogic.getDailyReward(human,msg.id)
- end
- function CG_LEICHONG_HAOLI_QUERY(human)
- LeichongHaoli.query(human)
- end
- function CG_LEICHONG_HAOLI_GET(human,msg)
- LeichongHaoli.get(human, msg.id)
- end
- function CG_DAILY_LEICHONG_QUERY(human)
- DailyLeichong.query(human)
- end
- function CG_SPECIFIC_QUERY(human, msg)
- SpecificLogic.query(human, msg.id)
- end
- function CG_SPECIFIC_BUY_ITEM(human, msg)
- SpecificLogic.buy(human, msg.id, msg.buyCnt)
- end
- function CG_PRESENT_CHONGJI_QUERY(human)
- ChongJiLogic.query(human)
- end
- function CG_PRESENT_CHONGJI_GET(human, msg)
- ChongJiLogic.getChongJiReward(human, msg.id)
- end
- function CG_PRESENT_KING_WORLD_QUERY(human)
- KingWorldLogic.query(human)
- end
- function CG_PRESENT_KING_WORLD_GET(human, msg)
- KingWorldLogic.getReward(human, msg.id)
- end
- function CG_PRESENT_OPEN_SERVER_QUERY(human)
- OpenServerGiftLogic.query(human)
- end
- function CG_PRESENT_OPEN_SERVER_GIFT_GET(human, msg)
- OpenServerGiftLogic.gift(human, msg.day)
- end
- function CG_PRESENT_TUISONGLIBAO_QUERY(human)
- TuiSongLiBao.CG_PRESENT_TUISONGLIBAO_QUERY(human)
- end
- function CG_PRESENT_TUISONGLIBAO_REFRESH(human)
- TuiSongLiBao.CG_PRESENT_TUISONGLIBAO_REFRESH(human)
- end
- function CG_SHARE_PLATFORM_FIRST_QUERY(human)
- SharePlatformLogic.sendFirstQuery(human)
- end
- function CG_SHARE_PLATFORM_FIRST_INVATE(human)
- SharePlatformLogic.shareInvate(human)
- end
- function CG_SHARE_PLATFORM_REWARDS_QUERY(human)
- SharePlatformLogic.sendRewardQuery(human)
- end
- function CG_SHARE_PLATFORM_REWARDS_GET(human, msg)
- SharePlatformLogic.getReward(human, msg.id)
- end
- function CG_SHARE_PLATFORM_BOARD_QUERY(human)
- SharePlatformLogic.sendBoard(human)
- end
- function CG_SHARE_PLATFORM_BOARD_REWARD(human)
- SharePlatformLogic.sendBoardReward(human)
- end
- function CG_SHARE_PLATFORM_GROUP_QUERY(human)
- SharePlatformLogic.sendGroupQuery(human)
- end
- function CG_SHARE_PLATFORM_GROUP_GET(human)
- SharePlatformLogic.getGroupReward(human)
- end
- function CG_SHARE_PLATFORM_GROUP_SHAREOK(human)
- SharePlatformLogic.groupShareOK(human)
- end
- function CG_RELATION_GIFT_QUERY(human)
- RelationGiftLogic.relationQuery(human)
- end
- function CG_RELATION_GIFT_GET(human, msg)
- RelationGiftLogic.relationRewardGet(human, msg.id)
- end
- function CG_RELATION_GIFT_BIND(human, msg)
- RelationGiftLogic.relationBind(human, msg.relationId)
- end
- function CG_WEEKEND_FULI_QUERY(human)
- WeekendFuli.sendQuery(human)
- end
- function CG_WEEKEND_FULI_GET(human, msg)
- WeekendFuli.getItems(human, msg.id)
- end
- function CG_WELFARE_GIFT_QUERY(human, msg)
- WelfareGiftLogic.query(human, msg)
- end
- function CG_WELFARE_GIFT_BUY(human, msg)
- WelfareGiftLogic.buy(human, msg.id)
- end
- function CG_LIMITBUY_QUERY(human,msg)
- LimitBuy.query(human)
- end
- function CG_LEIJICHONGZHI_QUERY(human,msg)
- LeijiChongzhi.query(human)
- end
- function CG_LEIJICHONGZHI_GET(human,msg)
- LeijiChongzhi.get(human,msg.id)
- end
- function CG_TEQUAN_ZSJIJIN_GET(human,msg)
- FundLogic.fundGet(human, msg.id, msg.type)
- end
- -- 英雄崛起查询
- function CG_ACT_HERO_RISE_QUERY(human)
- ActHeroRiseLogic.heroRiseQuery(human)
- end
- -- 英雄崛起任务奖励领取
- function CG_ACT_HERO_RISE_TASK_GET(human,msg)
- ActHeroRiseLogic.getTaskReward(human,msg.id)
- end
- function CG_ACT_CUSTOMIZE_QUERY(human)
- ActCustomizeLogic.customizeQuery(human)
- end
- function CG_ACT_CUSTOMIZE_SELECT(human,msg)
- ActCustomizeLogic.selectItem(human,msg.id,msg.first,msg.second,msg.third)
- end
- function CG_PRESENT_MILING_REWARD_QUERY(human, msg)
- MiLingLogic.queryReward(human, msg.queryType)
- end
- function CG_PRESENT_MILING_REWARD_GET(human ,msg )
- MiLingLogic.getReward(human, msg.queryType, msg.id)
- end
- function CG_MONTH_CARD_QUERY(human)
- MonthCard.query(human)
- end
- function CG_MONTH_CARD_GET(human,msg)
- MonthCard.get(human, msg.id)
- end
- -- 成长礼包
- function CG_GIFT_PACK_QUERY(human, msg)
- GiftPackLogic.sendQuery(human)
- end
- function CG_OA_MENGXIN_QUERY(human,msg)
- MengxinLogic.query(human,msg.day)
- end
- function CG_GET_MENGXIN_TASK(human,msg)
- MengxinLogic.getTaskReward(human,msg.day,msg.id)
- end
- function CG_GET_MENGXIN_REACH(human,msg)
- MengxinLogic.getReachReward(human,msg.day,msg.id)
- end
- -- 充值返利查询
- function CG_RECHARGE_BACK_QUERY(human)
- RechargeBackLogic.query(human)
- end
- function CG_RECHARGE_BACK_GET(human, msg)
- RechargeBackLogic.get(human, msg.id)
- end
- -- 开服活动 限时盲盒
- function CG_OA_LIMIT_MANGHE_QUERY(human, msg)
- LimitMangHeLogic.query(human, msg.param)
- end
- function CG_OA_LIMIT_MANGHE_GET(human, msg)
- LimitMangHeLogic.getBox(human, msg.param)
- end
- function CG_OA_LIMIT_PERPLEHERO_QUERY(human, msg)
- LimitPerpleHeroLogic.getAndSendMsg(human, msg.param)
- end
- function CG_OA_LIMIT_PERPLE_HERO_SET(human, msg)
- LimitPerpleHeroLogic.setPerpleHero(human, msg.perpleHero, msg.param)
- end
- function CG_OVERFLOW_FUND_QUERY(human,msg)
- OverflowFundLogic.overflowQuery(human,msg.type)
- end
- function CG_OVERFLOW_FUND_GET(human,msg)
- OverflowFundLogic.getFundReward(human,msg.type)
- end
- function CG_OPEN_SERVER_SINGLE_CHARGE_QUERY(human)
- OpenServerSingleCharge.query(human)
- end
- function CG_OPEN_SERVER_SINGLE_CHARGE_GET(human, msg)
- OpenServerSingleCharge.get(human, msg.actId, msg.id)
- end
- function CG_OPEN_SERVER_REACH_QUERY(human,msg)
- OpenServerTotalConsume.query(human,msg.type)
- end
- function CG_OPEN_SERVER_REACH_GET(human, msg)
- OpenServerTotalConsume.get(human, msg.actId, msg.type, msg.id)
- end
- function CG_OPEN_SERVER_RANK_QUERY(human, msg)
- OpenServerRank.query(human, msg.type)
- end
- function CG_OPEN_SERVER_RANK_REWARD_QUERY(human, msg)
- OpenServerRank.rewardQuery(human, msg.type)
- end
- -- 充值-每日礼包
- function CG_PRE_DAILY_LIBAO_QUERY(human)
- DailyLibaoLogic.sendQuery(human)
- end
- function CG_PRE_DAILY_LIBAO_FREE_GET(human)
- DailyLibaoLogic.getPreFreeLibao(human)
- end
- -- 充值-每周/每月礼包
- function CG_RICHANG_LIBAO_QUERY(human, msg)
- RichangLibaoLogic.sendQuery(human, msg.libaoType)
- end
- function CG_RICHANG_LIBAO_BUY(human, msg)
- RichangLibaoLogic.buyLibao(human, msg.libaoType, msg.id, RichangLibaoLogic.FREE_BUY)
- end
- ----- 开服活动-战力冲刺
- function CG_PRESENT_OPEN_POWERUP_QUERY(human, msg)
- OpenServerActPowerUp.ActPowerUp_Query(human)
- end
- function CG_PRESENT_OPEN_POWERUP_GETPRIZE(human, msg)
- OpenServerActPowerUp.ActPowerUp_GetPrize(human, msg.nID)
- end
- function CG_PRESEN_OPEN_ADDUP_CHARGE_QUERY(human, msg)
- OpenServerActAddUpCharge.ActAddUpCharge_Query(human)
- end
- function CG_PRESENT_OPEN_ADDUP_CHARGE_GETPRIZE(human, msg)
- OpenServerActAddUpCharge.ActAddUpCharge_GetPrize(human, msg.nID)
- end
- -------------------------------在线奖励活动----------------------------------
- function CG_ONLINEAWARD_QUERY(human, msg)
- OnlineAwardLogic.Query(human)
- end
- --领奖
- function CG_ONLINEAWARD_CLAIM(human, msg)
- OnlineAwardLogic.ClaimAward(human)
- end
- ----- 新首充
- function CG_NEW_FIRST_CHARGE_QUERY(human, msg)
- NewFirstCharge.NewFirstCharge_Query(human, msg.nType)
- end
- function CG_NEW_FIRST_CHARGE_GET(human, msg)
- NewFirstCharge.NewFirstCharge_Get(human, msg.nType)
- end
- function CG_NEW_FIRST_PRIZE_QUERY(human, msg)
- NewFirstCharge.NewFirstCharge_GetPrice(human)
- end
- ----------------------------限时累充--------------------------------
- function CG_CYCLERECHARGE_QUERY(human, msg)
- ActCycleRechargeLogic.Query(human)
- end
- --领奖
- function CG_CYCLERECHARGE_GET_AWARD(human, msg)
- ActCycleRechargeLogic.GetAward(human)
- end
- ----------------------------一元秒杀--------------------------------
- function CG_ONEKILLGIFT_QUERY(human, msg)
- OneKillGiftLogic.OneKillGiftLogic_Query(human, msg.bOperate)
- end
- ---------------------------------------合服活动----------------------------------
- -- 请求合服登录相关信息
- function CG_MERGESERVER_LOGIN_QUERY(human, msg)
- MergeServerLogin.MergeServerLogin_Query(human)
- end
- -- 请求领取登录奖励
- function CG_MERGESERVER_GET_PRIZE(human, msg)
- MergeServerLogin.MergeServerLogin_Get(human)
- end
- --请求领取充值奖励
- function CG_MERGESERVER_CHARGE_QUERY(human, msg)
- MergeServerCharge.MergeServerCharge_Query(human, msg.nMoney)
- end
- -- 请求领取充值奖励
- function CG_MERGESERVER_GET_CHARGE_PRIZE(human, msg)
- MergeServerCharge.MergeServerCharge_Get(human, msg.nMoney)
- end
- -- 请求活跃奖励信息
- function CG_MERGESERVER_QUERY_HUOYUE(human, msg)
- MergeServerHuoYue.MergeServerHuoYue_Query(human)
- end
- -- 请求领取活跃奖励
- function CG_MERGESERVER_HUOYUE_GET_PRIZE(human, msg)
- MergeServerHuoYue.MergeServerHuoYue_Get(human)
- end
- ---------------------------------------开服礼包----------------------------------
- function CG_OPENSERVER_GIFTPACKAGE_QUERY(human, msg)
- OpenServerGiftPackage.OpenServerGiftPackage_Query(human)
- end
|