关闭protobuf
This commit is contained in:
+154
-154
@@ -1,174 +1,174 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
"chat.chatHandler.send": {
|
// "chat.chatHandler.send": {
|
||||||
"required string content": 1,
|
// "required string content": 1,
|
||||||
"required string target": 2,
|
// "required string target": 2,
|
||||||
"required string rid": 3,
|
// "required string rid": 3,
|
||||||
"required string from": 4,
|
// "required string from": 4,
|
||||||
},
|
// },
|
||||||
"chat.chatHandler.send2": {
|
// "chat.chatHandler.send2": {
|
||||||
"required string rid": 1,
|
// "required string rid": 1,
|
||||||
"required string content": 2,
|
// "required string content": 2,
|
||||||
"required string from": 3,
|
// "required string from": 3,
|
||||||
"required string target": 4
|
// "required string target": 4
|
||||||
},
|
// },
|
||||||
"role.equipHandler.composeEquip": {
|
// "role.equipHandler.composeEquip": {
|
||||||
"required uInt32 hid": 1,
|
// "required uInt32 hid": 1,
|
||||||
"required uInt32 ePlaceId": 2
|
// "required uInt32 ePlaceId": 2
|
||||||
},
|
// },
|
||||||
"role.equipHandler.decomposeEquip": {
|
// "role.equipHandler.decomposeEquip": {
|
||||||
"repeated uInt32 originalEquip": 1
|
// "repeated uInt32 originalEquip": 1
|
||||||
},
|
// },
|
||||||
"role.equipHandler.putOnOrOff": {
|
// "role.equipHandler.putOnOrOff": {
|
||||||
"required uInt32 eid": 1,
|
// "required uInt32 eid": 1,
|
||||||
"required uInt32 hid": 2,
|
// "required uInt32 hid": 2,
|
||||||
"required uInt32 type": 3
|
// "required uInt32 type": 3
|
||||||
},
|
// },
|
||||||
"role.equipHandler.strengthenAll": {
|
// "role.equipHandler.strengthenAll": {
|
||||||
"required uInt32 hid": 1,
|
// "required uInt32 hid": 1,
|
||||||
"required uInt32 lv": 2
|
// "required uInt32 lv": 2
|
||||||
},
|
// },
|
||||||
// "role.equipHandler.refine": {
|
// // "role.equipHandler.refine": {
|
||||||
// "message Material":{
|
// // "message Material":{
|
||||||
|
// // "required uInt32 id": 1,
|
||||||
|
// // "required uInt32 count": 2
|
||||||
|
// // },
|
||||||
|
// // "required uInt32 hid": 1,
|
||||||
|
// // "required uInt32 ePlaceId": 2,
|
||||||
|
// // "repeated Material material": 3
|
||||||
|
// // },
|
||||||
|
// "role.equipHandler.reStrengthen": {
|
||||||
|
// "required uInt32 eid": 1
|
||||||
|
// },
|
||||||
|
// "role.equipHandler.digHole": {
|
||||||
|
// "required uInt32 eid": 1,
|
||||||
|
// "required uInt32 id": 2
|
||||||
|
// },
|
||||||
|
// "role.equipHandler.fillHole": {
|
||||||
|
// "required uInt32 eid": 1,
|
||||||
|
// "required uInt32 id": 2,
|
||||||
|
// "required uInt32 jewel": 3
|
||||||
|
// },
|
||||||
|
// "role.equipHandler.composeJewel": {
|
||||||
|
// "message Consumes":{
|
||||||
|
// "required uInt32 id": 1,
|
||||||
|
// "required uInt32 count": 2
|
||||||
|
// },
|
||||||
|
// "required uInt32 jewel": 1,
|
||||||
|
// "required uInt32 count": 2,
|
||||||
|
// "required uInt32 type": 3,
|
||||||
|
// "repeated Consumes consumes": 4
|
||||||
|
// },
|
||||||
|
// "role.equipHandler.putOffHole": {
|
||||||
|
// "required uInt32 eid": 1,
|
||||||
|
// "required uInt32 id": 2
|
||||||
|
// },
|
||||||
|
// "role.equipHandler.composeAndPurchaseJewel": {
|
||||||
|
// "message Consumes":{
|
||||||
|
// "required uInt32 id": 1,
|
||||||
|
// "required uInt32 count": 2
|
||||||
|
// },
|
||||||
|
// "required uInt32 jewel": 1,
|
||||||
|
// "required uInt32 count": 2,
|
||||||
|
// "repeated Consumes consumes": 3,
|
||||||
|
// "repeated Consumes purchaseGoods": 4
|
||||||
|
// },
|
||||||
|
// "role.equipHandler.purchaseGoods": {
|
||||||
|
// "message PurchaseGoods": {
|
||||||
|
// "required uInt32 id": 1,
|
||||||
|
// "required uInt32 count": 2
|
||||||
|
// },
|
||||||
|
// "repeated PurchaseGoods purchaseGoods": 1
|
||||||
|
// },
|
||||||
|
// "role.equipHandler.composeNextLevelJewel": {
|
||||||
|
// "required uInt32 jewel": 1,
|
||||||
|
// "required uInt32 count": 2,
|
||||||
|
// "required uInt32 eid": 3,
|
||||||
|
// "required uInt32 id": 4
|
||||||
|
// },
|
||||||
|
|
||||||
|
// "role.heroHandler.compose": {
|
||||||
|
// "required uInt32 hid": 1
|
||||||
|
// },
|
||||||
|
// "role.heroHandler.lvUp": {
|
||||||
|
// "message Material": {
|
||||||
// "required uInt32 id": 1,
|
// "required uInt32 id": 1,
|
||||||
// "required uInt32 count": 2
|
// "required uInt32 count": 2
|
||||||
// },
|
// },
|
||||||
// "required uInt32 hid": 1,
|
// "required uInt32 hid": 1,
|
||||||
// "required uInt32 ePlaceId": 2,
|
// "required uInt32 type": 2,
|
||||||
// "repeated Material material": 3
|
// "repeated Material material": 3
|
||||||
// },
|
// },
|
||||||
"role.equipHandler.reStrengthen": {
|
// // "role.heroHandler.starUp": {
|
||||||
"required uInt32 eid": 1
|
// // "required uInt32 hid": 1,
|
||||||
},
|
// // "required uInt32 star": 2,
|
||||||
"role.equipHandler.digHole": {
|
// // "required uInt32 starStage": 3
|
||||||
"required uInt32 eid": 1,
|
// // },
|
||||||
"required uInt32 id": 2
|
// // "role.heroHandler.wakeUp": {
|
||||||
},
|
// // "required uInt32 hid": 1,
|
||||||
"role.equipHandler.fillHole": {
|
// // "required uInt32 colorStar": 2,
|
||||||
"required uInt32 eid": 1,
|
// // "required uInt32 colorStarStage": 3
|
||||||
"required uInt32 id": 2,
|
// // },
|
||||||
"required uInt32 jewel": 3
|
// "role.heroHandler.qualityUp": {
|
||||||
},
|
|
||||||
"role.equipHandler.composeJewel": {
|
|
||||||
"message Consumes":{
|
|
||||||
"required uInt32 id": 1,
|
|
||||||
"required uInt32 count": 2
|
|
||||||
},
|
|
||||||
"required uInt32 jewel": 1,
|
|
||||||
"required uInt32 count": 2,
|
|
||||||
"required uInt32 type": 3,
|
|
||||||
"repeated Consumes consumes": 4
|
|
||||||
},
|
|
||||||
"role.equipHandler.putOffHole": {
|
|
||||||
"required uInt32 eid": 1,
|
|
||||||
"required uInt32 id": 2
|
|
||||||
},
|
|
||||||
"role.equipHandler.composeAndPurchaseJewel": {
|
|
||||||
"message Consumes":{
|
|
||||||
"required uInt32 id": 1,
|
|
||||||
"required uInt32 count": 2
|
|
||||||
},
|
|
||||||
"required uInt32 jewel": 1,
|
|
||||||
"required uInt32 count": 2,
|
|
||||||
"repeated Consumes consumes": 3,
|
|
||||||
"repeated Consumes purchaseGoods": 4
|
|
||||||
},
|
|
||||||
"role.equipHandler.purchaseGoods": {
|
|
||||||
"message PurchaseGoods": {
|
|
||||||
"required uInt32 id": 1,
|
|
||||||
"required uInt32 count": 2
|
|
||||||
},
|
|
||||||
"repeated PurchaseGoods purchaseGoods": 1
|
|
||||||
},
|
|
||||||
"role.equipHandler.composeNextLevelJewel": {
|
|
||||||
"required uInt32 jewel": 1,
|
|
||||||
"required uInt32 count": 2,
|
|
||||||
"required uInt32 eid": 3,
|
|
||||||
"required uInt32 id": 4
|
|
||||||
},
|
|
||||||
|
|
||||||
"role.heroHandler.compose": {
|
|
||||||
"required uInt32 hid": 1
|
|
||||||
},
|
|
||||||
"role.heroHandler.lvUp": {
|
|
||||||
"message Material": {
|
|
||||||
"required uInt32 id": 1,
|
|
||||||
"required uInt32 count": 2
|
|
||||||
},
|
|
||||||
"required uInt32 hid": 1,
|
|
||||||
"required uInt32 type": 2,
|
|
||||||
"repeated Material material": 3
|
|
||||||
},
|
|
||||||
// "role.heroHandler.starUp": {
|
|
||||||
// "required uInt32 hid": 1,
|
// "required uInt32 hid": 1,
|
||||||
// "required uInt32 star": 2,
|
// "required uInt32 quality": 2
|
||||||
// "required uInt32 starStage": 3
|
|
||||||
// },
|
// },
|
||||||
// "role.heroHandler.wakeUp": {
|
// // "role.heroHandler.heroJobTrain": {
|
||||||
// "required uInt32 hid": 1,
|
// // "required uInt32 hid": 1
|
||||||
// "required uInt32 colorStar": 2,
|
// // },
|
||||||
// "required uInt32 colorStarStage": 3
|
// "role.heroHandler.heroJobStageUp": {
|
||||||
// },
|
|
||||||
"role.heroHandler.qualityUp": {
|
|
||||||
"required uInt32 hid": 1,
|
|
||||||
"required uInt32 quality": 2
|
|
||||||
},
|
|
||||||
// "role.heroHandler.heroJobTrain": {
|
|
||||||
// "required uInt32 hid": 1
|
// "required uInt32 hid": 1
|
||||||
// },
|
// },
|
||||||
"role.heroHandler.heroJobStageUp": {
|
// "role.heroHandler.heroConectionActivate": {
|
||||||
"required uInt32 hid": 1
|
// "required uInt32 shipId": 1
|
||||||
},
|
// },
|
||||||
"role.heroHandler.heroConectionActivate": {
|
|
||||||
"required uInt32 shipId": 1
|
|
||||||
},
|
|
||||||
// "role.heroHandler.heroGiveFavor": {
|
// "role.heroHandler.heroGiveFavor": {
|
||||||
// "required uInt32 hid": 1,
|
// "required uInt32 hid": 1,
|
||||||
// "required uInt32 type": 2,
|
// "required uInt32 type": 2,
|
||||||
// },
|
// },
|
||||||
"role.heroHandler.heroWearSkin": {
|
// "role.heroHandler.heroWearSkin": {
|
||||||
"required uInt32 id": 1
|
// "required uInt32 id": 1
|
||||||
},
|
|
||||||
"role.heroHandler.changeSchoolHero": {
|
|
||||||
"required uInt32 schoolId": 1,
|
|
||||||
"required uInt32 positionId": 2,
|
|
||||||
"required uInt32 hid": 3
|
|
||||||
},
|
|
||||||
"role.heroHandler.unlockSchoolPosition": {
|
|
||||||
"required uInt32 schoolId": 1,
|
|
||||||
"required uInt32 positionId": 2
|
|
||||||
},
|
|
||||||
"role.heroHandler.activeHeroScroll": {
|
|
||||||
"required uInt32 hid": 1
|
|
||||||
},
|
|
||||||
"role.heroHandler.roleTeraphStrengthen": {
|
|
||||||
"required uInt32 id": 1,
|
|
||||||
"required uInt32 count": 2
|
|
||||||
},
|
|
||||||
"role.heroHandler.roleTeraphQualityUp": {
|
|
||||||
"required uInt32 id": 1
|
|
||||||
},
|
|
||||||
// "role.roleHandler.initRole": {
|
|
||||||
// "required string roleName": 1
|
|
||||||
// },
|
// },
|
||||||
// "battle.normalBattleHandler.getBattleList": {
|
// "role.heroHandler.changeSchoolHero": {
|
||||||
// "repeated uInt32 types": 1
|
// "required uInt32 schoolId": 1,
|
||||||
|
// "required uInt32 positionId": 2,
|
||||||
|
// "required uInt32 hid": 3
|
||||||
// },
|
// },
|
||||||
// "battle.normalBattleHandler.checkBattle": {
|
// "role.heroHandler.unlockSchoolPosition": {
|
||||||
// "required uInt32 battleId": 1,
|
// "required uInt32 schoolId": 1,
|
||||||
// "repeated uInt32 heroes": 2
|
// "required uInt32 positionId": 2
|
||||||
// },
|
// },
|
||||||
// "battle.normalBattleHandler.battleEnd": {
|
// "role.heroHandler.activeHeroScroll": {
|
||||||
// "required uInt32 battleId": 1,
|
// "required uInt32 hid": 1
|
||||||
// "required string battleCode": 2,
|
|
||||||
// "required uInt32 isSuccess": 3,
|
|
||||||
// "repeated uInt32 heroes": 4,
|
|
||||||
// "repeated uInt32 stars": 5
|
|
||||||
// },
|
// },
|
||||||
"battle.dungeonBattleHandler.buyNum": {
|
// "role.heroHandler.roleTeraphStrengthen": {
|
||||||
"required uInt32 count": 1
|
// "required uInt32 id": 1,
|
||||||
},
|
// "required uInt32 count": 2
|
||||||
"battle.dailyBattleHandler.buyNum": {
|
// },
|
||||||
"required uInt32 type": 1,
|
// "role.heroHandler.roleTeraphQualityUp": {
|
||||||
"required uInt32 count": 2
|
// "required uInt32 id": 1
|
||||||
}
|
// },
|
||||||
|
// // "role.roleHandler.initRole": {
|
||||||
|
// // "required string roleName": 1
|
||||||
|
// // },
|
||||||
|
// // "battle.normalBattleHandler.getBattleList": {
|
||||||
|
// // "repeated uInt32 types": 1
|
||||||
|
// // },
|
||||||
|
// // "battle.normalBattleHandler.checkBattle": {
|
||||||
|
// // "required uInt32 battleId": 1,
|
||||||
|
// // "repeated uInt32 heroes": 2
|
||||||
|
// // },
|
||||||
|
// // "battle.normalBattleHandler.battleEnd": {
|
||||||
|
// // "required uInt32 battleId": 1,
|
||||||
|
// // "required string battleCode": 2,
|
||||||
|
// // "required uInt32 isSuccess": 3,
|
||||||
|
// // "repeated uInt32 heroes": 4,
|
||||||
|
// // "repeated uInt32 stars": 5
|
||||||
|
// // },
|
||||||
|
// "battle.dungeonBattleHandler.buyNum": {
|
||||||
|
// "required uInt32 count": 1
|
||||||
|
// },
|
||||||
|
// "battle.dailyBattleHandler.buyNum": {
|
||||||
|
// "required uInt32 type": 1,
|
||||||
|
// "required uInt32 count": 2
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
@@ -45,25 +45,25 @@ module.exports = {
|
|||||||
// 'required uInt32 code': 2,
|
// 'required uInt32 code': 2,
|
||||||
// 'optional Data data': 3
|
// 'optional Data data': 3
|
||||||
// },
|
// },
|
||||||
'onChat': {
|
// 'onChat': {
|
||||||
'required string msg': 1,
|
// 'required string msg': 1,
|
||||||
'required string from': 2,
|
// 'required string from': 2,
|
||||||
'required string target': 3
|
// 'required string target': 3
|
||||||
},
|
// },
|
||||||
'onItemUpdate': {
|
// 'onItemUpdate': {
|
||||||
'message Data': {
|
// 'message Data': {
|
||||||
"message Good": {
|
// "message Good": {
|
||||||
'required uInt32 id': 1,
|
// 'required uInt32 id': 1,
|
||||||
'required uInt32 count': 2,
|
// 'required uInt32 count': 2,
|
||||||
'required uInt32 reason': 3,
|
// 'required uInt32 reason': 3,
|
||||||
'required sInt32 inc': 4,
|
// 'required sInt32 inc': 4,
|
||||||
},
|
// },
|
||||||
'repeated Good goods': 1,
|
// 'repeated Good goods': 1,
|
||||||
},
|
// },
|
||||||
'required string msg': 1,
|
// 'required string msg': 1,
|
||||||
'required uInt32 code': 2,
|
// 'required uInt32 code': 2,
|
||||||
'required Data data': 3
|
// 'required Data data': 3
|
||||||
},
|
// },
|
||||||
// 'onPlayerCeUpdate': {
|
// 'onPlayerCeUpdate': {
|
||||||
// 'message Data': {
|
// 'message Data': {
|
||||||
// "message Hero": {
|
// "message Hero": {
|
||||||
@@ -79,20 +79,20 @@ module.exports = {
|
|||||||
// 'required uInt32 code': 2,
|
// 'required uInt32 code': 2,
|
||||||
// 'required Data data': 3
|
// 'required Data data': 3
|
||||||
// },
|
// },
|
||||||
'onPlayerDataChange': {
|
// 'onPlayerDataChange': {
|
||||||
'message Data': {
|
// 'message Data': {
|
||||||
'optional uInt32 coin': 1,
|
// 'optional uInt32 coin': 1,
|
||||||
'optional uInt32 giftGold': 2,
|
// 'optional uInt32 giftGold': 2,
|
||||||
'optional uInt32 gold': 3,
|
// 'optional uInt32 gold': 3,
|
||||||
'optional uInt32 ap': 4,
|
// 'optional uInt32 ap': 4,
|
||||||
'optional uInt32 totalPay': 5,
|
// 'optional uInt32 totalPay': 5,
|
||||||
'optional uInt32 totalCost': 6,
|
// 'optional uInt32 totalCost': 6,
|
||||||
'optional string roleName': 7,
|
// 'optional string roleName': 7,
|
||||||
},
|
// },
|
||||||
'required string msg': 1,
|
// 'required string msg': 1,
|
||||||
'required uInt32 code': 2,
|
// 'required uInt32 code': 2,
|
||||||
'required Data data': 3
|
// 'required Data data': 3
|
||||||
},
|
// },
|
||||||
// "onPushCurrentTime": {
|
// "onPushCurrentTime": {
|
||||||
// "message Data": {
|
// "message Data": {
|
||||||
// "required uInt32": 1
|
// "required uInt32": 1
|
||||||
|
|||||||
Reference in New Issue
Block a user