174 lines
5.9 KiB
TypeScript
174 lines
5.9 KiB
TypeScript
module.exports = {
|
|
// "battle.normalBattleHandler.getBattleList": {
|
|
// 'message Data': {
|
|
// 'message BattleList': {
|
|
// 'required uInt32 battleId': 1,
|
|
// 'required uInt32 status': 2,
|
|
// 'required uInt32 star': 3,
|
|
// 'repeated uInt32 stars': 4,
|
|
// 'optional string scriptBefore': 5,
|
|
// 'optional string scriptAfter': 6,
|
|
// },
|
|
// 'repeated BattleList list': 1
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'required Data data': 3
|
|
// },
|
|
// "battle.normalBattleHandler.checkBattle": {
|
|
// 'message Data': {
|
|
// "optional uInt32 battleId": 1,
|
|
// "optional string battleCode": 2,
|
|
// "optional uInt32 status": 3,
|
|
// "message DailyNum": {
|
|
// "optional uInt32 type": 1,
|
|
// "optional uInt32 count": 2,
|
|
// "optional uInt32 buyCount": 3
|
|
// },
|
|
// "optional DailyNum dailyNum": 4,
|
|
// "message TowerData": {
|
|
// "repeated uInt32 heroes": 1,
|
|
// "message WarStatus": {
|
|
// "required uInt32 warId": 1,
|
|
// "required boolean status": 2
|
|
// },
|
|
// "optional WarStatus warStatus": 2
|
|
// },
|
|
// "optional TowerData towerData": 5,
|
|
// "message DungeonNum": {
|
|
// "optional uInt32 battleCount": 1,
|
|
// "optional uInt32 buyCount": 2
|
|
// },
|
|
// "optional DungeonNum dungeonNum": 6
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'optional Data data': 3
|
|
// },
|
|
'onChat': {
|
|
'required string msg': 1,
|
|
'required string from': 2,
|
|
'required string target': 3
|
|
},
|
|
'onItemUpdate': {
|
|
'message Data': {
|
|
"message Good": {
|
|
'required uInt32 id': 1,
|
|
'required uInt32 count': 2,
|
|
'required uInt32 reason': 3,
|
|
'required sInt32 inc': 4,
|
|
},
|
|
'repeated Good goods': 1,
|
|
},
|
|
'required string msg': 1,
|
|
'required uInt32 code': 2,
|
|
'required Data data': 3
|
|
},
|
|
// 'onPlayerCeUpdate': {
|
|
// 'message Data': {
|
|
// "message Hero": {
|
|
// 'required uInt32 hid': 1,
|
|
// 'required uInt32 ce': 2,
|
|
// 'required sInt32 incHeroCe': 3,
|
|
// },
|
|
// 'required sInt32 ce': 1,
|
|
// 'repeated Hero heros': 2,
|
|
// 'required uInt32 topLineupCe': 3
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'required Data data': 3
|
|
// },
|
|
'onPlayerDataChange': {
|
|
'message Data': {
|
|
'optional uInt32 coin': 1,
|
|
'optional uInt32 giftGold': 2,
|
|
'optional uInt32 gold': 3,
|
|
'optional uInt32 ap': 4,
|
|
'optional uInt32 totalPay': 5,
|
|
'optional uInt32 totalCost': 6,
|
|
'optional string roleName': 7,
|
|
},
|
|
'required string msg': 1,
|
|
'required uInt32 code': 2,
|
|
'required Data data': 3
|
|
},
|
|
// "onPushCurrentTime": {
|
|
// "message Data": {
|
|
// "required uInt32": 1
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'required Data data': 3
|
|
// },
|
|
// 'onHeroSkinChange': {
|
|
// 'message Data': {
|
|
// "message SkinInfo": {
|
|
// "message Skin": {
|
|
// 'required uInt32 id': 1,
|
|
// 'required boolean enable': 2
|
|
// },
|
|
// 'repeated Skin skins': 1,
|
|
// },
|
|
// 'repeated SkinInfo skinInfos': 1
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'required Data data': 3
|
|
// },
|
|
// 'onJewelAdd': {
|
|
// 'message Data': {
|
|
// "message EquipInfo": {
|
|
// "message RandSe": {
|
|
// 'required uInt32 id': 1,
|
|
// 'required uInt32 seid': 2,
|
|
// 'required int32 rand': 3,
|
|
// 'required boolean locked': 4
|
|
// },
|
|
// "message Hole": {
|
|
// 'required uInt32 id': 1,
|
|
// 'required boolean isOpen': 2,
|
|
// 'required uInt32 jewel': 3
|
|
// },
|
|
// 'repeated Hole holes': 1,
|
|
// 'repeated RandSe randSe': 2,
|
|
// 'required uInt32 seqId': 3,
|
|
// 'required uInt32 id': 4,
|
|
// 'required uInt32 hid': 6,
|
|
// 'required uInt32 count': 7,
|
|
// 'required uInt32 quality': 8,
|
|
// 'required uInt32 ePlaceId': 9,
|
|
// 'required uInt32 suitId': 11,
|
|
// 'required int32 randRange': 12
|
|
// },
|
|
// 'repeated EquipInfo equipInfos': 1
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'required Data data': 3
|
|
// },
|
|
// 'onJewelDel': {
|
|
// 'message Data': {
|
|
// 'repeated uInt32 equips': 1
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'required Data data': 3
|
|
// },
|
|
// 'onHeadChange': {
|
|
// 'message Data': {
|
|
// "message FigureInfo": {
|
|
// 'required int32 id': 1,
|
|
// 'required bool enable': 2,
|
|
// 'optional int32 time': 3
|
|
// },
|
|
// 'repeated FigureInfo heads': 1,
|
|
// 'repeated FigureInfo frames': 2,
|
|
// 'repeated FigureInfo spines': 3
|
|
// },
|
|
// 'required string msg': 1,
|
|
// 'required uInt32 code': 2,
|
|
// 'required Data data': 3
|
|
// }
|
|
};
|