captainbattle 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/CallID.d.ts +21 -13
- package/dist/core/CallID.js +23 -13
- package/dist/core/ListenID.d.ts +551 -501
- package/dist/core/ListenID.js +552 -501
- package/dist/core/config/BadgeCfg.d.ts +18 -4
- package/dist/core/config/BadgeCfg.js +20 -6
- package/dist/core/config/BattlePassCfg.d.ts +1 -1
- package/dist/core/config/BuffCfg.d.ts +7 -1
- package/dist/core/config/BuffCfg.js +6 -0
- package/dist/core/config/Cfg.d.ts +36 -4
- package/dist/core/config/Cfg.js +46 -6
- package/dist/core/config/ChatLogCfg.d.ts +18 -0
- package/dist/core/config/ChatLogCfg.js +17 -0
- package/dist/core/config/Const.d.ts +2 -1
- package/dist/core/config/Const.js +1 -0
- package/dist/core/config/ConstConfigCfg.d.ts +2 -0
- package/dist/core/config/ConstConfigCfg.js +2 -0
- package/dist/core/config/DragonPathCfg.d.ts +1 -1
- package/dist/core/config/EmailCfg.d.ts +5 -3
- package/dist/core/config/EmailCfg.js +7 -5
- package/dist/core/config/EndlessConfigCfg.d.ts +1 -0
- package/dist/core/config/EndlessConfigCfg.js +1 -0
- package/dist/core/config/EnemyGridCfg.d.ts +1 -1
- package/dist/core/config/FormationCfg.d.ts +1 -1
- package/dist/core/config/FuncDescCfg.d.ts +4 -0
- package/dist/core/config/FuncDescCfg.js +4 -0
- package/dist/core/config/GemCfg.d.ts +1 -1
- package/dist/core/config/GuildBossWaveCfg.d.ts +1 -0
- package/dist/core/config/GuildIslandBuildCfg.d.ts +2 -1
- package/dist/core/config/GuildIslandTaskCfg.d.ts +13 -0
- package/dist/core/config/GuildIslandTaskCfg.js +8 -0
- package/dist/core/config/ItemsCfg.d.ts +1 -1
- package/dist/core/config/PetCfg.d.ts +1 -1
- package/dist/core/config/PetConfigCfg.d.ts +7 -0
- package/dist/core/config/PetConfigCfg.js +7 -0
- package/dist/core/config/PetSkillCfg.d.ts +1 -0
- package/dist/core/config/PetSlotLvCfg.d.ts +1 -0
- package/dist/core/config/PrivilegeCfg.d.ts +1 -0
- package/dist/core/config/PrivilegeCfg.js +1 -0
- package/dist/core/config/RankListCfg.d.ts +10 -0
- package/dist/core/config/RankListCfg.js +8 -0
- package/dist/core/config/RelicDungeonConfigCfg.d.ts +0 -1
- package/dist/core/config/RelicDungeonConfigCfg.js +0 -1
- package/dist/core/config/RelicDungeonGrowCfg.d.ts +5 -0
- package/dist/core/config/RobotConfigCfg.d.ts +7 -6
- package/dist/core/config/RuleDescCfg.d.ts +6 -2
- package/dist/core/config/RuleDescCfg.js +9 -5
- package/dist/core/config/SeaArenaConfigCfg.d.ts +2 -1
- package/dist/core/config/SeaArenaConfigCfg.js +1 -0
- package/dist/core/config/SprintActivityConfigCfg.d.ts +12 -0
- package/dist/core/config/SprintActivityConfigCfg.js +12 -0
- package/dist/core/config/SprintActivityRankRewardCfg.d.ts +3 -1
- package/dist/core/config/StageCfg.d.ts +2 -0
- package/dist/core/config/TreasureMatchConfigCfg.d.ts +19 -0
- package/dist/core/config/TreasureMatchConfigCfg.js +16 -0
- package/dist/core/config/TreasureMatchIconCfg.d.ts +12 -0
- package/dist/core/config/TreasureMatchIconCfg.js +8 -0
- package/dist/core/config/TreasureMatchRankRewardCfg.d.ts +10 -0
- package/dist/core/config/TreasureMatchRankRewardCfg.js +8 -0
- package/dist/core/config/VehicleUpgradeAttrCfg.d.ts +10 -0
- package/dist/core/config/VehicleUpgradeAttrCfg.js +8 -0
- package/dist/core/config/VehicleUpgradeConfigCfg.d.ts +16 -0
- package/dist/core/config/VehicleUpgradeConfigCfg.js +13 -0
- package/dist/core/config/VehicleUpgradeLevelCfg.d.ts +13 -0
- package/dist/core/config/VehicleUpgradeLevelCfg.js +8 -0
- package/dist/core/framework/Time.d.ts +1 -0
- package/dist/core/framework/Time.js +1 -0
- package/dist/core/module/arena/ArenaBattleModule.d.ts +3 -0
- package/dist/core/module/arena/ArenaBattleModule.js +14 -2
- package/dist/core/module/battle/Game.d.ts +13 -3
- package/dist/core/module/battle/Game.js +36 -6
- package/dist/core/module/battle/IGameModule.d.ts +1 -0
- package/dist/core/module/battle/IGameModule.js +7 -3
- package/dist/core/module/battle/battle.interface.d.ts +17 -1
- package/dist/core/module/battle/battle.interface.js +3 -0
- package/dist/core/module/battle/buff/buffitem/BossCloneBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/BossCloneBuff.js +89 -0
- package/dist/core/module/battle/buff/buffitem/BossPetrifyBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BossPetrifyBuff.js +60 -0
- package/dist/core/module/battle/buff/buffitem/BossReinforcementBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/BossReinforcementBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/ForceDizzinessBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/ForceDizzinessBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneForceDizziness.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneForceDizziness.js +18 -0
- package/dist/core/module/battle/buff/buffitem/PosionBuff.js +8 -2
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.d.ts +1 -1
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.js +4 -3
- package/dist/core/module/battle/buff/buffitem/SprintBuff.js +40 -17
- package/dist/core/module/battle/buff/buffitem/VenomBurstBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/VenomBurstBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/index.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/index.js +7 -1
- package/dist/core/module/battle/entity/FighterData.js +5 -1
- package/dist/core/module/battle/event/EntityEvent.d.ts +2 -0
- package/dist/core/module/battle/event/EntityEvent.js +2 -0
- package/dist/core/module/battle/factory/FighterFactory.js +17 -5
- package/dist/core/module/battle/fsm-state/Boss38210State.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/Boss38210State.js +30 -0
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.d.ts +2 -1
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.js +4 -2
- package/dist/core/module/battle/fsm-state/TurnState.js +4 -4
- package/dist/core/module/battle/fsm-state/TurnTransitions.js +4 -4
- package/dist/core/module/battle/fsm-state/index.d.ts +1 -0
- package/dist/core/module/battle/fsm-state/index.js +2 -1
- package/dist/core/module/battle/manager/EntityManager.js +7 -3
- package/dist/core/module/battle/skill/emitter/SkillTargetHorRandomEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillTargetHorRandomEmitter.js +62 -0
- package/dist/core/module/battle/skill/emitter/index.d.ts +1 -0
- package/dist/core/module/battle/skill/emitter/index.js +2 -1
- package/dist/core/module/battle/skill/impacts/Impact101.js +1 -0
- package/dist/core/module/battle/skill/impacts/Impact3.js +2 -1
- package/dist/core/module/battle/skill/impacts/Impact5.js +5 -1
- package/dist/core/module/battle/system/BornSystem.js +4 -0
- package/dist/core/module/battle/system/BuffSystem.js +9 -3
- package/dist/core/module/battle/system/SkillSystem.js +1 -1
- package/dist/core/module/battle/system/TurnPhaseSystem.js +1 -1
- package/dist/core/module/battle/target/RandomPosSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RandomPosSelection.js +61 -0
- package/dist/core/module/battle/target/index.d.ts +1 -0
- package/dist/core/module/battle/target/index.js +2 -1
- package/dist/core/module/battle/turn/TurnBattleGame.d.ts +11 -3
- package/dist/core/module/battle/turn/TurnBattleGame.js +53 -12
- package/dist/core/module/battle/turn/TurnBattleModule.js +2 -2
- package/dist/core/module/battle/turn/TurnBattleTypes.d.ts +1 -6
- package/dist/core/module/battle/turn/TurnBattleTypes.js +1 -4
- package/dist/core/module/battle/util/BattleConfig.js +2 -2
- package/dist/core/module/battle/util/BattleUtils.d.ts +7 -1
- package/dist/core/module/battle/util/BattleUtils.js +67 -33
- package/dist/core/module/guild/island/battle/GuildIsLandBattleModule.d.ts +11 -0
- package/dist/core/module/guild/island/battle/GuildIsLandBattleModule.js +44 -0
- package/dist/core/module/guild/island/battle/index.d.ts +1 -0
- package/dist/core/module/guild/island/battle/index.js +13 -0
- package/dist/core/module/guild/view/boss/GuildBossBattleModule.js +1 -0
- package/dist/core/module/module.interface.d.ts +24 -0
- package/dist/core/module/module.interface.js +3 -0
- package/dist/core/module/property/Property.d.ts +2 -1
- package/dist/core/module/property/Property.js +8 -7
- package/dist/core/module/property/PropertyUtil.d.ts +17 -0
- package/dist/core/module/property/PropertyUtil.js +75 -1
- package/dist/core/module/relicDungeon/RelicBattleModule.d.ts +18 -0
- package/dist/core/module/relicDungeon/RelicBattleModule.js +148 -5
- package/dist/core/proto/CommonProto.d.ts +8740 -4068
- package/dist/core/proto/Proto.d.ts +129 -39
- package/dist/index.d.ts +47 -4
- package/dist/index.js +69 -12
- package/dist/register-all.d.ts +1 -0
- package/dist/register-all.js +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as CommonProto from "./CommonProto";
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
|
-
namespace SystemProto
|
|
4
|
+
namespace SystemProto{
|
|
5
5
|
export import IS_ERROR = CommonProto.SystemPto.IS_ERROR;
|
|
6
6
|
export import S_ERROR = CommonProto.SystemPto.S_ERROR;
|
|
7
7
|
export import IC_HEART_BEAT = CommonProto.SystemPto.IC_HEART_BEAT;
|
|
@@ -16,7 +16,7 @@ declare global {
|
|
|
16
16
|
export import S_MARQUEE = CommonProto.SystemPto.S_MARQUEE;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
namespace ServerProto
|
|
19
|
+
namespace ServerProto{
|
|
20
20
|
export import IS_CONNECT = CommonProto.ServerPto.IS_CONNECT;
|
|
21
21
|
export import S_CONNECT = CommonProto.ServerPto.S_CONNECT;
|
|
22
22
|
export import IC_SWITCH_SERVER = CommonProto.ServerPto.IC_SWITCH_SERVER;
|
|
@@ -33,7 +33,7 @@ declare global {
|
|
|
33
33
|
export import ServerInfo = CommonProto.ServerPto.ServerInfo;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
namespace PlayerProto
|
|
36
|
+
namespace PlayerProto{
|
|
37
37
|
export import IC_GET_PLAYER_INFO = CommonProto.PlayerPto.IC_GET_PLAYER_INFO;
|
|
38
38
|
export import C_GET_PLAYER_INFO = CommonProto.PlayerPto.C_GET_PLAYER_INFO;
|
|
39
39
|
export import IS_GET_PLAYER_INFO = CommonProto.PlayerPto.IS_GET_PLAYER_INFO;
|
|
@@ -74,6 +74,10 @@ declare global {
|
|
|
74
74
|
export import C_CLAIM_INVITE_REWARD = CommonProto.PlayerPto.C_CLAIM_INVITE_REWARD;
|
|
75
75
|
export import IS_CLAIM_INVITE_REWARD = CommonProto.PlayerPto.IS_CLAIM_INVITE_REWARD;
|
|
76
76
|
export import S_CLAIM_INVITE_REWARD = CommonProto.PlayerPto.S_CLAIM_INVITE_REWARD;
|
|
77
|
+
export import IC_GET_BATTLE_PLAYER = CommonProto.PlayerPto.IC_GET_BATTLE_PLAYER;
|
|
78
|
+
export import C_GET_BATTLE_PLAYER = CommonProto.PlayerPto.C_GET_BATTLE_PLAYER;
|
|
79
|
+
export import IS_GET_BATTLE_PLAYER = CommonProto.PlayerPto.IS_GET_BATTLE_PLAYER;
|
|
80
|
+
export import S_GET_BATTLE_PLAYER = CommonProto.PlayerPto.S_GET_BATTLE_PLAYER;
|
|
77
81
|
export import ILoginInfo = CommonProto.PlayerPto.ILoginInfo;
|
|
78
82
|
export import LoginInfo = CommonProto.PlayerPto.LoginInfo;
|
|
79
83
|
export import IPlayerInfo = CommonProto.PlayerPto.IPlayerInfo;
|
|
@@ -86,7 +90,7 @@ declare global {
|
|
|
86
90
|
export import DictionarySaveInfo = CommonProto.PlayerPto.DictionarySaveInfo;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
|
-
namespace ItemProto
|
|
93
|
+
namespace ItemProto{
|
|
90
94
|
export import IC_GET_ITEMS_INFO = CommonProto.ItemPto.IC_GET_ITEMS_INFO;
|
|
91
95
|
export import C_GET_ITEMS_INFO = CommonProto.ItemPto.C_GET_ITEMS_INFO;
|
|
92
96
|
export import IS_GET_ITEMS_INFO = CommonProto.ItemPto.IS_GET_ITEMS_INFO;
|
|
@@ -111,7 +115,7 @@ declare global {
|
|
|
111
115
|
export import Item = CommonProto.ItemPto.Item;
|
|
112
116
|
}
|
|
113
117
|
|
|
114
|
-
namespace EquipProto
|
|
118
|
+
namespace EquipProto{
|
|
115
119
|
export import IC_EQUIP_INFO = CommonProto.EquipPto.IC_EQUIP_INFO;
|
|
116
120
|
export import C_EQUIP_INFO = CommonProto.EquipPto.C_EQUIP_INFO;
|
|
117
121
|
export import IS_EQUIP_INFO = CommonProto.EquipPto.IS_EQUIP_INFO;
|
|
@@ -173,7 +177,7 @@ declare global {
|
|
|
173
177
|
export import EquipPartEnum = CommonProto.EquipPto.EquipPartEnum;
|
|
174
178
|
}
|
|
175
179
|
|
|
176
|
-
namespace RelicProto
|
|
180
|
+
namespace RelicProto{
|
|
177
181
|
export import IC_GET_INFO = CommonProto.RelicPto.IC_GET_INFO;
|
|
178
182
|
export import C_GET_INFO = CommonProto.RelicPto.C_GET_INFO;
|
|
179
183
|
export import IS_RELIC_INFO = CommonProto.RelicPto.IS_RELIC_INFO;
|
|
@@ -213,7 +217,7 @@ declare global {
|
|
|
213
217
|
export import RelicPartEnum = CommonProto.RelicPto.RelicPartEnum;
|
|
214
218
|
}
|
|
215
219
|
|
|
216
|
-
namespace TurretProto
|
|
220
|
+
namespace TurretProto{
|
|
217
221
|
export import IC_GET_INFO = CommonProto.TurretPto.IC_GET_INFO;
|
|
218
222
|
export import C_GET_INFO = CommonProto.TurretPto.C_GET_INFO;
|
|
219
223
|
export import IS_TURRET_INFO = CommonProto.TurretPto.IS_TURRET_INFO;
|
|
@@ -236,7 +240,7 @@ declare global {
|
|
|
236
240
|
export import TurretDrawInfo = CommonProto.TurretPto.TurretDrawInfo;
|
|
237
241
|
}
|
|
238
242
|
|
|
239
|
-
namespace TurretModProto
|
|
243
|
+
namespace TurretModProto{
|
|
240
244
|
export import IS_NEW_TURRETMOD = CommonProto.TurretModPto.IS_NEW_TURRETMOD;
|
|
241
245
|
export import S_NEW_TURRETMOD = CommonProto.TurretModPto.S_NEW_TURRETMOD;
|
|
242
246
|
export import IC_GET_INFO = CommonProto.TurretModPto.IC_GET_INFO;
|
|
@@ -271,7 +275,7 @@ declare global {
|
|
|
271
275
|
export import TurretModInfo = CommonProto.TurretModPto.TurretModInfo;
|
|
272
276
|
}
|
|
273
277
|
|
|
274
|
-
namespace SkinProto
|
|
278
|
+
namespace SkinProto{
|
|
275
279
|
export import IC_GET_SKIN_INFO = CommonProto.SkinPto.IC_GET_SKIN_INFO;
|
|
276
280
|
export import C_GET_SKIN_INFO = CommonProto.SkinPto.C_GET_SKIN_INFO;
|
|
277
281
|
export import IS_SKIN_INFO = CommonProto.SkinPto.IS_SKIN_INFO;
|
|
@@ -298,7 +302,7 @@ declare global {
|
|
|
298
302
|
export import Skin = CommonProto.SkinPto.Skin;
|
|
299
303
|
}
|
|
300
304
|
|
|
301
|
-
namespace DecorationProto
|
|
305
|
+
namespace DecorationProto{
|
|
302
306
|
export import IC_GET_DECORATION_INFO = CommonProto.DecorationPto.IC_GET_DECORATION_INFO;
|
|
303
307
|
export import C_GET_DECORATION_INFO = CommonProto.DecorationPto.C_GET_DECORATION_INFO;
|
|
304
308
|
export import IS_GET_DECORATION_INFO = CommonProto.DecorationPto.IS_GET_DECORATION_INFO;
|
|
@@ -323,7 +327,7 @@ declare global {
|
|
|
323
327
|
export import DecorationItem = CommonProto.DecorationPto.DecorationItem;
|
|
324
328
|
}
|
|
325
329
|
|
|
326
|
-
namespace VehicleProto
|
|
330
|
+
namespace VehicleProto{
|
|
327
331
|
export import IC_GET_PURIFY_INFO = CommonProto.VehiclePto.IC_GET_PURIFY_INFO;
|
|
328
332
|
export import C_GET_PURIFY_INFO = CommonProto.VehiclePto.C_GET_PURIFY_INFO;
|
|
329
333
|
export import IS_PURIFY_INFO = CommonProto.VehiclePto.IS_PURIFY_INFO;
|
|
@@ -354,7 +358,7 @@ declare global {
|
|
|
354
358
|
export import AffixItem = CommonProto.VehiclePto.AffixItem;
|
|
355
359
|
}
|
|
356
360
|
|
|
357
|
-
namespace PetProto
|
|
361
|
+
namespace PetProto{
|
|
358
362
|
export import IS_NEW_PET = CommonProto.PetPto.IS_NEW_PET;
|
|
359
363
|
export import S_NEW_PET = CommonProto.PetPto.S_NEW_PET;
|
|
360
364
|
export import IC_GET_INFO = CommonProto.PetPto.IC_GET_INFO;
|
|
@@ -373,13 +377,23 @@ declare global {
|
|
|
373
377
|
export import C_PET_UPSTAR = CommonProto.PetPto.C_PET_UPSTAR;
|
|
374
378
|
export import IS_PET_UPSTAR = CommonProto.PetPto.IS_PET_UPSTAR;
|
|
375
379
|
export import S_PET_UPSTAR = CommonProto.PetPto.S_PET_UPSTAR;
|
|
380
|
+
export import IC_DRAW_INFO = CommonProto.PetPto.IC_DRAW_INFO;
|
|
381
|
+
export import C_DRAW_INFO = CommonProto.PetPto.C_DRAW_INFO;
|
|
382
|
+
export import IS_DRAW_INFO = CommonProto.PetPto.IS_DRAW_INFO;
|
|
383
|
+
export import S_DRAW_INFO = CommonProto.PetPto.S_DRAW_INFO;
|
|
384
|
+
export import IC_PET_DRAW = CommonProto.PetPto.IC_PET_DRAW;
|
|
385
|
+
export import C_PET_DRAW = CommonProto.PetPto.C_PET_DRAW;
|
|
386
|
+
export import IS_PET_DRAW = CommonProto.PetPto.IS_PET_DRAW;
|
|
387
|
+
export import S_PET_DRAW = CommonProto.PetPto.S_PET_DRAW;
|
|
376
388
|
export import ISlot = CommonProto.PetPto.ISlot;
|
|
377
389
|
export import Slot = CommonProto.PetPto.Slot;
|
|
378
390
|
export import IPet = CommonProto.PetPto.IPet;
|
|
379
391
|
export import Pet = CommonProto.PetPto.Pet;
|
|
392
|
+
export import IFragment = CommonProto.PetPto.IFragment;
|
|
393
|
+
export import Fragment = CommonProto.PetPto.Fragment;
|
|
380
394
|
}
|
|
381
395
|
|
|
382
|
-
namespace TalentProto
|
|
396
|
+
namespace TalentProto{
|
|
383
397
|
export import IC_TALENT_INFO = CommonProto.TalentPto.IC_TALENT_INFO;
|
|
384
398
|
export import C_TALENT_INFO = CommonProto.TalentPto.C_TALENT_INFO;
|
|
385
399
|
export import IS_TALENT_INFO = CommonProto.TalentPto.IS_TALENT_INFO;
|
|
@@ -401,7 +415,7 @@ declare global {
|
|
|
401
415
|
export import TalentTypeEnum = CommonProto.TalentPto.TalentTypeEnum;
|
|
402
416
|
}
|
|
403
417
|
|
|
404
|
-
namespace TestProto
|
|
418
|
+
namespace TestProto{
|
|
405
419
|
export import IC_TEST_ADD_ITEMS = CommonProto.TestPto.IC_TEST_ADD_ITEMS;
|
|
406
420
|
export import C_TEST_ADD_ITEMS = CommonProto.TestPto.C_TEST_ADD_ITEMS;
|
|
407
421
|
export import IC_TEST_UPDATE_CODE = CommonProto.TestPto.IC_TEST_UPDATE_CODE;
|
|
@@ -438,7 +452,7 @@ declare global {
|
|
|
438
452
|
export import C_TEST_SET_TURRET_LV = CommonProto.TestPto.C_TEST_SET_TURRET_LV;
|
|
439
453
|
}
|
|
440
454
|
|
|
441
|
-
namespace StageProto
|
|
455
|
+
namespace StageProto{
|
|
442
456
|
export import IC_GET_INFO = CommonProto.StagePto.IC_GET_INFO;
|
|
443
457
|
export import C_GET_INFO = CommonProto.StagePto.C_GET_INFO;
|
|
444
458
|
export import IS_STAGE_INFO = CommonProto.StagePto.IS_STAGE_INFO;
|
|
@@ -493,7 +507,7 @@ declare global {
|
|
|
493
507
|
export import EndlessModeStage = CommonProto.StagePto.EndlessModeStage;
|
|
494
508
|
}
|
|
495
509
|
|
|
496
|
-
namespace CodexProto
|
|
510
|
+
namespace CodexProto{
|
|
497
511
|
export import IC_GET_INFO = CommonProto.CodexPto.IC_GET_INFO;
|
|
498
512
|
export import C_GET_INFO = CommonProto.CodexPto.C_GET_INFO;
|
|
499
513
|
export import IS_CODEX_INFO = CommonProto.CodexPto.IS_CODEX_INFO;
|
|
@@ -508,7 +522,7 @@ declare global {
|
|
|
508
522
|
export import BattleCodexInfo = CommonProto.CodexPto.BattleCodexInfo;
|
|
509
523
|
}
|
|
510
524
|
|
|
511
|
-
namespace OfflineRewardProto
|
|
525
|
+
namespace OfflineRewardProto{
|
|
512
526
|
export import IC_GET_INFO = CommonProto.OfflineRewardPto.IC_GET_INFO;
|
|
513
527
|
export import C_GET_INFO = CommonProto.OfflineRewardPto.C_GET_INFO;
|
|
514
528
|
export import IS_OFFLINE_REWARD_INFO = CommonProto.OfflineRewardPto.IS_OFFLINE_REWARD_INFO;
|
|
@@ -527,7 +541,7 @@ declare global {
|
|
|
527
541
|
export import S_GET_ENERGY_RESULT = CommonProto.OfflineRewardPto.S_GET_ENERGY_RESULT;
|
|
528
542
|
}
|
|
529
543
|
|
|
530
|
-
namespace SignProto
|
|
544
|
+
namespace SignProto{
|
|
531
545
|
export import IC_GET_INFO = CommonProto.SignPto.IC_GET_INFO;
|
|
532
546
|
export import C_GET_INFO = CommonProto.SignPto.C_GET_INFO;
|
|
533
547
|
export import IS_SIGN_INFO = CommonProto.SignPto.IS_SIGN_INFO;
|
|
@@ -544,7 +558,7 @@ declare global {
|
|
|
544
558
|
export import SignData = CommonProto.SignPto.SignData;
|
|
545
559
|
}
|
|
546
560
|
|
|
547
|
-
namespace BattlePassProto
|
|
561
|
+
namespace BattlePassProto{
|
|
548
562
|
export import IC_GET_INFO = CommonProto.BattlePassPto.IC_GET_INFO;
|
|
549
563
|
export import C_GET_INFO = CommonProto.BattlePassPto.C_GET_INFO;
|
|
550
564
|
export import IS_BATTLE_PASS_INFO = CommonProto.BattlePassPto.IS_BATTLE_PASS_INFO;
|
|
@@ -563,7 +577,7 @@ declare global {
|
|
|
563
577
|
export import BattlePass = CommonProto.BattlePassPto.BattlePass;
|
|
564
578
|
}
|
|
565
579
|
|
|
566
|
-
namespace FirstRechargeProto
|
|
580
|
+
namespace FirstRechargeProto{
|
|
567
581
|
export import IC_GET_INFO = CommonProto.FirstRechargePto.IC_GET_INFO;
|
|
568
582
|
export import C_GET_INFO = CommonProto.FirstRechargePto.C_GET_INFO;
|
|
569
583
|
export import IS_FIRST_RECHARGE_INFO = CommonProto.FirstRechargePto.IS_FIRST_RECHARGE_INFO;
|
|
@@ -580,7 +594,7 @@ declare global {
|
|
|
580
594
|
export import FirstRecharge = CommonProto.FirstRechargePto.FirstRecharge;
|
|
581
595
|
}
|
|
582
596
|
|
|
583
|
-
namespace CoinDungeonProto
|
|
597
|
+
namespace CoinDungeonProto{
|
|
584
598
|
export import IC_GET_INFO = CommonProto.CoinDungeonPto.IC_GET_INFO;
|
|
585
599
|
export import C_GET_INFO = CommonProto.CoinDungeonPto.C_GET_INFO;
|
|
586
600
|
export import IS_COIN_DUNGEON_INFO = CommonProto.CoinDungeonPto.IS_COIN_DUNGEON_INFO;
|
|
@@ -607,7 +621,7 @@ declare global {
|
|
|
607
621
|
export import S_GUIDE_STATUS_MODIFY = CommonProto.CoinDungeonPto.S_GUIDE_STATUS_MODIFY;
|
|
608
622
|
}
|
|
609
623
|
|
|
610
|
-
namespace RelicDungeonProto
|
|
624
|
+
namespace RelicDungeonProto{
|
|
611
625
|
export import IC_GET_INFO = CommonProto.RelicDungeonPto.IC_GET_INFO;
|
|
612
626
|
export import C_GET_INFO = CommonProto.RelicDungeonPto.C_GET_INFO;
|
|
613
627
|
export import IS_RELIC_DUNGEON_INFO = CommonProto.RelicDungeonPto.IS_RELIC_DUNGEON_INFO;
|
|
@@ -646,7 +660,7 @@ declare global {
|
|
|
646
660
|
export import RelicDungeonSaveInfo = CommonProto.RelicDungeonPto.RelicDungeonSaveInfo;
|
|
647
661
|
}
|
|
648
662
|
|
|
649
|
-
namespace TreasureChestProto
|
|
663
|
+
namespace TreasureChestProto{
|
|
650
664
|
export import IC_GET_INFO = CommonProto.TreasureChestPto.IC_GET_INFO;
|
|
651
665
|
export import C_GET_INFO = CommonProto.TreasureChestPto.C_GET_INFO;
|
|
652
666
|
export import IS_TREASURE_CHEST_INFO = CommonProto.TreasureChestPto.IS_TREASURE_CHEST_INFO;
|
|
@@ -659,7 +673,7 @@ declare global {
|
|
|
659
673
|
export import TreasureChestData = CommonProto.TreasureChestPto.TreasureChestData;
|
|
660
674
|
}
|
|
661
675
|
|
|
662
|
-
namespace BlackTideIslandProto
|
|
676
|
+
namespace BlackTideIslandProto{
|
|
663
677
|
export import IC_GET_BTI_INFO = CommonProto.BlackTideIslandPto.IC_GET_BTI_INFO;
|
|
664
678
|
export import C_GET_BTI_INFO = CommonProto.BlackTideIslandPto.C_GET_BTI_INFO;
|
|
665
679
|
export import IS_BTI_INFO = CommonProto.BlackTideIslandPto.IS_BTI_INFO;
|
|
@@ -684,7 +698,7 @@ declare global {
|
|
|
684
698
|
export import BTIGameRole = CommonProto.BlackTideIslandPto.BTIGameRole;
|
|
685
699
|
}
|
|
686
700
|
|
|
687
|
-
namespace BattleProto
|
|
701
|
+
namespace BattleProto{
|
|
688
702
|
export import IBattleFrameData = CommonProto.BattlePto.IBattleFrameData;
|
|
689
703
|
export import BattleFrameData = CommonProto.BattlePto.BattleFrameData;
|
|
690
704
|
export import IGameInput = CommonProto.BattlePto.IGameInput;
|
|
@@ -692,7 +706,7 @@ declare global {
|
|
|
692
706
|
export import BattleTypeEnum = CommonProto.BattlePto.BattleTypeEnum;
|
|
693
707
|
}
|
|
694
708
|
|
|
695
|
-
namespace SprintActivityProto
|
|
709
|
+
namespace SprintActivityProto{
|
|
696
710
|
export import IC_SPRINT_EQUIP_INFO = CommonProto.SprintActivityPto.IC_SPRINT_EQUIP_INFO;
|
|
697
711
|
export import C_SPRINT_EQUIP_INFO = CommonProto.SprintActivityPto.C_SPRINT_EQUIP_INFO;
|
|
698
712
|
export import IS_SPRINT_EQUIP_INFO = CommonProto.SprintActivityPto.IS_SPRINT_EQUIP_INFO;
|
|
@@ -733,7 +747,7 @@ declare global {
|
|
|
733
747
|
export import S_ACCESSORISE_DRAW = CommonProto.SprintActivityPto.S_ACCESSORISE_DRAW;
|
|
734
748
|
}
|
|
735
749
|
|
|
736
|
-
namespace BountyProto
|
|
750
|
+
namespace BountyProto{
|
|
737
751
|
export import IC_BOUNTY_INFO = CommonProto.BountyPto.IC_BOUNTY_INFO;
|
|
738
752
|
export import C_BOUNTY_INFO = CommonProto.BountyPto.C_BOUNTY_INFO;
|
|
739
753
|
export import IS_BOUNTY_INFO = CommonProto.BountyPto.IS_BOUNTY_INFO;
|
|
@@ -764,7 +778,7 @@ declare global {
|
|
|
764
778
|
export import BTask = CommonProto.BountyPto.BTask;
|
|
765
779
|
}
|
|
766
780
|
|
|
767
|
-
namespace GuildProto
|
|
781
|
+
namespace GuildProto{
|
|
768
782
|
export import IC_GET_GUILD_INFO = CommonProto.GuildPto.IC_GET_GUILD_INFO;
|
|
769
783
|
export import C_GET_GUILD_INFO = CommonProto.GuildPto.C_GET_GUILD_INFO;
|
|
770
784
|
export import IS_GET_GUILD_INFO = CommonProto.GuildPto.IS_GET_GUILD_INFO;
|
|
@@ -827,6 +841,12 @@ declare global {
|
|
|
827
841
|
export import C_GET_GUILD_POINT_REWARD = CommonProto.GuildPto.C_GET_GUILD_POINT_REWARD;
|
|
828
842
|
export import IS_GET_GUILD_POINT_REWARD = CommonProto.GuildPto.IS_GET_GUILD_POINT_REWARD;
|
|
829
843
|
export import S_GET_GUILD_POINT_REWARD = CommonProto.GuildPto.S_GET_GUILD_POINT_REWARD;
|
|
844
|
+
export import IC_FORCE_JOIN_GUILD = CommonProto.GuildPto.IC_FORCE_JOIN_GUILD;
|
|
845
|
+
export import C_FORCE_JOIN_GUILD = CommonProto.GuildPto.C_FORCE_JOIN_GUILD;
|
|
846
|
+
export import IC_GET_GUILD_MASTER_INFO = CommonProto.GuildPto.IC_GET_GUILD_MASTER_INFO;
|
|
847
|
+
export import C_GET_GUILD_MASTER_INFO = CommonProto.GuildPto.C_GET_GUILD_MASTER_INFO;
|
|
848
|
+
export import IS_GET_GUILD_MASTER_INFO = CommonProto.GuildPto.IS_GET_GUILD_MASTER_INFO;
|
|
849
|
+
export import S_GET_GUILD_MASTER_INFO = CommonProto.GuildPto.S_GET_GUILD_MASTER_INFO;
|
|
830
850
|
export import IS_GUILD_PLAYER_CHANGE = CommonProto.GuildPto.IS_GUILD_PLAYER_CHANGE;
|
|
831
851
|
export import S_GUILD_PLAYER_CHANGE = CommonProto.GuildPto.S_GUILD_PLAYER_CHANGE;
|
|
832
852
|
export import IS_GUILD_INFO_CHANGE = CommonProto.GuildPto.IS_GUILD_INFO_CHANGE;
|
|
@@ -837,6 +857,8 @@ declare global {
|
|
|
837
857
|
export import S_GUILD_NEW_REQ = CommonProto.GuildPto.S_GUILD_NEW_REQ;
|
|
838
858
|
export import IS_GUILD_DEL_REQ = CommonProto.GuildPto.IS_GUILD_DEL_REQ;
|
|
839
859
|
export import S_GUILD_DEL_REQ = CommonProto.GuildPto.S_GUILD_DEL_REQ;
|
|
860
|
+
export import IS_GUILD_MERGE = CommonProto.GuildPto.IS_GUILD_MERGE;
|
|
861
|
+
export import S_GUILD_MERGE = CommonProto.GuildPto.S_GUILD_MERGE;
|
|
840
862
|
export import IC_GUILD_SUPPLY_BARGAIN = CommonProto.GuildPto.IC_GUILD_SUPPLY_BARGAIN;
|
|
841
863
|
export import C_GUILD_SUPPLY_BARGAIN = CommonProto.GuildPto.C_GUILD_SUPPLY_BARGAIN;
|
|
842
864
|
export import IS_GUILD_SUPPLY_BARGAIN = CommonProto.GuildPto.IS_GUILD_SUPPLY_BARGAIN;
|
|
@@ -886,7 +908,7 @@ declare global {
|
|
|
886
908
|
export import GuildRoleEnum = CommonProto.GuildPto.GuildRoleEnum;
|
|
887
909
|
}
|
|
888
910
|
|
|
889
|
-
namespace GuildIslandProto
|
|
911
|
+
namespace GuildIslandProto{
|
|
890
912
|
export import IC_GET_GUILD_ISLAND_INFO = CommonProto.GuildIslandPto.IC_GET_GUILD_ISLAND_INFO;
|
|
891
913
|
export import C_GET_GUILD_ISLAND_INFO = CommonProto.GuildIslandPto.C_GET_GUILD_ISLAND_INFO;
|
|
892
914
|
export import IS_GET_GUILD_ISLAND_INFO = CommonProto.GuildIslandPto.IS_GET_GUILD_ISLAND_INFO;
|
|
@@ -919,8 +941,52 @@ declare global {
|
|
|
919
941
|
export import C_GET_ISLAND_OCCUPY_INFO = CommonProto.GuildIslandPto.C_GET_ISLAND_OCCUPY_INFO;
|
|
920
942
|
export import IS_GET_ISLAND_OCCUPY_INFO = CommonProto.GuildIslandPto.IS_GET_ISLAND_OCCUPY_INFO;
|
|
921
943
|
export import S_GET_ISLAND_OCCUPY_INFO = CommonProto.GuildIslandPto.S_GET_ISLAND_OCCUPY_INFO;
|
|
944
|
+
export import IC_GET_BATTLE_RECORD_LIST = CommonProto.GuildIslandPto.IC_GET_BATTLE_RECORD_LIST;
|
|
945
|
+
export import C_GET_BATTLE_RECORD_LIST = CommonProto.GuildIslandPto.C_GET_BATTLE_RECORD_LIST;
|
|
946
|
+
export import IC_GET_FAIL_DEFEND_BATTLE_RECORD_LIST = CommonProto.GuildIslandPto.IC_GET_FAIL_DEFEND_BATTLE_RECORD_LIST;
|
|
947
|
+
export import C_GET_FAIL_DEFEND_BATTLE_RECORD_LIST = CommonProto.GuildIslandPto.C_GET_FAIL_DEFEND_BATTLE_RECORD_LIST;
|
|
948
|
+
export import IS_GET_BATTLE_RECORD_LIST = CommonProto.GuildIslandPto.IS_GET_BATTLE_RECORD_LIST;
|
|
949
|
+
export import S_GET_BATTLE_RECORD_LIST = CommonProto.GuildIslandPto.S_GET_BATTLE_RECORD_LIST;
|
|
950
|
+
export import IC_GET_BATTLE_REPLAY_INFO = CommonProto.GuildIslandPto.IC_GET_BATTLE_REPLAY_INFO;
|
|
951
|
+
export import C_GET_BATTLE_REPLAY_INFO = CommonProto.GuildIslandPto.C_GET_BATTLE_REPLAY_INFO;
|
|
952
|
+
export import IS_GET_BATTLE_REPLAY_INFO = CommonProto.GuildIslandPto.IS_GET_BATTLE_REPLAY_INFO;
|
|
953
|
+
export import S_GET_BATTLE_REPLAY_INFO = CommonProto.GuildIslandPto.S_GET_BATTLE_REPLAY_INFO;
|
|
954
|
+
export import IC_GET_ISLAND_TIPS = CommonProto.GuildIslandPto.IC_GET_ISLAND_TIPS;
|
|
955
|
+
export import C_GET_ISLAND_TIPS = CommonProto.GuildIslandPto.C_GET_ISLAND_TIPS;
|
|
956
|
+
export import IS_GET_ISLAND_TIPS = CommonProto.GuildIslandPto.IS_GET_ISLAND_TIPS;
|
|
957
|
+
export import S_GET_ISLAND_TIPS = CommonProto.GuildIslandPto.S_GET_ISLAND_TIPS;
|
|
958
|
+
export import IC_REQ_RALLY = CommonProto.GuildIslandPto.IC_REQ_RALLY;
|
|
959
|
+
export import C_REQ_RALLY = CommonProto.GuildIslandPto.C_REQ_RALLY;
|
|
960
|
+
export import IC_SET_VIEWED_RALLY = CommonProto.GuildIslandPto.IC_SET_VIEWED_RALLY;
|
|
961
|
+
export import C_SET_VIEWED_RALLY = CommonProto.GuildIslandPto.C_SET_VIEWED_RALLY;
|
|
962
|
+
export import IS_SET_VIEWED_RALLY = CommonProto.GuildIslandPto.IS_SET_VIEWED_RALLY;
|
|
963
|
+
export import S_SET_VIEWED_RALLY = CommonProto.GuildIslandPto.S_SET_VIEWED_RALLY;
|
|
964
|
+
export import IC_GET_GUILD_TASK_REWARD = CommonProto.GuildIslandPto.IC_GET_GUILD_TASK_REWARD;
|
|
965
|
+
export import C_GET_GUILD_TASK_REWARD = CommonProto.GuildIslandPto.C_GET_GUILD_TASK_REWARD;
|
|
966
|
+
export import IS_GET_GUILD_TASK_REWARD = CommonProto.GuildIslandPto.IS_GET_GUILD_TASK_REWARD;
|
|
967
|
+
export import S_GET_GUILD_TASK_REWARD = CommonProto.GuildIslandPto.S_GET_GUILD_TASK_REWARD;
|
|
968
|
+
export import IC_GET_ISLAND_TOP_ONE_REWARD = CommonProto.GuildIslandPto.IC_GET_ISLAND_TOP_ONE_REWARD;
|
|
969
|
+
export import C_GET_ISLAND_TOP_ONE_REWARD = CommonProto.GuildIslandPto.C_GET_ISLAND_TOP_ONE_REWARD;
|
|
970
|
+
export import IS_GET_ISLAND_TOP_ONE_REWARD = CommonProto.GuildIslandPto.IS_GET_ISLAND_TOP_ONE_REWARD;
|
|
971
|
+
export import S_GET_ISLAND_TOP_ONE_REWARD = CommonProto.GuildIslandPto.S_GET_ISLAND_TOP_ONE_REWARD;
|
|
972
|
+
export import IC_GET_GUILD_ISLAND_BOX = CommonProto.GuildIslandPto.IC_GET_GUILD_ISLAND_BOX;
|
|
973
|
+
export import C_GET_GUILD_ISLAND_BOX = CommonProto.GuildIslandPto.C_GET_GUILD_ISLAND_BOX;
|
|
974
|
+
export import IS_GET_GUILD_ISLAND_BOX = CommonProto.GuildIslandPto.IS_GET_GUILD_ISLAND_BOX;
|
|
975
|
+
export import S_GET_GUILD_ISLAND_BOX = CommonProto.GuildIslandPto.S_GET_GUILD_ISLAND_BOX;
|
|
976
|
+
export import IC_GET_ISLAND_BOX_LIST = CommonProto.GuildIslandPto.IC_GET_ISLAND_BOX_LIST;
|
|
977
|
+
export import C_GET_ISLAND_BOX_LIST = CommonProto.GuildIslandPto.C_GET_ISLAND_BOX_LIST;
|
|
978
|
+
export import IS_GET_ISLAND_BOX_LIST = CommonProto.GuildIslandPto.IS_GET_ISLAND_BOX_LIST;
|
|
979
|
+
export import S_GET_ISLAND_BOX_LIST = CommonProto.GuildIslandPto.S_GET_ISLAND_BOX_LIST;
|
|
980
|
+
export import IC_GET_BUILDING_BY_USERID = CommonProto.GuildIslandPto.IC_GET_BUILDING_BY_USERID;
|
|
981
|
+
export import C_GET_BUILDING_BY_USERID = CommonProto.GuildIslandPto.C_GET_BUILDING_BY_USERID;
|
|
982
|
+
export import IS_GET_BUILDING_BY_USERID = CommonProto.GuildIslandPto.IS_GET_BUILDING_BY_USERID;
|
|
983
|
+
export import S_GET_BUILDING_BY_USERID = CommonProto.GuildIslandPto.S_GET_BUILDING_BY_USERID;
|
|
922
984
|
export import IS_BUILDING_UPDATE = CommonProto.GuildIslandPto.IS_BUILDING_UPDATE;
|
|
923
985
|
export import S_BUILDING_UPDATE = CommonProto.GuildIslandPto.S_BUILDING_UPDATE;
|
|
986
|
+
export import IS_BE_ROBBED = CommonProto.GuildIslandPto.IS_BE_ROBBED;
|
|
987
|
+
export import S_BE_ROBBED = CommonProto.GuildIslandPto.S_BE_ROBBED;
|
|
988
|
+
export import IS_NEW_RALLY = CommonProto.GuildIslandPto.IS_NEW_RALLY;
|
|
989
|
+
export import S_NEW_RALLY = CommonProto.GuildIslandPto.S_NEW_RALLY;
|
|
924
990
|
export import IUpdateBuildingInfo = CommonProto.GuildIslandPto.IUpdateBuildingInfo;
|
|
925
991
|
export import UpdateBuildingInfo = CommonProto.GuildIslandPto.UpdateBuildingInfo;
|
|
926
992
|
export import IIslandInfo = CommonProto.GuildIslandPto.IIslandInfo;
|
|
@@ -931,8 +997,14 @@ declare global {
|
|
|
931
997
|
export import BuildingInfo = CommonProto.GuildIslandPto.BuildingInfo;
|
|
932
998
|
export import IIslandOccupyInfo = CommonProto.GuildIslandPto.IIslandOccupyInfo;
|
|
933
999
|
export import IslandOccupyInfo = CommonProto.GuildIslandPto.IslandOccupyInfo;
|
|
1000
|
+
export import IRallyInfo = CommonProto.GuildIslandPto.IRallyInfo;
|
|
1001
|
+
export import RallyInfo = CommonProto.GuildIslandPto.RallyInfo;
|
|
934
1002
|
export import IGuildIslandSaveInfo = CommonProto.GuildIslandPto.IGuildIslandSaveInfo;
|
|
935
1003
|
export import GuildIslandSaveInfo = CommonProto.GuildIslandPto.GuildIslandSaveInfo;
|
|
1004
|
+
export import IGuildRallySaveInfo = CommonProto.GuildIslandPto.IGuildRallySaveInfo;
|
|
1005
|
+
export import GuildRallySaveInfo = CommonProto.GuildIslandPto.GuildRallySaveInfo;
|
|
1006
|
+
export import IRallySaveInfo = CommonProto.GuildIslandPto.IRallySaveInfo;
|
|
1007
|
+
export import RallySaveInfo = CommonProto.GuildIslandPto.RallySaveInfo;
|
|
936
1008
|
export import IIslandSaveInfo = CommonProto.GuildIslandPto.IIslandSaveInfo;
|
|
937
1009
|
export import IslandSaveInfo = CommonProto.GuildIslandPto.IslandSaveInfo;
|
|
938
1010
|
export import IZoneSaveInfo = CommonProto.GuildIslandPto.IZoneSaveInfo;
|
|
@@ -945,10 +1017,12 @@ declare global {
|
|
|
945
1017
|
export import BuildingBuff = CommonProto.GuildIslandPto.BuildingBuff;
|
|
946
1018
|
export import IGuildIslandBattleRecord = CommonProto.GuildIslandPto.IGuildIslandBattleRecord;
|
|
947
1019
|
export import GuildIslandBattleRecord = CommonProto.GuildIslandPto.GuildIslandBattleRecord;
|
|
1020
|
+
export import IGuildIslandBattleData = CommonProto.GuildIslandPto.IGuildIslandBattleData;
|
|
1021
|
+
export import GuildIslandBattleData = CommonProto.GuildIslandPto.GuildIslandBattleData;
|
|
948
1022
|
export import BuildingBuffEnum = CommonProto.GuildIslandPto.BuildingBuffEnum;
|
|
949
1023
|
}
|
|
950
1024
|
|
|
951
|
-
namespace PrivilegeProto
|
|
1025
|
+
namespace PrivilegeProto{
|
|
952
1026
|
export import IC_GET_INFO = CommonProto.PrivilegePto.IC_GET_INFO;
|
|
953
1027
|
export import C_GET_INFO = CommonProto.PrivilegePto.C_GET_INFO;
|
|
954
1028
|
export import IS_PRIVILEGE_INFO = CommonProto.PrivilegePto.IS_PRIVILEGE_INFO;
|
|
@@ -963,7 +1037,7 @@ declare global {
|
|
|
963
1037
|
export import PrivilegeCardInfo = CommonProto.PrivilegePto.PrivilegeCardInfo;
|
|
964
1038
|
}
|
|
965
1039
|
|
|
966
|
-
namespace DailyTrialProto
|
|
1040
|
+
namespace DailyTrialProto{
|
|
967
1041
|
export import IC_GET_INFO = CommonProto.DailyTrialPto.IC_GET_INFO;
|
|
968
1042
|
export import C_GET_INFO = CommonProto.DailyTrialPto.C_GET_INFO;
|
|
969
1043
|
export import IS_DAILY_TRIAL_INFO = CommonProto.DailyTrialPto.IS_DAILY_TRIAL_INFO;
|
|
@@ -980,7 +1054,7 @@ declare global {
|
|
|
980
1054
|
export import DailyStage = CommonProto.DailyTrialPto.DailyStage;
|
|
981
1055
|
}
|
|
982
1056
|
|
|
983
|
-
namespace ArenaProto
|
|
1057
|
+
namespace ArenaProto{
|
|
984
1058
|
export import IC_ARENA_INFO = CommonProto.ArenaPto.IC_ARENA_INFO;
|
|
985
1059
|
export import C_ARENA_INFO = CommonProto.ArenaPto.C_ARENA_INFO;
|
|
986
1060
|
export import IS_ARENA_INFO = CommonProto.ArenaPto.IS_ARENA_INFO;
|
|
@@ -997,13 +1071,29 @@ declare global {
|
|
|
997
1071
|
export import C_FIGHT_RECORDS = CommonProto.ArenaPto.C_FIGHT_RECORDS;
|
|
998
1072
|
export import IS_FIGHT_RECORDS = CommonProto.ArenaPto.IS_FIGHT_RECORDS;
|
|
999
1073
|
export import S_FIGHT_RECORDS = CommonProto.ArenaPto.S_FIGHT_RECORDS;
|
|
1074
|
+
export import IC_GET_TIER_REWARD = CommonProto.ArenaPto.IC_GET_TIER_REWARD;
|
|
1075
|
+
export import C_GET_TIER_REWARD = CommonProto.ArenaPto.C_GET_TIER_REWARD;
|
|
1076
|
+
export import IS_TIER_REWARD = CommonProto.ArenaPto.IS_TIER_REWARD;
|
|
1077
|
+
export import S_TIER_REWARD = CommonProto.ArenaPto.S_TIER_REWARD;
|
|
1078
|
+
export import IC_GET_RECORD_DETAIL = CommonProto.ArenaPto.IC_GET_RECORD_DETAIL;
|
|
1079
|
+
export import C_GET_RECORD_DETAIL = CommonProto.ArenaPto.C_GET_RECORD_DETAIL;
|
|
1080
|
+
export import IS_RECORD_DETAIL = CommonProto.ArenaPto.IS_RECORD_DETAIL;
|
|
1081
|
+
export import S_RECORD_DETAIL = CommonProto.ArenaPto.S_RECORD_DETAIL;
|
|
1000
1082
|
export import IOppoenet = CommonProto.ArenaPto.IOppoenet;
|
|
1001
1083
|
export import Oppoenet = CommonProto.ArenaPto.Oppoenet;
|
|
1002
1084
|
export import IFightRecord = CommonProto.ArenaPto.IFightRecord;
|
|
1003
1085
|
export import FightRecord = CommonProto.ArenaPto.FightRecord;
|
|
1086
|
+
export import IArenaPlayer = CommonProto.ArenaPto.IArenaPlayer;
|
|
1087
|
+
export import ArenaPlayer = CommonProto.ArenaPto.ArenaPlayer;
|
|
1088
|
+
export import IFightRecordDetail = CommonProto.ArenaPto.IFightRecordDetail;
|
|
1089
|
+
export import FightRecordDetail = CommonProto.ArenaPto.FightRecordDetail;
|
|
1090
|
+
export import IPVPFightDataWrapper = CommonProto.ArenaPto.IPVPFightDataWrapper;
|
|
1091
|
+
export import PVPFightDataWrapper = CommonProto.ArenaPto.PVPFightDataWrapper;
|
|
1092
|
+
export import IPVPFightData = CommonProto.ArenaPto.IPVPFightData;
|
|
1093
|
+
export import PVPFightData = CommonProto.ArenaPto.PVPFightData;
|
|
1004
1094
|
}
|
|
1005
1095
|
|
|
1006
|
-
namespace BlackMarketProto
|
|
1096
|
+
namespace BlackMarketProto{
|
|
1007
1097
|
export import IC_GET_INFO = CommonProto.BlackMarketPto.IC_GET_INFO;
|
|
1008
1098
|
export import C_GET_INFO = CommonProto.BlackMarketPto.C_GET_INFO;
|
|
1009
1099
|
export import IS_BLACK_MARKET_INFO = CommonProto.BlackMarketPto.IS_BLACK_MARKET_INFO;
|
|
@@ -1022,7 +1112,7 @@ declare global {
|
|
|
1022
1112
|
export import BlackMarketGoods = CommonProto.BlackMarketPto.BlackMarketGoods;
|
|
1023
1113
|
}
|
|
1024
1114
|
|
|
1025
|
-
namespace EmailProto
|
|
1115
|
+
namespace EmailProto{
|
|
1026
1116
|
export import IC_EMAIL_INFO = CommonProto.EmailPto.IC_EMAIL_INFO;
|
|
1027
1117
|
export import C_EMAIL_INFO = CommonProto.EmailPto.C_EMAIL_INFO;
|
|
1028
1118
|
export import IS_EMAIL_INFO = CommonProto.EmailPto.IS_EMAIL_INFO;
|
|
@@ -1043,7 +1133,7 @@ declare global {
|
|
|
1043
1133
|
export import Email = CommonProto.EmailPto.Email;
|
|
1044
1134
|
}
|
|
1045
1135
|
|
|
1046
|
-
namespace TaskProto
|
|
1136
|
+
namespace TaskProto{
|
|
1047
1137
|
export import IC_TASK_TYPE_INFO = CommonProto.TaskPto.IC_TASK_TYPE_INFO;
|
|
1048
1138
|
export import C_TASK_TYPE_INFO = CommonProto.TaskPto.C_TASK_TYPE_INFO;
|
|
1049
1139
|
export import IS_TASK_INFO = CommonProto.TaskPto.IS_TASK_INFO;
|
|
@@ -1072,7 +1162,7 @@ declare global {
|
|
|
1072
1162
|
export import TaskSaveInfo = CommonProto.TaskPto.TaskSaveInfo;
|
|
1073
1163
|
}
|
|
1074
1164
|
|
|
1075
|
-
namespace FriendProto
|
|
1165
|
+
namespace FriendProto{
|
|
1076
1166
|
export import IC_FRIEND_INFO = CommonProto.FriendPto.IC_FRIEND_INFO;
|
|
1077
1167
|
export import C_FRIEND_INFO = CommonProto.FriendPto.C_FRIEND_INFO;
|
|
1078
1168
|
export import IS_FRIEND_INFO = CommonProto.FriendPto.IS_FRIEND_INFO;
|
|
@@ -1127,7 +1217,7 @@ declare global {
|
|
|
1127
1217
|
export import FriendRequest = CommonProto.FriendPto.FriendRequest;
|
|
1128
1218
|
}
|
|
1129
1219
|
|
|
1130
|
-
namespace ChatProto
|
|
1220
|
+
namespace ChatProto{
|
|
1131
1221
|
export import IC_PRIVATE_CHAT_INFO = CommonProto.ChatPto.IC_PRIVATE_CHAT_INFO;
|
|
1132
1222
|
export import C_PRIVATE_CHAT_INFO = CommonProto.ChatPto.C_PRIVATE_CHAT_INFO;
|
|
1133
1223
|
export import IS_PRIVATE_CHAT_INFO = CommonProto.ChatPto.IS_PRIVATE_CHAT_INFO;
|
|
@@ -1159,7 +1249,7 @@ declare global {
|
|
|
1159
1249
|
export import ChatTypeEnum = CommonProto.ChatPto.ChatTypeEnum;
|
|
1160
1250
|
}
|
|
1161
1251
|
|
|
1162
|
-
namespace ShopProto
|
|
1252
|
+
namespace ShopProto{
|
|
1163
1253
|
export import IC_GET_SHOP_INFO = CommonProto.ShopPto.IC_GET_SHOP_INFO;
|
|
1164
1254
|
export import C_GET_SHOP_INFO = CommonProto.ShopPto.C_GET_SHOP_INFO;
|
|
1165
1255
|
export import IS_GET_SHOP_INFO = CommonProto.ShopPto.IS_GET_SHOP_INFO;
|
|
@@ -1184,7 +1274,7 @@ declare global {
|
|
|
1184
1274
|
export import ConditionalGift = CommonProto.ShopPto.ConditionalGift;
|
|
1185
1275
|
}
|
|
1186
1276
|
|
|
1187
|
-
namespace RankProto
|
|
1277
|
+
namespace RankProto{
|
|
1188
1278
|
export import IC_GET_INFO = CommonProto.RankPto.IC_GET_INFO;
|
|
1189
1279
|
export import C_GET_INFO = CommonProto.RankPto.C_GET_INFO;
|
|
1190
1280
|
export import IS_RANK_INFO = CommonProto.RankPto.IS_RANK_INFO;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./core/proto/Proto.d.ts" />
|
|
2
2
|
import "./adb-url-resolver";
|
|
3
|
-
import { DEBUG_EVENT, EGameModule } from "./core/module/battle/battle.interface";
|
|
3
|
+
import { DEBUG_EVENT, EGameModule, IPVPFightData } from "./core/module/battle/battle.interface";
|
|
4
4
|
import Game from "./core/module/battle/Game";
|
|
5
5
|
import "./register-all";
|
|
6
6
|
/**
|
|
@@ -16,9 +16,10 @@ export interface IGameParam {
|
|
|
16
16
|
seed: number;
|
|
17
17
|
stageId?: number;
|
|
18
18
|
inputs?: BattleProto.IBattleFrameData[];
|
|
19
|
+
weatherTraitId?: number;
|
|
20
|
+
mapTraitId?: number;
|
|
19
21
|
forceLvMould?: number;
|
|
20
22
|
debugEvent?: DEBUG_EVENT;
|
|
21
|
-
defender?: PlayerProto.IBattlePlayer;
|
|
22
23
|
extarGems?: number[];
|
|
23
24
|
/**
|
|
24
25
|
* 最大运行帧数。
|
|
@@ -30,6 +31,27 @@ export interface IGameParam {
|
|
|
30
31
|
*/
|
|
31
32
|
forcePass?: boolean;
|
|
32
33
|
}
|
|
34
|
+
export interface IPVPGameParam {
|
|
35
|
+
seed: number;
|
|
36
|
+
stageId?: number;
|
|
37
|
+
debugEvent?: DEBUG_EVENT;
|
|
38
|
+
defender?: PlayerProto.IBattlePlayer;
|
|
39
|
+
/**
|
|
40
|
+
* 最大运行帧数。
|
|
41
|
+
*/
|
|
42
|
+
maxFrames?: number;
|
|
43
|
+
/**
|
|
44
|
+
* 开启强制验证通过
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
forcePass?: boolean;
|
|
48
|
+
attackerAttrAdd?: {
|
|
49
|
+
[k: string]: number;
|
|
50
|
+
} | null;
|
|
51
|
+
defenderAttrAdd?: {
|
|
52
|
+
[k: string]: number;
|
|
53
|
+
} | null;
|
|
54
|
+
}
|
|
33
55
|
export interface IGuildGameParam extends IGameParam {
|
|
34
56
|
cheerLayer: number;
|
|
35
57
|
}
|
|
@@ -38,6 +60,7 @@ export interface IGuildGameParam extends IGameParam {
|
|
|
38
60
|
* @param type 游戏模块
|
|
39
61
|
* @param battlePlayer 玩家数据
|
|
40
62
|
* @param param 游戏参数
|
|
63
|
+
* @param callback 回调函数
|
|
41
64
|
* @returns 是否胜利
|
|
42
65
|
*/
|
|
43
66
|
export declare function startBattleVerify(type: EGameModule, battlePlayer: PlayerProto.IBattlePlayer, param: IGameParam, callback?: (game: Game) => void): boolean;
|
|
@@ -76,8 +99,28 @@ export declare function startGuildVerify(battlePlayer: PlayerProto.IBattlePlayer
|
|
|
76
99
|
export declare function startDailyTrialVerify(battlePlayer: PlayerProto.IBattlePlayer, param: IGameParam): boolean;
|
|
77
100
|
/**
|
|
78
101
|
* 验证竞技场战斗
|
|
79
|
-
* @param
|
|
102
|
+
* @param challenger 挑战方玩家数据
|
|
80
103
|
* @param param 战斗参数 defender 对方玩家数据
|
|
81
104
|
* @returns
|
|
82
105
|
*/
|
|
83
|
-
export declare function startArenaVerify(challenger: PlayerProto.IBattlePlayer, defender: PlayerProto.IBattlePlayer, param: IGameParam):
|
|
106
|
+
export declare function startArenaVerify(challenger: PlayerProto.IBattlePlayer, defender: PlayerProto.IBattlePlayer, param: IGameParam): {
|
|
107
|
+
isWin: boolean;
|
|
108
|
+
fightData: {
|
|
109
|
+
[playerId: number]: {
|
|
110
|
+
[key: number]: IPVPFightData;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* 验证海岛争霸赛战斗
|
|
116
|
+
* @param battlePlayer 挑战方玩家数据
|
|
117
|
+
* @param param 战斗参数 defender 对方玩家数据
|
|
118
|
+
*/
|
|
119
|
+
export declare function startIslandVerify(challenger: PlayerProto.IBattlePlayer, defender: PlayerProto.IBattlePlayer, param: IGameParam): {
|
|
120
|
+
isWin: boolean;
|
|
121
|
+
fightData: {
|
|
122
|
+
[playerId: number]: {
|
|
123
|
+
[key: number]: IPVPFightData;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|