diff --git a/src/api_s2c/jiuba/ApiLottery.ts b/src/api_s2c/jiuba/ApiLottery.ts index 968cd79..89266e0 100644 --- a/src/api_s2c/jiuba/ApiLottery.ts +++ b/src/api_s2c/jiuba/ApiLottery.ts @@ -9,6 +9,7 @@ import {ReqLottery, ResLottery} from "../../shared/protocols/jiuba/PtlLottery"; import {PublicShared} from '../../shared/public/public'; import {HongDianChange} from '../hongdian/fun'; import {RankKfjs} from "../../public/rank/rank_kfjs"; +import {PushGiftFun} from "../../public/pushgift"; export default async function (call: ApiCall) { @@ -142,4 +143,8 @@ export default async function (call: ApiCall) { valArr: [await rankKfjs.getRankScore(call.uid) + call.req.type] }); + // 十连抽推送礼包 + if (call.req.type == 10) { + PushGiftFun.chkRecruitGift(call.uid) + } } \ No newline at end of file diff --git a/src/api_s2c/pushgift/ApiOpen.ts b/src/api_s2c/pushgift/ApiOpen.ts new file mode 100644 index 0000000..58d85b2 --- /dev/null +++ b/src/api_s2c/pushgift/ApiOpen.ts @@ -0,0 +1,29 @@ +import {ApiCall} from "tsrpc"; +import {ReqOpen, ResOpen} from "../../shared/protocols/pushgift/PtlOpen"; +import {PushGiftFun} from "../../public/pushgift"; +import {Gift} from "../../module/collection_pushgift"; + +export default async function (call: ApiCall) { + let res: ResOpen = {gifts: []}; + + // 过滤过期的礼包 和购买完毕的礼包 + (await PushGiftFun.getGift(call.uid)).forEach((gift) => { + if (gift.passTime > G.time && chkBuyNum(gift.id, gift)) { + res.gifts.push(gift) + } + }) + + call.succ(res) +} + +function chkBuyNum(gift_id: string, gift_info: Gift) { + let conf = G.gc.tuisonglibao[gift_id]; + for (let i = 0; i < conf.payId.length; i++) { + let pay = G.gc.pay[conf.payId[i]]; + if (pay.buys > 0 && gift_info.buy[i] < pay.buys) { + return true + } + } + + return false +} \ No newline at end of file diff --git a/src/globalListener.ts b/src/globalListener.ts index 1e81c29..594a3e3 100644 --- a/src/globalListener.ts +++ b/src/globalListener.ts @@ -17,6 +17,7 @@ import { PublicShared } from './shared/public/public'; import { setGud } from './public/gud'; import {checkResetBuyLog} from "./api_s2c/event/zhoumolibao/ApiOpen"; import {Christmasfun} from "./api_s2c/event/christmas/fun"; +import {PushGiftFun} from "./public/pushgift"; export type gEventType = { /**玩家断开连接 */ @@ -196,6 +197,7 @@ export function addListener() { { $inc: { payNum: conf.money } }, { upsert: true } ); + PushGiftFun.buy(player.uid, payId) // 推送礼包 }); G.on("FIRST_LOGIN_EVERY_DAY", (gud, lastTime, curTime) => { diff --git a/src/jsonType.ts b/src/jsonType.ts index 43654a4..8788f60 100644 --- a/src/jsonType.ts +++ b/src/jsonType.ts @@ -1773,6 +1773,24 @@ type gc_yuyuemail = { 'prize': { "a": string, "t": string, "n": number, [x: string]: any }[] }; +type gc_push_gift = { + [k: string]: { + /**礼包id*/ + id: number + /**礼包类型*/ + type: number + /**礼包参数*/ + num: any[] + /**购买id*/ + payId: string[] + /**持续时间*/ + time: number + /**冷却时间*/ + displayCD: number + /**显示返利比*/ + scale: number + } +} type gcType = { [key: string]: any @@ -1922,6 +1940,7 @@ type gcType = { kfcb_content: gc_kfcb_content kfcb_prize: gc_kfcb_prize yuyuemail: gc_yuyuemail + tuisonglibao: gc_push_gift } diff --git a/src/module/collection_pushgift.ts b/src/module/collection_pushgift.ts new file mode 100644 index 0000000..c62fff0 --- /dev/null +++ b/src/module/collection_pushgift.ts @@ -0,0 +1,13 @@ +import {ObjectId} from "mongodb"; +import {ResOpen} from "../shared/protocols/pushgift/PtlOpen"; + +export type Gift = { + id: string + uid: string + buy: number[] + ctime: number + passTime: number + ext_data: { [key: string]: any } +} + +export type CollectionPushGift = Gift & { _id: ObjectId }; \ No newline at end of file diff --git a/src/module/mongodb.ts b/src/module/mongodb.ts index f912ad7..5d8c8ac 100644 --- a/src/module/mongodb.ts +++ b/src/module/mongodb.ts @@ -59,6 +59,7 @@ import {CollectionPlayerBehavior} from "./collection_player_behavior"; import {CollectionRmbuse} from "./collection_rmbuse"; import {CollectionFightLog} from "./collection_fightLog"; import {CollectionShop} from "./collection_shop"; +import {CollectionPushGift} from "./collection_pushgift"; export type MongodbCollections = { user: CollectionUser; @@ -131,4 +132,5 @@ export type MongodbCollections = { rmbuse: CollectionRmbuse fightLog: CollectionFightLog shop: CollectionShop + pushgift:CollectionPushGift }; \ No newline at end of file diff --git a/src/public/fight.ts b/src/public/fight.ts index 202369c..c2388b5 100644 --- a/src/public/fight.ts +++ b/src/public/fight.ts @@ -9,6 +9,7 @@ import {HeroFun} from './hero'; import {UserFun} from './user'; import {re, string} from "mathjs"; import {getGud} from './gud'; +import {PushGiftFun} from "./pushgift"; type fightType = 'tanxian' | 'pata' | 'jjc' | 'gbtx' | 'qjzzd' | 'meirishilian' | 'wzrycross'; @@ -86,9 +87,16 @@ export class FightFun { /**挑战竞技场 */ static async fightJJc(call: ApiCall, rankInfo: rankInfo) { - if (rankInfo.player.uid.indexOf('npc_') != -1) return await this.fightNpc(call, G.gc.jjc_npc[rankInfo.player.uid].npcId, 'jjc', await this.getPlayerFightData(call.conn.uid)); - return this.fight([await this.getPlayerFightData(call.conn.uid), await this.getPlayerFightData(rankInfo.player.uid)]); + + let result = this.fight([await this.getPlayerFightData(call.conn.uid), await this.getPlayerFightData(rankInfo.player.uid)]); + + // 竞技场 战败触发推送礼包 + if (result.winSide != 0) { + PushGiftFun.chkLoseGift(call.uid) + } + + return result } /**挑战npc */ @@ -106,7 +114,13 @@ export class FightFun { let npc = formatNpcData(npcId); - return this.fight([my, npc], 30, 'pve'); + let result = this.fight([my, npc], 30, 'pve'); + + // 主线 爬塔 战败触发推送礼包 + if (result.winSide != 0 && ["tanxian", "pata"].includes(type)) { + PushGiftFun.chkLoseGift(call.uid) + } + return result } /** diff --git a/src/public/player.ts b/src/public/player.ts index d8322dd..27d8ddc 100644 --- a/src/public/player.ts +++ b/src/public/player.ts @@ -14,9 +14,10 @@ import {PublicShared} from '../shared/public/public'; import {HeroFun} from './hero'; import {ShiwuFun} from './shiwu'; import {UserFun} from './user'; -import { getItemByItemId, getItemNum } from './item'; -import { getGud, setGud } from './gud'; +import {getItemByItemId, getItemNum} from './item'; +import {getGud, setGud} from './gud'; import {addGameLog} from "../gameLog"; +import {PushGiftFun} from "./pushgift"; export type call = { @@ -35,7 +36,7 @@ export type call = { }; service: { name: string }; addEventMsg: ApiCall['addEventMsg']; - req: { } + req: {} }; export class PlayerFun { @@ -66,6 +67,8 @@ export class PlayerFun { if (has < atn.n) { if (err) { + // 消耗不足 触发推送礼包 + PushGiftFun.chkItemGift(call.uid, atn) throw new TsrpcError('', {code: -104, atn: atn}); } else { return {isOk: false, atn: atn}; @@ -143,15 +146,15 @@ export class PlayerFun { shiwu.length > 0 && this.addShiwu(call, shiwu), peijian.length > 0 && this.addPeijian(call, peijian) ]); - + return prizeList; }; //attr里的指定字段的值,不能小于0 - static fixAttrLteZero(t:string, val:number){ - if(['jinbi','rmbmoney','payExp','nexp'].includes(t) && val < 0){ + static fixAttrLteZero(t: string, val: number) { + if (['jinbi', 'rmbmoney', 'payExp', 'nexp'].includes(t) && val < 0) { return 0 - }else{ + } else { return val; } } @@ -189,6 +192,16 @@ export class PlayerFun { // 修改属性应在相关奖励领取之前,否则奖励内获取的用户数据是旧数据 // await this.changeAttr(call.conn.uid, change); call.addEventMsg('msg_s2c/PlayerChange', change); + + // 等级改变 触发推送礼包 + if (change["lv"]) { + PushGiftFun.chkLvGift(call.uid, change["lv"]) + } + // 关卡改变 触发推送礼包 + if (change["mapId"]) { + PushGiftFun.chkLevelGift(call.uid, change["mapId"]) + } + } static async changeAttrLog(uid: string, change, atn, before) { @@ -207,9 +220,9 @@ export class PlayerFun { static async changeAttr(uid: string, change: Partial) { //for (let k in change) { - //G.redis.set('user', uid, k as any, change[k]); + //G.redis.set('user', uid, k as any, change[k]); //} - setGud(uid,change); + setGud(uid, change); G.mongodb.collection('user').updateOne({uid: uid}, {$set: change}); @@ -290,7 +303,11 @@ export class PlayerFun { G.mongodb.collection('item').updateOne(upObj.filter, upObj.update, upObj.options); call.addEventMsg('msg_s2c/ItemChange', atn.t, data); - addGameLog(call.uid, "_itemChange", {"additem":1}, {"filter": upObj.filter, "update": upObj.update, "options": upObj.options}) + addGameLog(call.uid, "_itemChange", {"additem": 1}, { + "filter": upObj.filter, + "update": upObj.update, + "options": upObj.options + }) } else { if (item.num + atn.n <= 0) { await Promise.all([ @@ -302,13 +319,13 @@ export class PlayerFun { //await G.redis.del('item', call.uid, atn.t); //await G.mongodb.collection('item').deleteOne({uid: call.uid, itemId: atn.t}); call.addEventMsg('msg_s2c/ItemChange', atn.t, {num: 0}); - addGameLog(call.uid, "_itemChange",{"delitem":1}, {"itemId": atn.t}) + addGameLog(call.uid, "_itemChange", {"delitem": 1}, {"itemId": atn.t}) } else { await Promise.all([ ////去掉item Redis相关 //G.redis.set('item', call.uid, atn.t, 'lastTime', upObj.update.$set.lastTime), //G.redis.numIncrBy('item', call.uid, atn.t, 'num', atn.n), - + G.mongodb.collection('item').updateOne(upObj.filter, upObj.update, upObj.options) ]); // await G.redis.set('item', call.uid, atn.t, 'lastTime', upObj.update.$set.lastTime); @@ -318,7 +335,12 @@ export class PlayerFun { num: item.num + atn.n, lastTime: upObj.update.$set.lastTime }); - addGameLog(call.uid, "_itemChange",{"attritem":1}, {"filter": upObj.filter, "update": upObj.update, "options": upObj.options,newNum:item.num + atn.n}) + addGameLog(call.uid, "_itemChange", {"attritem": 1}, { + "filter": upObj.filter, + "update": upObj.update, + "options": upObj.options, + newNum: item.num + atn.n + }) } } } @@ -344,7 +366,7 @@ export class PlayerFun { }).reduce((a, b) => a.concat(b)); let result = await G.mongodb.collection('equip').insertMany(insertData); - addGameLog(call.uid, "_addEquip",{}, insertData) + addGameLog(call.uid, "_addEquip", {}, insertData) insertData.forEach((v, key) => { let id = result.insertedIds[key].toHexString(); @@ -391,7 +413,7 @@ export class PlayerFun { G.mongodb.collection('equip').deleteOne({uid: call.uid, _id: new ObjectId(_id)}); call.addEventMsg('msg_s2c/EquipChange', _id, {num: 0}); - addGameLog(call.uid, "_cutEquip",{}, {_id:_id}) + addGameLog(call.uid, "_cutEquip", {}, {_id: _id}) } } @@ -419,7 +441,7 @@ export class PlayerFun { }); let result = await G.mongodb.collection('hero').insertMany(insertData); - addGameLog(call.uid, "_addHero",{}, insertData) + addGameLog(call.uid, "_addHero", {}, insertData) for (let key = 0; key < insertData.length; key++) { let v = insertData[key] @@ -474,7 +496,7 @@ export class PlayerFun { G.redis.del('hero', call.uid, _id); G.mongodb.collection('hero').deleteOne({uid: call.uid, _id: new ObjectId(_id)}); call.addEventMsg('msg_s2c/HeroChange', _id, {num: 0}); - addGameLog(call.uid, "_cutHero",{}, {_id:_id}) + addGameLog(call.uid, "_cutHero", {}, {_id: _id}) } } @@ -505,7 +527,7 @@ export class PlayerFun { }).reduce((a, b) => a.concat(b)); let result = await G.mongodb.collection('shiwu').insertMany(insertData); - addGameLog(call.uid, "_addShiWu",{}, insertData) + addGameLog(call.uid, "_addShiWu", {}, insertData) insertData.forEach((v, key) => { let id = result.insertedIds[key].toHexString(); @@ -537,7 +559,7 @@ export class PlayerFun { // G.redis.del('shiwu', call.uid, _id); G.mongodb.collection('shiwu').deleteOne({uid: call.uid, _id: new ObjectId(_id)}); call.addEventMsg('msg_s2c/ShiwuChange', _id, {num: 0}); - addGameLog(call.uid, "_cutShiwu",{}, {_id:_id}) + addGameLog(call.uid, "_cutShiwu", {}, {_id: _id}) } } @@ -559,7 +581,7 @@ export class PlayerFun { }).reduce((a, b) => a.concat(b)); let result = await G.mongodb.collection('peijian').insertMany(insertData); - addGameLog(call.uid, "_addPeiJian",{}, insertData) + addGameLog(call.uid, "_addPeiJian", {}, insertData) insertData.forEach((v, key) => { let {_id, uid, ...ops} = v; @@ -600,7 +622,7 @@ export class PlayerFun { G.redis.del('peijian', call.uid, _id); G.mongodb.collection('peijian').deleteOne({uid: call.uid, _id: new ObjectId(_id)}); call.addEventMsg('msg_s2c/PeijianChange', _id, {num: 0}); - addGameLog(call.uid, "_cutPeijian",{}, {_id:_id}) + addGameLog(call.uid, "_cutPeijian", {}, {_id: _id}) } } diff --git a/src/public/pushgift.ts b/src/public/pushgift.ts new file mode 100644 index 0000000..22fb397 --- /dev/null +++ b/src/public/pushgift.ts @@ -0,0 +1,179 @@ +import {PayFun} from "./pay"; + +const PushGiftType = { + LevelGift: 1, // 关卡推送 + ItemGift: 2, // 道具推送 + LoseGift: 3, // 战败推送 + RecruitGift: 4, // 十连推送 + LvGift: 5, // 等级推送 +} + +export class PushGiftFun { + + static async getGift(uid: string) { + // 查询所有礼包 + return (await G.mongodb.collection("pushgift").find({ + uid: uid + }).toArray()).map((i) => { + let {_id, ...gift} = i; + return gift + }) + } + + static async chkItemGift(uid: string, atn: atn) { + let gift_ids = []; + for (let id in G.gc.tuisonglibao) { + let conf = G.gc.tuisonglibao[id]; + if (conf.type == PushGiftType.ItemGift && conf.num[0].a == atn.a && conf.num[0].t == atn.t) { + gift_ids.push(id); + } + } + if (gift_ids.length <= 0) { + return + } else { + this.pushGift(uid, gift_ids) + } + } + + static async chkLevelGift(uid: string, level: number) { + let gift_ids = []; + for (let id in G.gc.tuisonglibao) { + let conf = G.gc.tuisonglibao[id]; + if (conf.type == PushGiftType.LevelGift && conf.num[0] == level) { + gift_ids.push(id); + } + } + if (gift_ids.length <= 0) { + return + } else { + this.pushGift(uid, gift_ids) + } + } + + static async chkLvGift(uid: string, lv: number) { + let gift_ids = []; + for (let id in G.gc.tuisonglibao) { + let conf = G.gc.tuisonglibao[id]; + if (conf.type == PushGiftType.LvGift && conf.num[0] == lv) { + gift_ids.push(id); + } + } + if (gift_ids.length <= 0) { + return + } else { + this.pushGift(uid, gift_ids) + } + } + + static async chkLoseGift(uid: string) { + let gift_ids = []; + for (let id in G.gc.tuisonglibao) { + let conf = G.gc.tuisonglibao[id]; + if (conf.type == PushGiftType.LoseGift) { + gift_ids.push(id); + } + } + if (gift_ids.length <= 0) { + return + } else { + this.pushGift(uid, gift_ids) + } + } + + static async chkRecruitGift(uid: string) { + let gift_ids = []; + for (let id in G.gc.tuisonglibao) { + let conf = G.gc.tuisonglibao[id]; + if (conf.type == PushGiftType.RecruitGift) { + gift_ids.push(id); + } + } + if (gift_ids.length <= 0) { + return + } else { + this.pushGift(uid, gift_ids) + } + } + + static async pushGift(uid: string, gift_ids: string[]) { + let gifts = {}; + (await this.getGift(uid)).forEach(i => gifts[i.id] = i) + for (let gift_id of gift_ids) { + let conf = G.gc.tuisonglibao[gift_id]; + if (gifts[gift_id] && conf.displayCD > 0 && gifts[gift_id].ctime + conf.displayCD > G.time) { + continue + } + if (conf.type == PushGiftType.RecruitGift) { + if (gifts[gift_id]) { + if (gift_ids[gift_id].ext_data.num + 1 >= conf.num[0]) { + this.addGift(uid, gift_id, {num: 0}) + } else { + G.mongodb.collection("pushgift").updateOne({ + uid: uid, id: gift_id + }, {"$inc": {"ext_data.num": 1}}) + } + } else { + // 招募礼包不存在 初始化数据 记录招募次数 + G.mongodb.collection("pushgift").updateOne({ + uid: uid, id: gift_id + }, { + $set: { + ctime: 0, + passTime: 0, + ext_data: {num: 1}, + buy: conf.payId.map(() => 0), + } + }, {upsert: true}) + } + } else { + this.addGift(uid, gift_id, {}) + } + } + } + + static async addGift(uid: string, giftid: string, ext_data: { [key: string]: any }) { + let conf = G.gc.tuisonglibao[giftid]; + // 更新礼包 + G.mongodb.collection("pushgift").updateOne({ + uid: uid, id: giftid + }, { + $set: { + ctime: G.time, + ext_data: ext_data, + passTime: G.time + conf.time, + buy: conf.payId.map(() => 0), + } + }, {upsert: true}) + + // 删除购买记录 + PayFun.delPayLog(uid, ...conf.payId.map(i => { + return {payId: i, val: []} + })) + // 推送客户端消息 + G.server.sendMsgByUid(uid, "msg_s2c/PushGiftChange", 1); + } + + static async buy(uid: string, payId: string) { + // 购买礼包 + let gift; + for (let gift_id in G.gc.tuisonglibao) { + let temp = G.gc.tuisonglibao[gift_id]; + if (temp.payId.includes(payId)) { + gift = temp; + break + } + } + if (!gift) return; + let index = gift.payId.indexOf(payId); + let info = await G.mongodb.collection("pushgift").findOne({ + uid: uid, id: gift.id.toString() + }) + if (info.passTime >= G.time) { + await G.mongodb.collection("pushgift").updateOne({ + uid: uid, id: gift.id.toString() + }, {$inc: {[`buy.${index}`]: 1}}) + // 推送客户端消息 + G.server.sendMsgByUid(uid, "msg_s2c/PushGiftChange", 1); + } + } +} \ No newline at end of file diff --git a/src/shared/protocols/msg_s2c/MsgPushGiftChange.ts b/src/shared/protocols/msg_s2c/MsgPushGiftChange.ts new file mode 100644 index 0000000..4c04b9b --- /dev/null +++ b/src/shared/protocols/msg_s2c/MsgPushGiftChange.ts @@ -0,0 +1 @@ +export type MsgPushGiftChange = 1; diff --git a/src/shared/protocols/pushgift/PtlOpen.ts b/src/shared/protocols/pushgift/PtlOpen.ts new file mode 100644 index 0000000..829c306 --- /dev/null +++ b/src/shared/protocols/pushgift/PtlOpen.ts @@ -0,0 +1,5 @@ +import {Gift} from "../../../module/collection_pushgift"; + +export type ReqOpen = {} + +export type ResOpen = { gifts: Gift[] } diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index 7c9c16e..7dad19f 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -68,53 +68,51 @@ import { ReqOpen as ReqOpen_14, ResOpen as ResOpen_14 } from './event/leijichong import { ReqRec as ReqRec_5, ResRec as ResRec_5 } from './event/leijichongzhi/PtlRec'; import { ReqLottery, ResLottery } from './event/niudanji/PtlLottery'; import { ReqOpen as ReqOpen_15, ResOpen as ResOpen_15 } from './event/niudanji/PtlOpen'; -import { ReqOpen as ReqOpen_16, ResOpen as ResOpen_16 } from './event/pobinglibao/PtlOpen'; -import { ReqReceive as ReqReceive_2, ResReceive as ResReceive_2 } from './event/pobinglibao/PtlReceive'; -import { ReqOpen as ReqOpen_17, ResOpen as ResOpen_17 } from './event/qirichongzhi/PtlOpen'; +import { ReqOpen as ReqOpen_16, ResOpen as ResOpen_16 } from './event/qirichongzhi/PtlOpen'; import { ReqRec as ReqRec_6, ResRec as ResRec_6 } from './event/qirichongzhi/PtlRec'; -import { ReqOpen as ReqOpen_18, ResOpen as ResOpen_18 } from './event/qiridenglu/PtlOpen'; +import { ReqOpen as ReqOpen_17, ResOpen as ResOpen_17 } from './event/qiridenglu/PtlOpen'; import { ReqRecPrize as ReqRecPrize_1, ResRecPrize as ResRecPrize_1 } from './event/qiridenglu/PtlRecPrize'; -import { ReqOpen as ReqOpen_19, ResOpen as ResOpen_19 } from './event/shiwuleichong/PtlOpen'; -import { ReqOpen as ReqOpen_20, ResOpen as ResOpen_20 } from './event/shouchong/PtlOpen'; -import { ReqReceive as ReqReceive_3, ResReceive as ResReceive_3 } from './event/shouchong/PtlReceive'; +import { ReqOpen as ReqOpen_18, ResOpen as ResOpen_18 } from './event/shiwuleichong/PtlOpen'; +import { ReqOpen as ReqOpen_19, ResOpen as ResOpen_19 } from './event/shouchong/PtlOpen'; +import { ReqReceive as ReqReceive_2, ResReceive as ResReceive_2 } from './event/shouchong/PtlReceive'; import { ReqBuy as ReqBuy_1, ResBuy as ResBuy_1 } from './event/xianshizhaomu/PtlBuy'; import { ReqDuihuan, ResDuihuan } from './event/xianshizhaomu/PtlDuihuan'; import { ReqLottery as ReqLottery_1, ResLottery as ResLottery_1 } from './event/xianshizhaomu/PtlLottery'; -import { ReqOpen as ReqOpen_21, ResOpen as ResOpen_21 } from './event/xianshizhaomu/PtlOpen'; +import { ReqOpen as ReqOpen_20, ResOpen as ResOpen_20 } from './event/xianshizhaomu/PtlOpen'; import { ReqRec as ReqRec_7, ResRec as ResRec_7 } from './event/xianshizhaomu/PtlRec'; -import { ReqOpen as ReqOpen_22, ResOpen as ResOpen_22 } from './event/xinshoulibao/PtlOpen'; +import { ReqOpen as ReqOpen_21, ResOpen as ResOpen_21 } from './event/xinshoulibao/PtlOpen'; import { ReqBuy as ReqBuy_2, ResBuy as ResBuy_2 } from './event/yangchengmubiao/PtlBuy'; -import { ReqOpen as ReqOpen_23, ResOpen as ResOpen_23 } from './event/yangchengmubiao/PtlOpen'; +import { ReqOpen as ReqOpen_22, ResOpen as ResOpen_22 } from './event/yangchengmubiao/PtlOpen'; import { ReqRec as ReqRec_8, ResRec as ResRec_8 } from './event/yangchengmubiao/PtlRec'; -import { ReqOpen as ReqOpen_24, ResOpen as ResOpen_24 } from './event/yibaichou/PtlOpen'; +import { ReqOpen as ReqOpen_23, ResOpen as ResOpen_23 } from './event/yibaichou/PtlOpen'; import { ReqRec as ReqRec_9, ResRec as ResRec_9 } from './event/yibaichou/PtlRec'; import { ReqRecAll, ResRecAll } from './event/yibaichou/PtlRecAll'; -import { ReqOpen as ReqOpen_25, ResOpen as ResOpen_25 } from './event/yuedujijin/PtlOpen'; +import { ReqOpen as ReqOpen_24, ResOpen as ResOpen_24 } from './event/yuedujijin/PtlOpen'; import { ReqRec as ReqRec_10, ResRec as ResRec_10 } from './event/yuedujijin/PtlRec'; import { ReqBuyLv, ResBuyLv } from './event/zhanling/PtlBuyLv'; -import { ReqOpen as ReqOpen_26, ResOpen as ResOpen_26 } from './event/zhanling/PtlOpen'; +import { ReqOpen as ReqOpen_25, ResOpen as ResOpen_25 } from './event/zhanling/PtlOpen'; import { ReqRecPrize as ReqRecPrize_2, ResRecPrize as ResRecPrize_2 } from './event/zhanling/PtlRecPrize'; import { ReqRecTask, ResRecTask } from './event/zhanling/PtlRecTask'; -import { ReqOpen as ReqOpen_27, ResOpen as ResOpen_27 } from './event/zhoulibao/PtlOpen'; -import { ReqOpen as ReqOpen_28, ResOpen as ResOpen_28 } from './event/zhoumolibao/PtlOpen'; -import { ReqReceive as ReqReceive_4, ResReceive as ResReceive_4 } from './event/zhoumolibao/PtlReceive'; +import { ReqOpen as ReqOpen_26, ResOpen as ResOpen_26 } from './event/zhoulibao/PtlOpen'; +import { ReqOpen as ReqOpen_27, ResOpen as ResOpen_27 } from './event/zhoumolibao/PtlOpen'; +import { ReqReceive as ReqReceive_3, ResReceive as ResReceive_3 } from './event/zhoumolibao/PtlReceive'; import { ReqBuy as ReqBuy_3, ResBuy as ResBuy_3 } from './event/zixuanlibao/PtlBuy'; -import { ReqOpen as ReqOpen_29, ResOpen as ResOpen_29 } from './event/zixuanlibao/PtlOpen'; +import { ReqOpen as ReqOpen_28, ResOpen as ResOpen_28 } from './event/zixuanlibao/PtlOpen'; import { ReqhdGetList, ReshdGetList } from './eventlist/PtlhdGetList'; import { ReqApply, ResApply } from './friend/PtlApply'; import { ReqDel, ResDel } from './friend/PtlDel'; import { ReqGift, ResGift } from './friend/PtlGift'; import { ReqList, ResList } from './friend/PtlList'; -import { ReqOpen as ReqOpen_30, ResOpen as ResOpen_30 } from './friend/PtlOpen'; +import { ReqOpen as ReqOpen_29, ResOpen as ResOpen_29 } from './friend/PtlOpen'; import { ReqRespond, ResRespond } from './friend/PtlRespond'; import { ReqRmBlackList, ResRmBlackList } from './friend/PtlRmBlackList'; import { ReqSearch, ResSearch } from './friend/PtlSearch'; import { ReqChallenge, ResChallenge } from './ganbutexun/PtlChallenge'; -import { ReqOpen as ReqOpen_31, ResOpen as ResOpen_31 } from './ganbutexun/PtlOpen'; +import { ReqOpen as ReqOpen_30, ResOpen as ResOpen_30 } from './ganbutexun/PtlOpen'; import { ReqFast, ResFast } from './ganhai/PtlFast'; import { ReqFight as ReqFight_1, ResFight as ResFight_1 } from './ganhai/PtlFight'; import { ReqLog, ResLog } from './ganhai/PtlLog'; -import { ReqOpen as ReqOpen_32, ResOpen as ResOpen_32 } from './ganhai/PtlOpen'; +import { ReqOpen as ReqOpen_31, ResOpen as ResOpen_31 } from './ganhai/PtlOpen'; import { ReqRefresh, ResRefresh } from './ganhai/PtlRefresh'; import { ReqRefreshShip, ResRefreshShip } from './ganhai/PtlRefreshShip'; import { ReqSelect as ReqSelect_1, ResSelect as ResSelect_1 } from './ganhai/PtlSelect'; @@ -136,19 +134,19 @@ import { ReqJx, ResJx } from './gonghui/PtlJx'; import { ReqJxOpen, ResJxOpen } from './gonghui/PtlJxOpen'; import { ReqList as ReqList_1, ResList as ResList_1 } from './gonghui/PtlList'; import { ReqManage, ResManage } from './gonghui/PtlManage'; -import { ReqOpen as ReqOpen_33, ResOpen as ResOpen_33 } from './gonghui/PtlOpen'; +import { ReqOpen as ReqOpen_32, ResOpen as ResOpen_32 } from './gonghui/PtlOpen'; import { ReqTanHe, ResTanHe } from './gonghui/PtlTanHe'; import { ReqTaskOpen, ResTaskOpen } from './gonghui/PtlTaskOpen'; import { ReqTaskReceive, ResTaskReceive } from './gonghui/PtlTaskReceive'; import { ReqUpWz, ResUpWz } from './gonghui/PtlUpWz'; import { ReqLottery as ReqLottery_2, ResLottery as ResLottery_2 } from './gonghuibaozang/PtlLottery'; -import { ReqOpen as ReqOpen_34, ResOpen as ResOpen_34 } from './gonghuibaozang/PtlOpen'; +import { ReqOpen as ReqOpen_33, ResOpen as ResOpen_33 } from './gonghuibaozang/PtlOpen'; import { ReqBuy as ReqBuy_4, ResBuy as ResBuy_4 } from './gonglukuangbiao/PtlBuy'; import { ReqFight as ReqFight_2, ResFight as ResFight_2 } from './gonglukuangbiao/PtlFight'; -import { ReqOpen as ReqOpen_35, ResOpen as ResOpen_35 } from './gonglukuangbiao/PtlOpen'; +import { ReqOpen as ReqOpen_34, ResOpen as ResOpen_34 } from './gonglukuangbiao/PtlOpen'; import { ReqRefresh as ReqRefresh_1, ResRefresh as ResRefresh_1 } from './gonglukuangbiao/PtlRefresh'; import { ReqActive, ResActive } from './gongyu/mingdao/PtlActive'; -import { ReqOpen as ReqOpen_36, ResOpen as ResOpen_36 } from './gongyu/mingdao/PtlOpen'; +import { ReqOpen as ReqOpen_35, ResOpen as ResOpen_35 } from './gongyu/mingdao/PtlOpen'; import { ReqRecPrize as ReqRecPrize_3, ResRecPrize as ResRecPrize_3 } from './gongyu/mingdao/PtlRecPrize'; import { ReqRepair, ResRepair } from './gongyu/mingdao/PtlRepair'; import { ReqReset as ReqReset_1, ResReset as ResReset_1 } from './gongyu/xunlianjihua/PtlReset'; @@ -157,14 +155,14 @@ import { ReqSetSkill, ResSetSkill } from './gongyu/zuozhanjihua/PtlSetSkill'; import { ReqBuyNum as ReqBuyNum_1, ResBuyNum as ResBuyNum_1 } from './hbzb/jfs/PtlBuyNum'; import { ReqFight as ReqFight_3, ResFight as ResFight_3 } from './hbzb/jfs/PtlFight'; import { ReqGetLog as ReqGetLog_1, ResGetLog as ResGetLog_1 } from './hbzb/jfs/PtlGetLog'; -import { ReqOpen as ReqOpen_37, ResOpen as ResOpen_37 } from './hbzb/jfs/PtlOpen'; +import { ReqOpen as ReqOpen_36, ResOpen as ResOpen_36 } from './hbzb/jfs/PtlOpen'; import { ReqRec as ReqRec_11, ResRec as ResRec_11 } from './hbzb/jfs/PtlRec'; import { ReqRefresh as ReqRefresh_2, ResRefresh as ResRefresh_2 } from './hbzb/jfs/PtlRefresh'; import { ReqGetStatus, ResGetStatus } from './hbzb/PtlGetStatus'; import { ReqBuyNum as ReqBuyNum_2, ResBuyNum as ResBuyNum_2 } from './hbzb/zbs/PtlBuyNum'; import { ReqFight as ReqFight_4, ResFight as ResFight_4 } from './hbzb/zbs/PtlFight'; import { ReqGetLog as ReqGetLog_2, ResGetLog as ResGetLog_2 } from './hbzb/zbs/PtlGetLog'; -import { ReqOpen as ReqOpen_38, ResOpen as ResOpen_38 } from './hbzb/zbs/PtlOpen'; +import { ReqOpen as ReqOpen_37, ResOpen as ResOpen_37 } from './hbzb/zbs/PtlOpen'; import { ReqRefresh as ReqRefresh_3, ResRefresh as ResRefresh_3 } from './hbzb/zbs/PtlRefresh'; import { ReqAwake, ResAwake } from './hero/PtlAwake'; import { ReqChangePos, ResChangePos } from './hero/PtlChangePos'; @@ -180,40 +178,40 @@ import { ReqGet as ReqGet_2, ResGet as ResGet_2 } from './hongdian/PtlGet'; import { ReqGetList as ReqGetList_4, ResGetList as ResGetList_4 } from './item/PtlGetList'; import { ReqUse, ResUse } from './item/PtlUse'; import { ReqLottery as ReqLottery_3, ResLottery as ResLottery_3 } from './jiaotang/PtlLottery'; -import { ReqOpen as ReqOpen_39, ResOpen as ResOpen_39 } from './jiaotang/PtlOpen'; +import { ReqOpen as ReqOpen_38, ResOpen as ResOpen_38 } from './jiaotang/PtlOpen'; import { ReqLottery as ReqLottery_4, ResLottery as ResLottery_4 } from './jiuba/PtlLottery'; -import { ReqOpen as ReqOpen_40, ResOpen as ResOpen_40 } from './jiuba/PtlOpen'; +import { ReqOpen as ReqOpen_39, ResOpen as ResOpen_39 } from './jiuba/PtlOpen'; import { ReqBuyFightNum, ResBuyFightNum } from './jjc/PtlBuyFightNum'; import { ReqFight as ReqFight_5, ResFight as ResFight_5 } from './jjc/PtlFight'; import { ReqFightLog, ResFightLog } from './jjc/PtlFightLog'; -import { ReqOpen as ReqOpen_41, ResOpen as ResOpen_41 } from './jjc/PtlOpen'; -import { ReqReceive as ReqReceive_5, ResReceive as ResReceive_5 } from './jjc/PtlReceive'; +import { ReqOpen as ReqOpen_40, ResOpen as ResOpen_40 } from './jjc/PtlOpen'; +import { ReqReceive as ReqReceive_4, ResReceive as ResReceive_4 } from './jjc/PtlReceive'; import { ReqRefresh as ReqRefresh_4, ResRefresh as ResRefresh_4 } from './jjc/PtlRefresh'; -import { ReqOpen as ReqOpen_42, ResOpen as ResOpen_42 } from './kaifujingsai/PtlOpen'; -import { ReqReceive as ReqReceive_6, ResReceive as ResReceive_6 } from './kaifujingsai/PtlReceive'; +import { ReqOpen as ReqOpen_41, ResOpen as ResOpen_41 } from './kaifujingsai/PtlOpen'; +import { ReqReceive as ReqReceive_5, ResReceive as ResReceive_5 } from './kaifujingsai/PtlReceive'; import { ReqApply as ReqApply_2, ResApply as ResApply_2 } from './kbzz/PtlApply'; import { ReqAutoApply, ResAutoApply } from './kbzz/PtlAutoApply'; import { ReqBuyNum as ReqBuyNum_3, ResBuyNum as ResBuyNum_3 } from './kbzz/PtlBuyNum'; import { ReqFight as ReqFight_6, ResFight as ResFight_6 } from './kbzz/PtlFight'; import { ReqFightLog as ReqFightLog_1, ResFightLog as ResFightLog_1 } from './kbzz/PtlFightLog'; import { ReqGroupState, ResGroupState } from './kbzz/PtlGroupState'; -import { ReqOpen as ReqOpen_43, ResOpen as ResOpen_43 } from './kbzz/PtlOpen'; +import { ReqOpen as ReqOpen_42, ResOpen as ResOpen_42 } from './kbzz/PtlOpen'; import { ReqRecPrize as ReqRecPrize_4, ResRecPrize as ResRecPrize_4 } from './kbzz/PtlRecPrize'; import { ReqRefresh as ReqRefresh_5, ResRefresh as ResRefresh_5 } from './kbzz/PtlRefresh'; import { ReqAddPkNum, ResAddPkNum } from './kuangdong/PtlAddPkNum'; import { ReqGetPrize, ResGetPrize } from './kuangdong/PtlGetPrize'; import { ReqKdInfo, ResKdInfo } from './kuangdong/PtlKdInfo'; import { ReqLog as ReqLog_1, ResLog as ResLog_1 } from './kuangdong/PtlLog'; -import { ReqOpen as ReqOpen_44, ResOpen as ResOpen_44 } from './kuangdong/PtlOpen'; +import { ReqOpen as ReqOpen_43, ResOpen as ResOpen_43 } from './kuangdong/PtlOpen'; import { ReqYanShi, ResYanShi } from './kuangdong/PtlYanShi'; import { ReqZhanLing, ResZhanLing } from './kuangdong/PtlZhanLing'; -import { ReqOpen as ReqOpen_45, ResOpen as ResOpen_45 } from './lingzhulaixi/PtlOpen'; +import { ReqOpen as ReqOpen_44, ResOpen as ResOpen_44 } from './lingzhulaixi/PtlOpen'; import { ReqPkBoss, ResPkBoss } from './lingzhulaixi/PtlPkBoss'; import { ReqPkRank, ResPkRank } from './lingzhulaixi/PtlPkRank'; import { ReqSaoDang, ResSaoDang } from './lingzhulaixi/PtlSaoDang'; import { ReqBuy as ReqBuy_5, ResBuy as ResBuy_5 } from './meirishilian/PtlBuy'; import { ReqFight as ReqFight_7, ResFight as ResFight_7 } from './meirishilian/PtlFight'; -import { ReqOpen as ReqOpen_46, ResOpen as ResOpen_46 } from './meirishilian/PtlOpen'; +import { ReqOpen as ReqOpen_45, ResOpen as ResOpen_45 } from './meirishilian/PtlOpen'; import { MsgBindUid } from './msg_c2s/MsgBindUid'; import { MsgPay } from './msg_c2s/MsgPay'; import { MsgSync } from './msg_c2s/MsgSync'; @@ -238,13 +236,14 @@ import { MsgPayResult } from './msg_s2c/MsgPayResult'; import { MsgPeijianChange } from './msg_s2c/MsgPeijianChange'; import { MsgPlayerChange } from './msg_s2c/MsgPlayerChange'; import { MsgPrivate } from './msg_s2c/MsgPrivate'; +import { MsgPushGiftChange } from './msg_s2c/MsgPushGiftChange'; import { MsgSendGift } from './msg_s2c/MsgSendGift'; import { MsgShiwuChange } from './msg_s2c/MsgShiwuChange'; import { MsgTaskChange } from './msg_s2c/MsgTaskChange'; import { MsgXianshilibao } from './msg_s2c/MsgXianshilibao'; import { ReqFight as ReqFight_8, ResFight as ResFight_8 } from './pata/PtlFight'; import { ReqGetPrize as ReqGetPrize_1, ResGetPrize as ResGetPrize_1 } from './pata/PtlGetPrize'; -import { ReqOpen as ReqOpen_47, ResOpen as ResOpen_47 } from './pata/PtlOpen'; +import { ReqOpen as ReqOpen_46, ResOpen as ResOpen_46 } from './pata/PtlOpen'; import { ReqSaoDang as ReqSaoDang_1, ResSaoDang as ResSaoDang_1 } from './pata/PtlSaoDang'; import { ReqGetList as ReqGetList_5, ResGetList as ResGetList_5 } from './pay/PtlGetList'; import { ReqGetList as ReqGetList_6, ResGetList as ResGetList_6 } from './peijian/PtlGetList'; @@ -260,11 +259,12 @@ import { ReqUnLock, ResUnLock } from './peijian/PtlUnLock'; import { ReqWear as ReqWear_1, ResWear as ResWear_1 } from './peijian/PtlWear'; import { ReqDeal, ResDeal } from './peijiancangku/PtlDeal'; import { ReqJump, ResJump } from './peijiancangku/PtlJump'; -import { ReqOpen as ReqOpen_48, ResOpen as ResOpen_48 } from './peijiancangku/PtlOpen'; +import { ReqOpen as ReqOpen_47, ResOpen as ResOpen_47 } from './peijiancangku/PtlOpen'; import { ReqBingo, ResBingo } from './PtlBingo'; import { ReqFightTest, ResFightTest } from './PtlFightTest'; import { ReqSyncBtn, ResSyncBtn } from './PtlSyncBtn'; import { ReqTest, ResTest } from './PtlTest'; +import { ReqOpen as ReqOpen_48, ResOpen as ResOpen_48 } from './pushgift/PtlOpen'; import { ReqFight as ReqFight_9, ResFight as ResFight_9 } from './qjzzd/PtlFight'; import { ReqOpen as ReqOpen_49, ResOpen as ResOpen_49 } from './qjzzd/PtlOpen'; import { ReqOpen as ReqOpen_50, ResOpen as ResOpen_50 } from './rank/PtlOpen'; @@ -298,7 +298,7 @@ import { ReqFastGuaJi, ResFastGuaJi } from './tanxian/PtlFastGuaJi'; import { ReqFight as ReqFight_11, ResFight as ResFight_11 } from './tanxian/PtlFight'; import { ReqGuaJi, ResGuaJi } from './tanxian/PtlGuaJi'; import { ReqOpen as ReqOpen_55, ResOpen as ResOpen_55 } from './tanxian/PtlOpen'; -import { ReqReceive as ReqReceive_7, ResReceive as ResReceive_7 } from './tanxian/PtlReceive'; +import { ReqReceive as ReqReceive_6, ResReceive as ResReceive_6 } from './tanxian/PtlReceive'; import { ReqAllFinsh, ResAllFinsh } from './task/PtlAllFinsh'; import { ReqFinsh, ResFinsh } from './task/PtlFinsh'; import { ReqOpen as ReqOpen_56, ResOpen as ResOpen_56 } from './task/PtlOpen'; @@ -337,7 +337,7 @@ import { ReqGet as ReqGet_3, ResGet as ResGet_3 } from './xstask/PtlGet'; import { ReqLvUp as ReqLvUp_4, ResLvUp as ResLvUp_4 } from './xstask/PtlLvUp'; import { ReqOnekeyReceive, ResOnekeyReceive } from './xstask/PtlOnekeyReceive'; import { ReqOpen as ReqOpen_59, ResOpen as ResOpen_59 } from './xstask/PtlOpen'; -import { ReqReceive as ReqReceive_8, ResReceive as ResReceive_8 } from './xstask/PtlReceive'; +import { ReqReceive as ReqReceive_7, ResReceive as ResReceive_7 } from './xstask/PtlReceive'; import { ReqRefresh as ReqRefresh_8, ResRefresh as ResRefresh_8 } from './xstask/PtlRefresh'; import { ReqHandle, ResHandle } from './yongbingzhuzhan/PtlHandle'; import { ReqChangePos as ReqChangePos_1, ResChangePos as ResChangePos_1 } from './zhanqianbushu/PtlChangePos'; @@ -622,41 +622,33 @@ export interface ServiceType { req: ReqOpen_15, res: ResOpen_15 }, - "event/pobinglibao/Open": { + "event/qirichongzhi/Open": { req: ReqOpen_16, res: ResOpen_16 }, - "event/pobinglibao/Receive": { - req: ReqReceive_2, - res: ResReceive_2 - }, - "event/qirichongzhi/Open": { - req: ReqOpen_17, - res: ResOpen_17 - }, "event/qirichongzhi/Rec": { req: ReqRec_6, res: ResRec_6 }, "event/qiridenglu/Open": { - req: ReqOpen_18, - res: ResOpen_18 + req: ReqOpen_17, + res: ResOpen_17 }, "event/qiridenglu/RecPrize": { req: ReqRecPrize_1, res: ResRecPrize_1 }, "event/shiwuleichong/Open": { + req: ReqOpen_18, + res: ResOpen_18 + }, + "event/shouchong/Open": { req: ReqOpen_19, res: ResOpen_19 }, - "event/shouchong/Open": { - req: ReqOpen_20, - res: ResOpen_20 - }, "event/shouchong/Receive": { - req: ReqReceive_3, - res: ResReceive_3 + req: ReqReceive_2, + res: ResReceive_2 }, "event/xianshizhaomu/Buy": { req: ReqBuy_1, @@ -671,32 +663,32 @@ export interface ServiceType { res: ResLottery_1 }, "event/xianshizhaomu/Open": { - req: ReqOpen_21, - res: ResOpen_21 + req: ReqOpen_20, + res: ResOpen_20 }, "event/xianshizhaomu/Rec": { req: ReqRec_7, res: ResRec_7 }, "event/xinshoulibao/Open": { - req: ReqOpen_22, - res: ResOpen_22 + req: ReqOpen_21, + res: ResOpen_21 }, "event/yangchengmubiao/Buy": { req: ReqBuy_2, res: ResBuy_2 }, "event/yangchengmubiao/Open": { - req: ReqOpen_23, - res: ResOpen_23 + req: ReqOpen_22, + res: ResOpen_22 }, "event/yangchengmubiao/Rec": { req: ReqRec_8, res: ResRec_8 }, "event/yibaichou/Open": { - req: ReqOpen_24, - res: ResOpen_24 + req: ReqOpen_23, + res: ResOpen_23 }, "event/yibaichou/Rec": { req: ReqRec_9, @@ -707,8 +699,8 @@ export interface ServiceType { res: ResRecAll }, "event/yuedujijin/Open": { - req: ReqOpen_25, - res: ResOpen_25 + req: ReqOpen_24, + res: ResOpen_24 }, "event/yuedujijin/Rec": { req: ReqRec_10, @@ -719,8 +711,8 @@ export interface ServiceType { res: ResBuyLv }, "event/zhanling/Open": { - req: ReqOpen_26, - res: ResOpen_26 + req: ReqOpen_25, + res: ResOpen_25 }, "event/zhanling/RecPrize": { req: ReqRecPrize_2, @@ -731,24 +723,24 @@ export interface ServiceType { res: ResRecTask }, "event/zhoulibao/Open": { + req: ReqOpen_26, + res: ResOpen_26 + }, + "event/zhoumolibao/Open": { req: ReqOpen_27, res: ResOpen_27 }, - "event/zhoumolibao/Open": { - req: ReqOpen_28, - res: ResOpen_28 - }, "event/zhoumolibao/Receive": { - req: ReqReceive_4, - res: ResReceive_4 + req: ReqReceive_3, + res: ResReceive_3 }, "event/zixuanlibao/Buy": { req: ReqBuy_3, res: ResBuy_3 }, "event/zixuanlibao/Open": { - req: ReqOpen_29, - res: ResOpen_29 + req: ReqOpen_28, + res: ResOpen_28 }, "eventlist/hdGetList": { req: ReqhdGetList, @@ -771,8 +763,8 @@ export interface ServiceType { res: ResList }, "friend/Open": { - req: ReqOpen_30, - res: ResOpen_30 + req: ReqOpen_29, + res: ResOpen_29 }, "friend/Respond": { req: ReqRespond, @@ -791,8 +783,8 @@ export interface ServiceType { res: ResChallenge }, "ganbutexun/Open": { - req: ReqOpen_31, - res: ResOpen_31 + req: ReqOpen_30, + res: ResOpen_30 }, "ganhai/Fast": { req: ReqFast, @@ -807,8 +799,8 @@ export interface ServiceType { res: ResLog }, "ganhai/Open": { - req: ReqOpen_32, - res: ResOpen_32 + req: ReqOpen_31, + res: ResOpen_31 }, "ganhai/Refresh": { req: ReqRefresh, @@ -895,8 +887,8 @@ export interface ServiceType { res: ResManage }, "gonghui/Open": { - req: ReqOpen_33, - res: ResOpen_33 + req: ReqOpen_32, + res: ResOpen_32 }, "gonghui/TanHe": { req: ReqTanHe, @@ -919,8 +911,8 @@ export interface ServiceType { res: ResLottery_2 }, "gonghuibaozang/Open": { - req: ReqOpen_34, - res: ResOpen_34 + req: ReqOpen_33, + res: ResOpen_33 }, "gonglukuangbiao/Buy": { req: ReqBuy_4, @@ -931,8 +923,8 @@ export interface ServiceType { res: ResFight_2 }, "gonglukuangbiao/Open": { - req: ReqOpen_35, - res: ResOpen_35 + req: ReqOpen_34, + res: ResOpen_34 }, "gonglukuangbiao/Refresh": { req: ReqRefresh_1, @@ -943,8 +935,8 @@ export interface ServiceType { res: ResActive }, "gongyu/mingdao/Open": { - req: ReqOpen_36, - res: ResOpen_36 + req: ReqOpen_35, + res: ResOpen_35 }, "gongyu/mingdao/RecPrize": { req: ReqRecPrize_3, @@ -979,8 +971,8 @@ export interface ServiceType { res: ResGetLog_1 }, "hbzb/jfs/Open": { - req: ReqOpen_37, - res: ResOpen_37 + req: ReqOpen_36, + res: ResOpen_36 }, "hbzb/jfs/Rec": { req: ReqRec_11, @@ -1007,8 +999,8 @@ export interface ServiceType { res: ResGetLog_2 }, "hbzb/zbs/Open": { - req: ReqOpen_38, - res: ResOpen_38 + req: ReqOpen_37, + res: ResOpen_37 }, "hbzb/zbs/Refresh": { req: ReqRefresh_3, @@ -1071,16 +1063,16 @@ export interface ServiceType { res: ResLottery_3 }, "jiaotang/Open": { - req: ReqOpen_39, - res: ResOpen_39 + req: ReqOpen_38, + res: ResOpen_38 }, "jiuba/Lottery": { req: ReqLottery_4, res: ResLottery_4 }, "jiuba/Open": { - req: ReqOpen_40, - res: ResOpen_40 + req: ReqOpen_39, + res: ResOpen_39 }, "jjc/BuyFightNum": { req: ReqBuyFightNum, @@ -1095,24 +1087,24 @@ export interface ServiceType { res: ResFightLog }, "jjc/Open": { - req: ReqOpen_41, - res: ResOpen_41 + req: ReqOpen_40, + res: ResOpen_40 }, "jjc/Receive": { - req: ReqReceive_5, - res: ResReceive_5 + req: ReqReceive_4, + res: ResReceive_4 }, "jjc/Refresh": { req: ReqRefresh_4, res: ResRefresh_4 }, "kaifujingsai/Open": { - req: ReqOpen_42, - res: ResOpen_42 + req: ReqOpen_41, + res: ResOpen_41 }, "kaifujingsai/Receive": { - req: ReqReceive_6, - res: ResReceive_6 + req: ReqReceive_5, + res: ResReceive_5 }, "kbzz/Apply": { req: ReqApply_2, @@ -1139,8 +1131,8 @@ export interface ServiceType { res: ResGroupState }, "kbzz/Open": { - req: ReqOpen_43, - res: ResOpen_43 + req: ReqOpen_42, + res: ResOpen_42 }, "kbzz/RecPrize": { req: ReqRecPrize_4, @@ -1167,8 +1159,8 @@ export interface ServiceType { res: ResLog_1 }, "kuangdong/Open": { - req: ReqOpen_44, - res: ResOpen_44 + req: ReqOpen_43, + res: ResOpen_43 }, "kuangdong/YanShi": { req: ReqYanShi, @@ -1179,8 +1171,8 @@ export interface ServiceType { res: ResZhanLing }, "lingzhulaixi/Open": { - req: ReqOpen_45, - res: ResOpen_45 + req: ReqOpen_44, + res: ResOpen_44 }, "lingzhulaixi/PkBoss": { req: ReqPkBoss, @@ -1203,8 +1195,8 @@ export interface ServiceType { res: ResFight_7 }, "meirishilian/Open": { - req: ReqOpen_46, - res: ResOpen_46 + req: ReqOpen_45, + res: ResOpen_45 }, "pata/Fight": { req: ReqFight_8, @@ -1215,8 +1207,8 @@ export interface ServiceType { res: ResGetPrize_1 }, "pata/Open": { - req: ReqOpen_47, - res: ResOpen_47 + req: ReqOpen_46, + res: ResOpen_46 }, "pata/SaoDang": { req: ReqSaoDang_1, @@ -1279,8 +1271,8 @@ export interface ServiceType { res: ResJump }, "peijiancangku/Open": { - req: ReqOpen_48, - res: ResOpen_48 + req: ReqOpen_47, + res: ResOpen_47 }, "Bingo": { req: ReqBingo, @@ -1298,6 +1290,10 @@ export interface ServiceType { req: ReqTest, res: ResTest }, + "pushgift/Open": { + req: ReqOpen_48, + res: ResOpen_48 + }, "qjzzd/Fight": { req: ReqFight_9, res: ResFight_9 @@ -1431,8 +1427,8 @@ export interface ServiceType { res: ResOpen_55 }, "tanxian/Receive": { - req: ReqReceive_7, - res: ResReceive_7 + req: ReqReceive_6, + res: ResReceive_6 }, "task/AllFinsh": { req: ReqAllFinsh, @@ -1587,8 +1583,8 @@ export interface ServiceType { res: ResOpen_59 }, "xstask/Receive": { - req: ReqReceive_8, - res: ResReceive_8 + req: ReqReceive_7, + res: ResReceive_7 }, "xstask/Refresh": { req: ReqRefresh_8, @@ -1636,6 +1632,7 @@ export interface ServiceType { "msg_s2c/PeijianChange": MsgPeijianChange, "msg_s2c/PlayerChange": MsgPlayerChange, "msg_s2c/Private": MsgPrivate, + "msg_s2c/PushGiftChange": MsgPushGiftChange, "msg_s2c/SendGift": MsgSendGift, "msg_s2c/ShiwuChange": MsgShiwuChange, "msg_s2c/TaskChange": MsgTaskChange, @@ -1992,111 +1989,101 @@ export const serviceProto: ServiceProto = { }, { "id": 69, - "name": "event/pobinglibao/Open", - "type": "api" - }, - { - "id": 70, - "name": "event/pobinglibao/Receive", - "type": "api" - }, - { - "id": 71, "name": "event/qirichongzhi/Open", "type": "api" }, { - "id": 72, + "id": 70, "name": "event/qirichongzhi/Rec", "type": "api" }, { - "id": 73, + "id": 71, "name": "event/qiridenglu/Open", "type": "api" }, { - "id": 74, + "id": 72, "name": "event/qiridenglu/RecPrize", "type": "api" }, { - "id": 75, + "id": 73, "name": "event/shiwuleichong/Open", "type": "api" }, { - "id": 76, + "id": 74, "name": "event/shouchong/Open", "type": "api" }, { - "id": 77, + "id": 75, "name": "event/shouchong/Receive", "type": "api" }, { - "id": 78, + "id": 76, "name": "event/xianshizhaomu/Buy", "type": "api" }, { - "id": 79, + "id": 77, "name": "event/xianshizhaomu/Duihuan", "type": "api" }, { - "id": 80, + "id": 78, "name": "event/xianshizhaomu/Lottery", "type": "api" }, { - "id": 81, + "id": 79, "name": "event/xianshizhaomu/Open", "type": "api" }, { - "id": 82, + "id": 80, "name": "event/xianshizhaomu/Rec", "type": "api" }, { - "id": 83, + "id": 81, "name": "event/xinshoulibao/Open", "type": "api" }, { - "id": 84, + "id": 82, "name": "event/yangchengmubiao/Buy", "type": "api" }, { - "id": 85, + "id": 83, "name": "event/yangchengmubiao/Open", "type": "api" }, { - "id": 86, + "id": 84, "name": "event/yangchengmubiao/Rec", "type": "api" }, { - "id": 87, + "id": 85, "name": "event/yibaichou/Open", "type": "api" }, { - "id": 88, + "id": 86, "name": "event/yibaichou/Rec", "type": "api" }, { - "id": 89, + "id": 87, "name": "event/yibaichou/RecAll", "type": "api" }, { - "id": 90, + "id": 88, "name": "event/yuedujijin/Open", "type": "api", "conf": { @@ -2104,157 +2091,157 @@ export const serviceProto: ServiceProto = { } }, { - "id": 91, + "id": 89, "name": "event/yuedujijin/Rec", "type": "api" }, { - "id": 92, + "id": 90, "name": "event/zhanling/BuyLv", "type": "api" }, { - "id": 93, + "id": 91, "name": "event/zhanling/Open", "type": "api" }, { - "id": 94, + "id": 92, "name": "event/zhanling/RecPrize", "type": "api" }, { - "id": 95, + "id": 93, "name": "event/zhanling/RecTask", "type": "api" }, { - "id": 96, + "id": 94, "name": "event/zhoulibao/Open", "type": "api" }, { - "id": 97, + "id": 95, "name": "event/zhoumolibao/Open", "type": "api" }, { - "id": 98, + "id": 96, "name": "event/zhoumolibao/Receive", "type": "api" }, { - "id": 99, + "id": 97, "name": "event/zixuanlibao/Buy", "type": "api" }, { - "id": 100, + "id": 98, "name": "event/zixuanlibao/Open", "type": "api" }, { - "id": 101, + "id": 99, "name": "eventlist/hdGetList", "type": "api" }, { - "id": 102, + "id": 100, "name": "friend/Apply", "type": "api" }, { - "id": 103, + "id": 101, "name": "friend/Del", "type": "api" }, { - "id": 104, + "id": 102, "name": "friend/Gift", "type": "api" }, { - "id": 105, + "id": 103, "name": "friend/List", "type": "api" }, { - "id": 106, + "id": 104, "name": "friend/Open", "type": "api" }, { - "id": 107, + "id": 105, "name": "friend/Respond", "type": "api" }, { - "id": 108, + "id": 106, "name": "friend/RmBlackList", "type": "api" }, { - "id": 109, + "id": 107, "name": "friend/Search", "type": "api" }, { - "id": 110, + "id": 108, "name": "ganbutexun/Challenge", "type": "api" }, { - "id": 111, + "id": 109, "name": "ganbutexun/Open", "type": "api" }, { - "id": 112, + "id": 110, "name": "ganhai/Fast", "type": "api" }, { - "id": 113, + "id": 111, "name": "ganhai/Fight", "type": "api" }, { - "id": 114, + "id": 112, "name": "ganhai/Log", "type": "api" }, { - "id": 115, + "id": 113, "name": "ganhai/Open", "type": "api" }, { - "id": 116, + "id": 114, "name": "ganhai/Refresh", "type": "api" }, { - "id": 117, + "id": 115, "name": "ganhai/RefreshShip", "type": "api" }, { - "id": 118, + "id": 116, "name": "ganhai/Select", "type": "api" }, { - "id": 119, + "id": 117, "name": "gmapi/Gift", "type": "api" }, { - "id": 120, + "id": 118, "name": "gmapi/Post", "type": "api" }, { - "id": 121, + "id": 119, "name": "gonghui/Apply", "type": "api", "conf": { @@ -2264,7 +2251,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 122, + "id": 120, "name": "gonghui/ApplyAll", "type": "api", "conf": { @@ -2274,7 +2261,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 123, + "id": 121, "name": "gonghui/ApplyList", "type": "api", "conf": { @@ -2284,7 +2271,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 124, + "id": 122, "name": "gonghui/Change", "type": "api", "conf": { @@ -2294,12 +2281,12 @@ export const serviceProto: ServiceProto = { } }, { - "id": 125, + "id": 123, "name": "gonghui/Create", "type": "api" }, { - "id": 126, + "id": 124, "name": "gonghui/Dissolve", "type": "api", "conf": { @@ -2309,7 +2296,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 127, + "id": 125, "name": "gonghui/Exit", "type": "api", "conf": { @@ -2319,12 +2306,12 @@ export const serviceProto: ServiceProto = { } }, { - "id": 128, + "id": 126, "name": "gonghui/FbBuyNum", "type": "api" }, { - "id": 129, + "id": 127, "name": "gonghui/FbFight", "type": "api", "conf": { @@ -2334,7 +2321,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 130, + "id": 128, "name": "gonghui/FbOpen", "type": "api", "conf": { @@ -2344,17 +2331,17 @@ export const serviceProto: ServiceProto = { } }, { - "id": 131, + "id": 129, "name": "gonghui/GetList", "type": "api" }, { - "id": 132, + "id": 130, "name": "gonghui/Join", "type": "api" }, { - "id": 133, + "id": 131, "name": "gonghui/Jx", "type": "api", "conf": { @@ -2364,7 +2351,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 134, + "id": 132, "name": "gonghui/JxOpen", "type": "api", "conf": { @@ -2374,7 +2361,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 135, + "id": 133, "name": "gonghui/List", "type": "api", "conf": { @@ -2384,7 +2371,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 136, + "id": 134, "name": "gonghui/Manage", "type": "api", "conf": { @@ -2394,7 +2381,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 137, + "id": 135, "name": "gonghui/Open", "type": "api", "conf": { @@ -2404,7 +2391,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 138, + "id": 136, "name": "gonghui/TanHe", "type": "api", "conf": { @@ -2414,7 +2401,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 139, + "id": 137, "name": "gonghui/TaskOpen", "type": "api", "conf": { @@ -2424,7 +2411,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 140, + "id": 138, "name": "gonghui/TaskReceive", "type": "api", "conf": { @@ -2434,7 +2421,7 @@ export const serviceProto: ServiceProto = { } }, { - "id": 141, + "id": 139, "name": "gonghui/UpWz", "type": "api", "conf": { @@ -2444,137 +2431,137 @@ export const serviceProto: ServiceProto = { } }, { - "id": 142, + "id": 140, "name": "gonghuibaozang/Lottery", "type": "api" }, { - "id": 143, + "id": 141, "name": "gonghuibaozang/Open", "type": "api" }, { - "id": 144, + "id": 142, "name": "gonglukuangbiao/Buy", "type": "api" }, { - "id": 145, + "id": 143, "name": "gonglukuangbiao/Fight", "type": "api" }, { - "id": 146, + "id": 144, "name": "gonglukuangbiao/Open", "type": "api" }, { - "id": 147, + "id": 145, "name": "gonglukuangbiao/Refresh", "type": "api" }, { - "id": 148, + "id": 146, "name": "gongyu/mingdao/Active", "type": "api" }, { - "id": 149, + "id": 147, "name": "gongyu/mingdao/Open", "type": "api" }, { - "id": 150, + "id": 148, "name": "gongyu/mingdao/RecPrize", "type": "api" }, { - "id": 151, + "id": 149, "name": "gongyu/mingdao/Repair", "type": "api" }, { - "id": 152, + "id": 150, "name": "gongyu/xunlianjihua/Reset", "type": "api" }, { - "id": 153, + "id": 151, "name": "gongyu/xunlianjihua/UpSkill", "type": "api" }, { - "id": 154, + "id": 152, "name": "gongyu/zuozhanjihua/SetSkill", "type": "api" }, { - "id": 155, + "id": 153, "name": "hbzb/jfs/BuyNum", "type": "api" }, { - "id": 156, + "id": 154, "name": "hbzb/jfs/Fight", "type": "api" }, { - "id": 157, + "id": 155, "name": "hbzb/jfs/GetLog", "type": "api" }, { - "id": 158, + "id": 156, "name": "hbzb/jfs/Open", "type": "api" }, { - "id": 159, + "id": 157, "name": "hbzb/jfs/Rec", "type": "api" }, { - "id": 160, + "id": 158, "name": "hbzb/jfs/Refresh", "type": "api" }, { - "id": 161, + "id": 159, "name": "hbzb/GetStatus", "type": "api" }, { - "id": 162, + "id": 160, "name": "hbzb/zbs/BuyNum", "type": "api" }, { - "id": 163, + "id": 161, "name": "hbzb/zbs/Fight", "type": "api" }, { - "id": 164, + "id": 162, "name": "hbzb/zbs/GetLog", "type": "api" }, { - "id": 165, + "id": 163, "name": "hbzb/zbs/Open", "type": "api" }, { - "id": 166, + "id": 164, "name": "hbzb/zbs/Refresh", "type": "api" }, { - "id": 167, + "id": 165, "name": "hero/Awake", "type": "api" }, { - "id": 168, + "id": 166, "name": "hero/ChangePos", "type": "api", "conf": { @@ -2582,17 +2569,17 @@ export const serviceProto: ServiceProto = { } }, { - "id": 169, + "id": 167, "name": "hero/GetList", "type": "api" }, { - "id": 170, + "id": 168, "name": "hero/JinJie", "type": "api" }, { - "id": 171, + "id": 169, "name": "hero/LvUp", "type": "api", "conf": { @@ -2600,32 +2587,32 @@ export const serviceProto: ServiceProto = { } }, { - "id": 172, + "id": 170, "name": "hero/Potency", "type": "api" }, { - "id": 173, + "id": 171, "name": "hero/Rec", "type": "api" }, { - "id": 174, + "id": 172, "name": "hero/Reset", "type": "api" }, { - "id": 175, + "id": 173, "name": "hero/Talent", "type": "api" }, { - "id": 176, + "id": 174, "name": "hero/WeaponUp", "type": "api" }, { - "id": 177, + "id": 175, "name": "hongdian/Get", "type": "api", "conf": { @@ -2633,117 +2620,117 @@ export const serviceProto: ServiceProto = { } }, { - "id": 178, + "id": 176, "name": "item/GetList", "type": "api" }, { - "id": 179, + "id": 177, "name": "item/Use", "type": "api" }, { - "id": 180, + "id": 178, "name": "jiaotang/Lottery", "type": "api" }, { - "id": 181, + "id": 179, "name": "jiaotang/Open", "type": "api" }, { - "id": 182, + "id": 180, "name": "jiuba/Lottery", "type": "api" }, { - "id": 183, + "id": 181, "name": "jiuba/Open", "type": "api" }, { - "id": 184, + "id": 182, "name": "jjc/BuyFightNum", "type": "api" }, { - "id": 185, + "id": 183, "name": "jjc/Fight", "type": "api" }, { - "id": 186, + "id": 184, "name": "jjc/FightLog", "type": "api" }, { - "id": 187, + "id": 185, "name": "jjc/Open", "type": "api" }, { - "id": 188, + "id": 186, "name": "jjc/Receive", "type": "api" }, { - "id": 189, + "id": 187, "name": "jjc/Refresh", "type": "api" }, { - "id": 190, + "id": 188, "name": "kaifujingsai/Open", "type": "api" }, { - "id": 191, + "id": 189, "name": "kaifujingsai/Receive", "type": "api" }, { - "id": 192, + "id": 190, "name": "kbzz/Apply", "type": "api" }, { - "id": 193, + "id": 191, "name": "kbzz/AutoApply", "type": "api" }, { - "id": 194, + "id": 192, "name": "kbzz/BuyNum", "type": "api" }, { - "id": 195, + "id": 193, "name": "kbzz/Fight", "type": "api" }, { - "id": 196, + "id": 194, "name": "kbzz/FightLog", "type": "api" }, { - "id": 197, + "id": 195, "name": "kbzz/GroupState", "type": "api" }, { - "id": 198, + "id": 196, "name": "kbzz/Open", "type": "api" }, { - "id": 199, + "id": 197, "name": "kbzz/RecPrize", "type": "api" }, { - "id": 200, + "id": 198, "name": "kbzz/Refresh", "type": "api", "conf": { @@ -2751,282 +2738,287 @@ export const serviceProto: ServiceProto = { } }, { - "id": 201, + "id": 199, "name": "kuangdong/AddPkNum", "type": "api" }, { - "id": 202, + "id": 200, "name": "kuangdong/GetPrize", "type": "api" }, { - "id": 203, + "id": 201, "name": "kuangdong/KdInfo", "type": "api" }, { - "id": 204, + "id": 202, "name": "kuangdong/Log", "type": "api" }, { - "id": 205, + "id": 203, "name": "kuangdong/Open", "type": "api" }, { - "id": 206, + "id": 204, "name": "kuangdong/YanShi", "type": "api" }, { - "id": 207, + "id": 205, "name": "kuangdong/ZhanLing", "type": "api" }, { - "id": 208, + "id": 206, "name": "lingzhulaixi/Open", "type": "api" }, { - "id": 209, + "id": 207, "name": "lingzhulaixi/PkBoss", "type": "api" }, { - "id": 210, + "id": 208, "name": "lingzhulaixi/PkRank", "type": "api" }, { - "id": 211, + "id": 209, "name": "lingzhulaixi/SaoDang", "type": "api" }, { - "id": 212, + "id": 210, "name": "meirishilian/Buy", "type": "api" }, { - "id": 213, + "id": 211, "name": "meirishilian/Fight", "type": "api" }, { - "id": 214, + "id": 212, "name": "meirishilian/Open", "type": "api" }, { - "id": 215, + "id": 213, "name": "msg_c2s/BindUid", "type": "msg" }, { - "id": 216, + "id": 214, "name": "msg_c2s/Pay", "type": "msg" }, { - "id": 217, + "id": 215, "name": "msg_c2s/Sync", "type": "msg" }, { - "id": 218, + "id": 216, "name": "msg_s2c/Chat", "type": "msg" }, { - "id": 219, + "id": 217, "name": "msg_s2c/ChatHelp", "type": "msg" }, { - "id": 220, + "id": 218, "name": "msg_s2c/Collection", "type": "msg" }, { - "id": 221, + "id": 219, "name": "msg_s2c/Email", "type": "msg" }, { - "id": 222, + "id": 220, "name": "msg_s2c/EmailDel", "type": "msg" }, { - "id": 223, + "id": 221, "name": "msg_s2c/EquipChange", "type": "msg" }, { - "id": 224, + "id": 222, "name": "msg_s2c/Friend", "type": "msg" }, { - "id": 225, + "id": 223, "name": "msg_s2c/GhChange", "type": "msg" }, { - "id": 226, + "id": 224, "name": "msg_s2c/GongHuiBaoZang", "type": "msg" }, { - "id": 227, + "id": 225, "name": "msg_s2c/HeroChange", "type": "msg" }, { - "id": 228, + "id": 226, "name": "msg_s2c/HongDianChange", "type": "msg" }, { - "id": 229, + "id": 227, "name": "msg_s2c/ItemChange", "type": "msg" }, { - "id": 230, + "id": 228, "name": "msg_s2c/LoginQueue", "type": "msg" }, { - "id": 231, + "id": 229, "name": "msg_s2c/LshdChange", "type": "msg" }, { - "id": 232, + "id": 230, "name": "msg_s2c/NewDay", "type": "msg" }, { - "id": 233, + "id": 231, "name": "msg_s2c/OtherLogin", "type": "msg" }, { - "id": 234, + "id": 232, "name": "msg_s2c/PayChange", "type": "msg" }, { - "id": 235, + "id": 233, "name": "msg_s2c/PayResult", "type": "msg" }, { - "id": 236, + "id": 234, "name": "msg_s2c/PeijianChange", "type": "msg" }, { - "id": 237, + "id": 235, "name": "msg_s2c/PlayerChange", "type": "msg" }, { - "id": 238, + "id": 236, "name": "msg_s2c/Private", "type": "msg" }, { - "id": 239, + "id": 237, + "name": "msg_s2c/PushGiftChange", + "type": "msg" + }, + { + "id": 238, "name": "msg_s2c/SendGift", "type": "msg" }, { - "id": 240, + "id": 239, "name": "msg_s2c/ShiwuChange", "type": "msg" }, { - "id": 241, + "id": 240, "name": "msg_s2c/TaskChange", "type": "msg" }, { - "id": 242, + "id": 241, "name": "msg_s2c/Xianshilibao", "type": "msg" }, { - "id": 243, + "id": 242, "name": "pata/Fight", "type": "api" }, { - "id": 244, + "id": 243, "name": "pata/GetPrize", "type": "api" }, { - "id": 245, + "id": 244, "name": "pata/Open", "type": "api" }, { - "id": 246, + "id": 245, "name": "pata/SaoDang", "type": "api" }, { - "id": 247, + "id": 246, "name": "pay/GetList", "type": "api" }, { - "id": 248, + "id": 247, "name": "peijian/GetList", "type": "api" }, { - "id": 249, + "id": 248, "name": "peijian/JingLian", "type": "api" }, { - "id": 250, + "id": 249, "name": "peijian/JinJie", "type": "api" }, { - "id": 251, + "id": 250, "name": "peijian/LvUp", "type": "api" }, { - "id": 252, + "id": 251, "name": "peijian/OneKeyLvUp", "type": "api" }, { - "id": 253, + "id": 252, "name": "peijian/OneKeyWear", "type": "api" }, { - "id": 254, + "id": 253, "name": "peijian/Reset", "type": "api" }, { - "id": 255, + "id": 254, "name": "peijian/Rm", "type": "api" }, { - "id": 256, + "id": 255, "name": "peijian/TakeOff", "type": "api", "conf": { @@ -3034,32 +3026,32 @@ export const serviceProto: ServiceProto = { } }, { - "id": 257, + "id": 256, "name": "peijian/UnLock", "type": "api" }, { - "id": 258, + "id": 257, "name": "peijian/Wear", "type": "api" }, { - "id": 259, + "id": 258, "name": "peijiancangku/Deal", "type": "api" }, { - "id": 260, + "id": 259, "name": "peijiancangku/Jump", "type": "api" }, { - "id": 261, + "id": 260, "name": "peijiancangku/Open", "type": "api" }, { - "id": 262, + "id": 261, "name": "Bingo", "type": "api", "conf": { @@ -3067,20 +3059,25 @@ export const serviceProto: ServiceProto = { } }, { - "id": 263, + "id": 262, "name": "FightTest", "type": "api" }, { - "id": 264, + "id": 263, "name": "SyncBtn", "type": "api" }, { - "id": 265, + "id": 264, "name": "Test", "type": "api" }, + { + "id": 265, + "name": "pushgift/Open", + "type": "api" + }, { "id": 266, "name": "qjzzd/Fight", @@ -10105,62 +10102,6 @@ export const serviceProto: ServiceProto = { } ] }, - "event/pobinglibao/PtlOpen/ReqOpen": { - "type": "Interface" - }, - "event/pobinglibao/PtlOpen/ResOpen": { - "type": "Interface", - "properties": [ - { - "id": 0, - "name": "record", - "type": { - "type": "Interface", - "indexSignature": { - "keyType": "String", - "type": { - "type": "Any" - } - } - } - }, - { - "id": 1, - "name": "buyLog", - "type": { - "type": "Interface", - "indexSignature": { - "keyType": "String", - "type": { - "type": "Any" - } - } - } - } - ] - }, - "event/pobinglibao/PtlReceive/ReqReceive": { - "type": "Interface", - "properties": [ - { - "id": 0, - "name": "id", - "type": { - "type": "String" - } - }, - { - "id": 1, - "name": "recId", - "type": { - "type": "String" - } - } - ] - }, - "event/pobinglibao/PtlReceive/ResReceive": { - "type": "Interface" - }, "event/qirichongzhi/PtlOpen/ReqOpen": { "type": "Interface" }, @@ -14931,13 +14872,6 @@ export const serviceProto: ServiceProto = { "type": "Literal", "literal": "zhoumolibao" } - }, - { - "id": 37, - "type": { - "type": "Literal", - "literal": "pobinglibao" - } } ] }, @@ -17971,6 +17905,10 @@ export const serviceProto: ServiceProto = { } } }, + "msg_s2c/MsgPushGiftChange/MsgPushGiftChange": { + "type": "Literal", + "literal": 1 + }, "msg_s2c/MsgSendGift/MsgSendGift": { "type": "Interface", "indexSignature": { @@ -19052,6 +18990,81 @@ export const serviceProto: ServiceProto = { "PtlTest/ResTest": { "type": "Any" }, + "pushgift/PtlOpen/ReqOpen": { + "type": "Interface" + }, + "pushgift/PtlOpen/ResOpen": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "gifts", + "type": { + "type": "Array", + "elementType": { + "type": "Reference", + "target": "../../module/collection_pushgift/Gift" + } + } + } + ] + }, + "../../module/collection_pushgift/Gift": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "id", + "type": { + "type": "String" + } + }, + { + "id": 1, + "name": "uid", + "type": { + "type": "String" + } + }, + { + "id": 2, + "name": "buy", + "type": { + "type": "Array", + "elementType": { + "type": "Number" + } + } + }, + { + "id": 3, + "name": "ctime", + "type": { + "type": "Number" + } + }, + { + "id": 4, + "name": "passTime", + "type": { + "type": "Number" + } + }, + { + "id": 5, + "name": "ext_data", + "type": { + "type": "Interface", + "indexSignature": { + "keyType": "String", + "type": { + "type": "Any" + } + } + } + } + ] + }, "qjzzd/PtlFight/ReqFight": { "type": "Interface" },