captainbattle 0.0.0-stage → 1.0.1
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/README.md +0 -3
- package/dist/StringExpand.d.ts +4 -0
- package/dist/StringExpand.js +0 -0
- package/dist/adb-url-resolver.d.ts +34 -0
- package/dist/adb-url-resolver.js +57 -0
- package/dist/cc/dist/index.d.ts +273 -0
- package/dist/cc/dist/index.js +1185 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +9 -0
- package/dist/core/CallID.d.ts +131 -0
- package/dist/core/CallID.js +171 -0
- package/dist/core/ListenID.d.ts +476 -0
- package/dist/core/ListenID.js +517 -0
- package/dist/core/config/BadgeCfg.d.ts +287 -0
- package/dist/core/config/BadgeCfg.js +285 -0
- package/dist/core/config/BattleConfigCfg.d.ts +9 -0
- package/dist/core/config/BattleConfigCfg.js +8 -0
- package/dist/core/config/BattlePassCfg.d.ts +18 -0
- package/dist/core/config/BattlePassCfg.js +8 -0
- package/dist/core/config/BattlePassLvCfg.d.ts +15 -0
- package/dist/core/config/BattlePassLvCfg.js +8 -0
- package/dist/core/config/BlackMarketCfg.d.ts +16 -0
- package/dist/core/config/BlackMarketCfg.js +8 -0
- package/dist/core/config/BlackMarketGoodsCfg.d.ts +24 -0
- package/dist/core/config/BlackMarketGoodsCfg.js +8 -0
- package/dist/core/config/BlackTideIslandConfigCfg.d.ts +29 -0
- package/dist/core/config/BlackTideIslandConfigCfg.js +26 -0
- package/dist/core/config/BlackTideIslandDrawCfg.d.ts +10 -0
- package/dist/core/config/BlackTideIslandDrawCfg.js +8 -0
- package/dist/core/config/BlackTideIslandGameCfg.d.ts +8 -0
- package/dist/core/config/BlackTideIslandGameCfg.js +8 -0
- package/dist/core/config/BlackTideIslandGroupCfg.d.ts +10 -0
- package/dist/core/config/BlackTideIslandGroupCfg.js +8 -0
- package/dist/core/config/BlackTideIslandRoleCfg.d.ts +20 -0
- package/dist/core/config/BlackTideIslandRoleCfg.js +8 -0
- package/dist/core/config/BlackTideIslandSignInCfg.d.ts +9 -0
- package/dist/core/config/BlackTideIslandSignInCfg.js +8 -0
- package/dist/core/config/BountyConfigCfg.d.ts +20 -0
- package/dist/core/config/BountyConfigCfg.js +17 -0
- package/dist/core/config/BountyLvCfg.d.ts +8 -0
- package/dist/core/config/BountyLvCfg.js +8 -0
- package/dist/core/config/BountyTaskCfg.d.ts +11 -0
- package/dist/core/config/BountyTaskCfg.js +8 -0
- package/dist/core/config/BuffCfg.d.ts +151 -0
- package/dist/core/config/BuffCfg.js +139 -0
- package/dist/core/config/Cfg.d.ts +570 -0
- package/dist/core/config/Cfg.js +913 -0
- package/dist/core/config/ChatChannelCfg.d.ts +13 -0
- package/dist/core/config/ChatChannelCfg.js +8 -0
- package/dist/core/config/ChatEmojiCfg.d.ts +11 -0
- package/dist/core/config/ChatEmojiCfg.js +8 -0
- package/dist/core/config/CodeCfg.d.ts +8 -0
- package/dist/core/config/CodeCfg.js +8 -0
- package/dist/core/config/CodexGroupCfg.d.ts +24 -0
- package/dist/core/config/CodexGroupCfg.js +8 -0
- package/dist/core/config/CodexMonsterCfg.d.ts +8 -0
- package/dist/core/config/CodexMonsterCfg.js +8 -0
- package/dist/core/config/CodexTurretCfg.d.ts +9 -0
- package/dist/core/config/CodexTurretCfg.js +8 -0
- package/dist/core/config/CoinConfigCfg.d.ts +14 -0
- package/dist/core/config/CoinConfigCfg.js +8 -0
- package/dist/core/config/CoinDungeonConfigCfg.d.ts +25 -0
- package/dist/core/config/CoinDungeonConfigCfg.js +22 -0
- package/dist/core/config/CoinDungeonFishCfg.d.ts +11 -0
- package/dist/core/config/CoinDungeonFishCfg.js +8 -0
- package/dist/core/config/CoinDungeonGroupCfg.d.ts +16 -0
- package/dist/core/config/CoinDungeonGroupCfg.js +8 -0
- package/dist/core/config/CoinDungeonLevelCfg.d.ts +16 -0
- package/dist/core/config/CoinDungeonLevelCfg.js +8 -0
- package/dist/core/config/ConditionalGiftCfg.d.ts +14 -0
- package/dist/core/config/ConditionalGiftCfg.js +8 -0
- package/dist/core/config/Const.d.ts +27 -0
- package/dist/core/config/Const.js +32 -0
- package/dist/core/config/ConstConfigCfg.d.ts +57 -0
- package/dist/core/config/ConstConfigCfg.js +54 -0
- package/dist/core/config/DailyTrialBuffCfg.d.ts +10 -0
- package/dist/core/config/DailyTrialBuffCfg.js +8 -0
- package/dist/core/config/DailyTrialConfigCfg.d.ts +18 -0
- package/dist/core/config/DailyTrialConfigCfg.js +15 -0
- package/dist/core/config/DailyTrialLevelCfg.d.ts +13 -0
- package/dist/core/config/DailyTrialLevelCfg.js +8 -0
- package/dist/core/config/DailyTrialMapCfg.d.ts +15 -0
- package/dist/core/config/DailyTrialMapCfg.js +8 -0
- package/dist/core/config/DecorationAttrCfg.d.ts +14 -0
- package/dist/core/config/DecorationAttrCfg.js +8 -0
- package/dist/core/config/DragonCfg.d.ts +14 -0
- package/dist/core/config/DragonCfg.js +8 -0
- package/dist/core/config/DragonPathCfg.d.ts +8 -0
- package/dist/core/config/DragonPathCfg.js +8 -0
- package/dist/core/config/DrawTagCfg.d.ts +29 -0
- package/dist/core/config/DrawTagCfg.js +8 -0
- package/dist/core/config/DropPoolCfg.d.ts +16 -0
- package/dist/core/config/DropPoolCfg.js +8 -0
- package/dist/core/config/EffectPathCfg.d.ts +28 -0
- package/dist/core/config/EffectPathCfg.js +8 -0
- package/dist/core/config/EmailCfg.d.ts +25 -0
- package/dist/core/config/EmailCfg.js +21 -0
- package/dist/core/config/EndlessConfigCfg.d.ts +14 -0
- package/dist/core/config/EndlessConfigCfg.js +11 -0
- package/dist/core/config/EndlessEventCfg.d.ts +12 -0
- package/dist/core/config/EndlessEventCfg.js +8 -0
- package/dist/core/config/EnemyCfg.d.ts +66 -0
- package/dist/core/config/EnemyCfg.js +8 -0
- package/dist/core/config/EnemyGridCfg.d.ts +8 -0
- package/dist/core/config/EnemyGridCfg.js +8 -0
- package/dist/core/config/EquipCfg.d.ts +26 -0
- package/dist/core/config/EquipCfg.js +8 -0
- package/dist/core/config/EquipChestCfg.d.ts +12 -0
- package/dist/core/config/EquipChestCfg.js +8 -0
- package/dist/core/config/EquipCombineCfg.d.ts +10 -0
- package/dist/core/config/EquipCombineCfg.js +8 -0
- package/dist/core/config/EquipLvCfg.d.ts +11 -0
- package/dist/core/config/EquipLvCfg.js +8 -0
- package/dist/core/config/EquipmentDrawCfg.d.ts +8 -0
- package/dist/core/config/EquipmentDrawCfg.js +8 -0
- package/dist/core/config/EventTypeCfg.d.ts +10 -0
- package/dist/core/config/EventTypeCfg.js +8 -0
- package/dist/core/config/FightExpCfg.d.ts +12 -0
- package/dist/core/config/FightExpCfg.js +8 -0
- package/dist/core/config/FirstRechargeCfg.d.ts +11 -0
- package/dist/core/config/FirstRechargeCfg.js +8 -0
- package/dist/core/config/FormationCfg.d.ts +17 -0
- package/dist/core/config/FormationCfg.js +8 -0
- package/dist/core/config/FuncDescCfg.d.ts +139 -0
- package/dist/core/config/FuncDescCfg.js +134 -0
- package/dist/core/config/GemCfg.d.ts +37 -0
- package/dist/core/config/GemCfg.js +8 -0
- package/dist/core/config/GemCombineCfg.d.ts +9 -0
- package/dist/core/config/GemCombineCfg.js +8 -0
- package/dist/core/config/GemDrawCfg.d.ts +13 -0
- package/dist/core/config/GemDrawCfg.js +8 -0
- package/dist/core/config/GemEntryCfg.d.ts +35 -0
- package/dist/core/config/GemEntryCfg.js +8 -0
- package/dist/core/config/GemPurifyCfg.d.ts +11 -0
- package/dist/core/config/GemPurifyCfg.js +8 -0
- package/dist/core/config/GemRefinedCfg.d.ts +11 -0
- package/dist/core/config/GemRefinedCfg.js +8 -0
- package/dist/core/config/GemUnlockCfg.d.ts +9 -0
- package/dist/core/config/GemUnlockCfg.js +8 -0
- package/dist/core/config/GuideCfg.d.ts +29 -0
- package/dist/core/config/GuideCfg.js +8 -0
- package/dist/core/config/GuideConfigCfg.d.ts +14 -0
- package/dist/core/config/GuideConfigCfg.js +11 -0
- package/dist/core/config/GuideViewPathCfg.d.ts +11 -0
- package/dist/core/config/GuideViewPathCfg.js +8 -0
- package/dist/core/config/GuildBossCfg.d.ts +15 -0
- package/dist/core/config/GuildBossCfg.js +8 -0
- package/dist/core/config/GuildBossConfigCfg.d.ts +22 -0
- package/dist/core/config/GuildBossConfigCfg.js +19 -0
- package/dist/core/config/GuildBossLevelCfg.d.ts +11 -0
- package/dist/core/config/GuildBossLevelCfg.js +8 -0
- package/dist/core/config/GuildBossRankRewardCfg.d.ts +10 -0
- package/dist/core/config/GuildBossRankRewardCfg.js +8 -0
- package/dist/core/config/GuildBossWaveCfg.d.ts +13 -0
- package/dist/core/config/GuildBossWaveCfg.js +8 -0
- package/dist/core/config/GuildBounsCfg.d.ts +9 -0
- package/dist/core/config/GuildBounsCfg.js +8 -0
- package/dist/core/config/GuildBounsRankCfg.d.ts +10 -0
- package/dist/core/config/GuildBounsRankCfg.js +8 -0
- package/dist/core/config/GuildConfigCfg.d.ts +46 -0
- package/dist/core/config/GuildConfigCfg.js +43 -0
- package/dist/core/config/GuildDonateCfg.d.ts +10 -0
- package/dist/core/config/GuildDonateCfg.js +8 -0
- package/dist/core/config/GuildFlagCfg.d.ts +9 -0
- package/dist/core/config/GuildFlagCfg.js +8 -0
- package/dist/core/config/GuildLogCfg.d.ts +21 -0
- package/dist/core/config/GuildLogCfg.js +20 -0
- package/dist/core/config/GuildLvCfg.d.ts +14 -0
- package/dist/core/config/GuildLvCfg.js +8 -0
- package/dist/core/config/GuildSupplyCfg.d.ts +10 -0
- package/dist/core/config/GuildSupplyCfg.js +8 -0
- package/dist/core/config/InitialItemsCfg.d.ts +9 -0
- package/dist/core/config/InitialItemsCfg.js +8 -0
- package/dist/core/config/IntegralTaskCfg.d.ts +12 -0
- package/dist/core/config/IntegralTaskCfg.js +8 -0
- package/dist/core/config/ItemsCfg.d.ts +40 -0
- package/dist/core/config/ItemsCfg.js +26 -0
- package/dist/core/config/MapTraitCfg.d.ts +12 -0
- package/dist/core/config/MapTraitCfg.js +8 -0
- package/dist/core/config/MarqueeChannelCfg.d.ts +10 -0
- package/dist/core/config/MarqueeChannelCfg.js +8 -0
- package/dist/core/config/MarqueeConfigCfg.d.ts +14 -0
- package/dist/core/config/MarqueeConfigCfg.js +11 -0
- package/dist/core/config/MarqueeContentCfg.d.ts +15 -0
- package/dist/core/config/MarqueeContentCfg.js +8 -0
- package/dist/core/config/MonsterTraitCfg.d.ts +10 -0
- package/dist/core/config/MonsterTraitCfg.js +8 -0
- package/dist/core/config/PetCfg.d.ts +14 -0
- package/dist/core/config/PetCfg.js +8 -0
- package/dist/core/config/PetSkillCfg.d.ts +13 -0
- package/dist/core/config/PetSkillCfg.js +8 -0
- package/dist/core/config/PetSlotLvCfg.d.ts +9 -0
- package/dist/core/config/PetSlotLvCfg.js +8 -0
- package/dist/core/config/PetStarCfg.d.ts +12 -0
- package/dist/core/config/PetStarCfg.js +8 -0
- package/dist/core/config/PlayerLvCfg.d.ts +8 -0
- package/dist/core/config/PlayerLvCfg.js +8 -0
- package/dist/core/config/PrivilegeCardCfg.d.ts +10 -0
- package/dist/core/config/PrivilegeCardCfg.js +8 -0
- package/dist/core/config/PrivilegeCfg.d.ts +29 -0
- package/dist/core/config/PrivilegeCfg.js +27 -0
- package/dist/core/config/PrivilegeItemCfg.d.ts +9 -0
- package/dist/core/config/PrivilegeItemCfg.js +8 -0
- package/dist/core/config/ProDefineCfg.d.ts +23 -0
- package/dist/core/config/ProDefineCfg.js +8 -0
- package/dist/core/config/QualityCfg.d.ts +37 -0
- package/dist/core/config/QualityCfg.js +8 -0
- package/dist/core/config/QuestionnaireCfg.d.ts +17 -0
- package/dist/core/config/QuestionnaireCfg.js +12 -0
- package/dist/core/config/RandomNameCfg.d.ts +10 -0
- package/dist/core/config/RandomNameCfg.js +8 -0
- package/dist/core/config/RelicCfg.d.ts +18 -0
- package/dist/core/config/RelicCfg.js +8 -0
- package/dist/core/config/RelicDungeonBuffCfg.d.ts +10 -0
- package/dist/core/config/RelicDungeonBuffCfg.js +8 -0
- package/dist/core/config/RelicDungeonConfigCfg.d.ts +17 -0
- package/dist/core/config/RelicDungeonConfigCfg.js +14 -0
- package/dist/core/config/RelicDungeonLevelCfg.d.ts +17 -0
- package/dist/core/config/RelicDungeonLevelCfg.js +8 -0
- package/dist/core/config/RelicEntryCfg.d.ts +15 -0
- package/dist/core/config/RelicEntryCfg.js +8 -0
- package/dist/core/config/RelicPurifyCfg.d.ts +11 -0
- package/dist/core/config/RelicPurifyCfg.js +8 -0
- package/dist/core/config/RelicRandomAttrCfg.d.ts +10 -0
- package/dist/core/config/RelicRandomAttrCfg.js +8 -0
- package/dist/core/config/RelicRandomAttrScoreCfg.d.ts +9 -0
- package/dist/core/config/RelicRandomAttrScoreCfg.js +8 -0
- package/dist/core/config/RelicTiesCfg.d.ts +9 -0
- package/dist/core/config/RelicTiesCfg.js +8 -0
- package/dist/core/config/RoleCfg.d.ts +34 -0
- package/dist/core/config/RoleCfg.js +8 -0
- package/dist/core/config/RuleDescCfg.d.ts +45 -0
- package/dist/core/config/RuleDescCfg.js +41 -0
- package/dist/core/config/ServerNameCfg.d.ts +9 -0
- package/dist/core/config/ServerNameCfg.js +8 -0
- package/dist/core/config/ShopCfg.d.ts +32 -0
- package/dist/core/config/ShopCfg.js +8 -0
- package/dist/core/config/ShowCfg.d.ts +13 -0
- package/dist/core/config/ShowCfg.js +8 -0
- package/dist/core/config/SignCfg.d.ts +16 -0
- package/dist/core/config/SignCfg.js +8 -0
- package/dist/core/config/SignDayCfg.d.ts +14 -0
- package/dist/core/config/SignDayCfg.js +8 -0
- package/dist/core/config/SkillCfg.d.ts +64 -0
- package/dist/core/config/SkillCfg.js +8 -0
- package/dist/core/config/SkillEmitterCfg.d.ts +9 -0
- package/dist/core/config/SkillEmitterCfg.js +8 -0
- package/dist/core/config/SkinCfg.d.ts +26 -0
- package/dist/core/config/SkinCfg.js +8 -0
- package/dist/core/config/SkinGroupCfg.d.ts +13 -0
- package/dist/core/config/SkinGroupCfg.js +8 -0
- package/dist/core/config/SkinLvCfg.d.ts +11 -0
- package/dist/core/config/SkinLvCfg.js +8 -0
- package/dist/core/config/SkinSkillCfg.d.ts +11 -0
- package/dist/core/config/SkinSkillCfg.js +8 -0
- package/dist/core/config/SkinSlotCfg.d.ts +9 -0
- package/dist/core/config/SkinSlotCfg.js +8 -0
- package/dist/core/config/SkinStarCfg.d.ts +10 -0
- package/dist/core/config/SkinStarCfg.js +8 -0
- package/dist/core/config/SoundCfg.d.ts +100 -0
- package/dist/core/config/SoundCfg.js +89 -0
- package/dist/core/config/SprintActivityConfigCfg.d.ts +28 -0
- package/dist/core/config/SprintActivityConfigCfg.js +25 -0
- package/dist/core/config/SprintActivityRankRewardCfg.d.ts +11 -0
- package/dist/core/config/SprintActivityRankRewardCfg.js +8 -0
- package/dist/core/config/StageCfg.d.ts +40 -0
- package/dist/core/config/StageCfg.js +8 -0
- package/dist/core/config/StageTemplateCfg.d.ts +13 -0
- package/dist/core/config/StageTemplateCfg.js +8 -0
- package/dist/core/config/StarRewardCfg.d.ts +9 -0
- package/dist/core/config/StarRewardCfg.js +8 -0
- package/dist/core/config/TConfig.d.ts +37 -0
- package/dist/core/config/TConfig.js +182 -0
- package/dist/core/config/TagCfg.d.ts +13 -0
- package/dist/core/config/TagCfg.js +8 -0
- package/dist/core/config/TalentLvCfg.d.ts +16 -0
- package/dist/core/config/TalentLvCfg.js +8 -0
- package/dist/core/config/TalentRewardCfg.d.ts +16 -0
- package/dist/core/config/TalentRewardCfg.js +8 -0
- package/dist/core/config/TalentTreeCfg.d.ts +15 -0
- package/dist/core/config/TalentTreeCfg.js +8 -0
- package/dist/core/config/TalentTreeLvCfg.d.ts +14 -0
- package/dist/core/config/TalentTreeLvCfg.js +8 -0
- package/dist/core/config/TaskCfg.d.ts +24 -0
- package/dist/core/config/TaskCfg.js +8 -0
- package/dist/core/config/TaskRewardCfg.d.ts +11 -0
- package/dist/core/config/TaskRewardCfg.js +8 -0
- package/dist/core/config/TaskTypeCfg.d.ts +13 -0
- package/dist/core/config/TaskTypeCfg.js +8 -0
- package/dist/core/config/TreasureChestCfg.d.ts +31 -0
- package/dist/core/config/TreasureChestCfg.js +14 -0
- package/dist/core/config/TreasureLevelCfg.d.ts +12 -0
- package/dist/core/config/TreasureLevelCfg.js +8 -0
- package/dist/core/config/TurretDrawCfg.d.ts +8 -0
- package/dist/core/config/TurretDrawCfg.js +8 -0
- package/dist/core/config/TurretLotteryCfg.d.ts +14 -0
- package/dist/core/config/TurretLotteryCfg.js +8 -0
- package/dist/core/config/TurretLotteryGroupCfg.d.ts +10 -0
- package/dist/core/config/TurretLotteryGroupCfg.js +8 -0
- package/dist/core/config/TurretLotteryIconCfg.d.ts +10 -0
- package/dist/core/config/TurretLotteryIconCfg.js +8 -0
- package/dist/core/config/TurretLotteryWeightCfg.d.ts +8 -0
- package/dist/core/config/TurretLotteryWeightCfg.js +8 -0
- package/dist/core/config/TurretLvCfg.d.ts +15 -0
- package/dist/core/config/TurretLvCfg.js +8 -0
- package/dist/core/config/TypeRandCfg.d.ts +13 -0
- package/dist/core/config/TypeRandCfg.js +8 -0
- package/dist/core/config/VehicleWashConfigCfg.d.ts +17 -0
- package/dist/core/config/VehicleWashConfigCfg.js +14 -0
- package/dist/core/config/VehicleWashLevelCfg.d.ts +11 -0
- package/dist/core/config/VehicleWashLevelCfg.js +8 -0
- package/dist/core/config/WavesInfoCfg.d.ts +37 -0
- package/dist/core/config/WavesInfoCfg.js +8 -0
- package/dist/core/config/WeatherTraitCfg.d.ts +11 -0
- package/dist/core/config/WeatherTraitCfg.js +8 -0
- package/dist/core/framework/Log.d.ts +10 -0
- package/dist/core/framework/Log.js +29 -0
- package/dist/core/framework/Pool.d.ts +99 -0
- package/dist/core/framework/Pool.js +363 -0
- package/dist/core/framework/Time.d.ts +75 -0
- package/dist/core/framework/Time.js +253 -0
- package/dist/core/framework/Watcher.d.ts +21 -0
- package/dist/core/framework/Watcher.js +79 -0
- package/dist/core/framework/collections/MinSortList.d.ts +24 -0
- package/dist/core/framework/collections/MinSortList.js +152 -0
- package/dist/core/framework/collections/ObjectPool.d.ts +11 -0
- package/dist/core/framework/collections/ObjectPool.js +45 -0
- package/dist/core/framework/notify/Notifier.d.ts +69 -0
- package/dist/core/framework/notify/Notifier.js +169 -0
- package/dist/core/framework/notify/NotifyCaller.d.ts +7 -0
- package/dist/core/framework/notify/NotifyCaller.js +40 -0
- package/dist/core/framework/notify/NotifyID.d.ts +14 -0
- package/dist/core/framework/notify/NotifyID.js +18 -0
- package/dist/core/framework/notify/NotifyListener.d.ts +29 -0
- package/dist/core/framework/notify/NotifyListener.js +190 -0
- package/dist/core/module/battle/Game.d.ts +358 -0
- package/dist/core/module/battle/Game.js +1340 -0
- package/dist/core/module/battle/IGameModule.d.ts +98 -0
- package/dist/core/module/battle/IGameModule.js +877 -0
- package/dist/core/module/battle/battle.interface.d.ts +248 -0
- package/dist/core/module/battle/battle.interface.js +76 -0
- package/dist/core/module/battle/buff/BuffMgr.d.ts +77 -0
- package/dist/core/module/battle/buff/BuffMgr.js +63 -0
- package/dist/core/module/battle/buff/BuffPool.d.ts +22 -0
- package/dist/core/module/battle/buff/BuffPool.js +64 -0
- package/dist/core/module/battle/buff/BuffTrigger.d.ts +5 -0
- package/dist/core/module/battle/buff/BuffTrigger.js +410 -0
- package/dist/core/module/battle/buff/buffitem/AddActionTimeBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/AddActionTimeBuff.js +31 -0
- package/dist/core/module/battle/buff/buffitem/AddAtrBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddAtrBuff.js +51 -0
- package/dist/core/module/battle/buff/buffitem/AddCritLayerBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddCritLayerBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/AddPhysicDamBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddPhysicDamBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/AddProjectBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddProjectBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/AddSkillNumBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/AddSkillNumBuff.js +36 -0
- package/dist/core/module/battle/buff/buffitem/ArmorBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ArmorBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/AshBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/AshBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/AttackInvisibleBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/AttackInvisibleBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/AttackSpeedBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AttackSpeedBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/BackHitAddAttrBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BackHitAddAttrBuff.js +94 -0
- package/dist/core/module/battle/buff/buffitem/BaseBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/BaseBuff.js +21 -0
- package/dist/core/module/battle/buff/buffitem/BleedBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/BleedBuff.js +46 -0
- package/dist/core/module/battle/buff/buffitem/BlizzardBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BlizzardBuff.js +60 -0
- package/dist/core/module/battle/buff/buffitem/BounceCutDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BounceCutDamageBuff.js +39 -0
- package/dist/core/module/battle/buff/buffitem/BulletDeviationBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/BulletDeviationBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/BurnBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/BurnBuff.js +64 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionBuff.js +47 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionTypeBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionTypeBuff.js +42 -0
- package/dist/core/module/battle/buff/buffitem/ChangeEntityStepBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeEntityStepBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpAddDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpAddDamageBuff.js +86 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpTimeBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpTimeBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ChangeStateBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeStateBuff.js +46 -0
- package/dist/core/module/battle/buff/buffitem/ChillBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ChillBuff.js +28 -0
- package/dist/core/module/battle/buff/buffitem/ClearBuffBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/ClearBuffBuff.js +25 -0
- package/dist/core/module/battle/buff/buffitem/CurHpDamBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/CurHpDamBuff.js +48 -0
- package/dist/core/module/battle/buff/buffitem/CurseBuff.d.ts +14 -0
- package/dist/core/module/battle/buff/buffitem/CurseBuff.js +74 -0
- package/dist/core/module/battle/buff/buffitem/CutSkillCdBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/CutSkillCdBuff.js +73 -0
- package/dist/core/module/battle/buff/buffitem/DamMarkBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/DamMarkBuff.js +50 -0
- package/dist/core/module/battle/buff/buffitem/DebuffAddAttrBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/DebuffAddAttrBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/DeltaUseSkillBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/DeltaUseSkillBuff.js +112 -0
- package/dist/core/module/battle/buff/buffitem/DiceAddAttrBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/DiceAddAttrBuff.js +55 -0
- package/dist/core/module/battle/buff/buffitem/DisarmBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/DisarmBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/DizzinessBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/DizzinessBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/DominationBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/DominationBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ElectricMarkBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ElectricMarkBuff.js +25 -0
- package/dist/core/module/battle/buff/buffitem/ElectrifyBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/ElectrifyBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/EnemyBuff1Buff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/EnemyBuff1Buff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/EnemyRatioBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/EnemyRatioBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/FixedProjectileNumBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/FixedProjectileNumBuff.js +42 -0
- package/dist/core/module/battle/buff/buffitem/FollowMainEntityBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/FollowMainEntityBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/ForceTargetBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ForceTargetBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/FrozenBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/FrozenBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/HaulBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/HaulBuff.js +50 -0
- package/dist/core/module/battle/buff/buffitem/HightHpAddCritBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/HightHpAddCritBuff.js +55 -0
- package/dist/core/module/battle/buff/buffitem/HitBoundAddDamageBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/HitBoundAddDamageBuff.js +78 -0
- package/dist/core/module/battle/buff/buffitem/HitEnemyAddDamBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/HitEnemyAddDamBuff.js +65 -0
- package/dist/core/module/battle/buff/buffitem/HornBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/HornBuff.js +78 -0
- package/dist/core/module/battle/buff/buffitem/HpAddDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/HpAddDamageBuff.js +66 -0
- package/dist/core/module/battle/buff/buffitem/HpShieldBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/HpShieldBuff.js +24 -0
- package/dist/core/module/battle/buff/buffitem/IceShieldBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/IceShieldBuff.js +38 -0
- package/dist/core/module/battle/buff/buffitem/IcicleBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/IcicleBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/ImmueChillBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueChillBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDisarmBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDisarmBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDizzinessBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDizzinessBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueElectrifyBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueElectrifyBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueFrozenBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueFrozenBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueParalysisBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueParalysisBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueRepelBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueRepelBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlayBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlayBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlowBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlowBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueVulnerableBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueVulnerableBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneDizzinessBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneDizzinessBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneFrozenBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneFrozenBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneParalysisBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneParalysisBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/InDebuffAddAttrBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/InDebuffAddAttrBuff.js +55 -0
- package/dist/core/module/battle/buff/buffitem/InvicibleBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/InvicibleBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/LastSkillNumAddDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/LastSkillNumAddDamageBuff.js +51 -0
- package/dist/core/module/battle/buff/buffitem/LinkCurseBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/LinkCurseBuff.js +131 -0
- package/dist/core/module/battle/buff/buffitem/LinkLogBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/LinkLogBuff.js +24 -0
- package/dist/core/module/battle/buff/buffitem/LockOffsetBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/LockOffsetBuff.js +22 -0
- package/dist/core/module/battle/buff/buffitem/LockTargetBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/LockTargetBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/LvAddDamBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/LvAddDamBuff.js +39 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapProjectBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapProjectBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapTimeBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapTimeBuff.js +114 -0
- package/dist/core/module/battle/buff/buffitem/MaxHpDamBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/MaxHpDamBuff.js +48 -0
- package/dist/core/module/battle/buff/buffitem/MirrorUseSkillBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/MirrorUseSkillBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/ModifyInHitBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ModifyInHitBuff.js +72 -0
- package/dist/core/module/battle/buff/buffitem/ModifyProjectileAttrBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/ModifyProjectileAttrBuff.js +69 -0
- package/dist/core/module/battle/buff/buffitem/MonitorBuff.d.ts +19 -0
- package/dist/core/module/battle/buff/buffitem/MonitorBuff.js +203 -0
- package/dist/core/module/battle/buff/buffitem/NotAllowSplitBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/NotAllowSplitBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ParalysisBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ParalysisBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/PosionBuff.d.ts +15 -0
- package/dist/core/module/battle/buff/buffitem/PosionBuff.js +85 -0
- package/dist/core/module/battle/buff/buffitem/PosionExtraAddBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/PosionExtraAddBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/PowerUpAddDamBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/PowerUpAddDamBuff.js +70 -0
- package/dist/core/module/battle/buff/buffitem/PriorityTargetBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/PriorityTargetBuff.js +58 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileAlignShootBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileAlignShootBuff.js +97 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateDamageBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateDamageBuff.js +62 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateScaleBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateScaleBuff.js +65 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCrossDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCrossDamageBuff.js +73 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileHitByTimesBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileHitByTimesBuff.js +86 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileOrbLinkBuff.d.ts +30 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileOrbLinkBuff.js +393 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileRandomDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileRandomDamageBuff.js +42 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileScaleUpBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileScaleUpBuff.js +87 -0
- package/dist/core/module/battle/buff/buffitem/ProtectBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ProtectBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/RandomDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/RandomDamageBuff.js +81 -0
- package/dist/core/module/battle/buff/buffitem/RangeAtrBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/RangeAtrBuff.js +62 -0
- package/dist/core/module/battle/buff/buffitem/ReduceAtrBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ReduceAtrBuff.js +49 -0
- package/dist/core/module/battle/buff/buffitem/RepelBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/RepelBuff.js +82 -0
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.js +109 -0
- package/dist/core/module/battle/buff/buffitem/RestoreSkillNumBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/RestoreSkillNumBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/SameHitAddDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/SameHitAddDamageBuff.js +53 -0
- package/dist/core/module/battle/buff/buffitem/ScaleBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ScaleBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/SearBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/SearBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/SetSelectBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/SetSelectBuff.js +41 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAddDamBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAddDamBuff.js +46 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAndSpeedBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAndSpeedBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/ShootAddDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ShootAddDamageBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/SlayBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/SlayBuff.js +62 -0
- package/dist/core/module/battle/buff/buffitem/SlowBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SlowBuff.js +25 -0
- package/dist/core/module/battle/buff/buffitem/SneakBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SneakBuff.js +31 -0
- package/dist/core/module/battle/buff/buffitem/SprintBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/SprintBuff.js +71 -0
- package/dist/core/module/battle/buff/buffitem/StableBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/StableBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/StateChangeBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/StateChangeBuff.js +71 -0
- package/dist/core/module/battle/buff/buffitem/StorageBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/StorageBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/SurgeBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SurgeBuff.js +28 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindShieldBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindShieldBuff.js +60 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindWallBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindWallBuff.js +38 -0
- package/dist/core/module/battle/buff/buffitem/TeleportBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/TeleportBuff.js +85 -0
- package/dist/core/module/battle/buff/buffitem/TimeAddDamageBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/TimeAddDamageBuff.js +84 -0
- package/dist/core/module/battle/buff/buffitem/TowerCritBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/TowerCritBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/VulnerableBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/VulnerableBuff.js +27 -0
- package/dist/core/module/battle/buff/buffitem/index.d.ts +122 -0
- package/dist/core/module/battle/buff/buffitem/index.js +134 -0
- package/dist/core/module/battle/collider/Collider.d.ts +60 -0
- package/dist/core/module/battle/collider/Collider.js +54 -0
- package/dist/core/module/battle/collider/ColliderPool.d.ts +15 -0
- package/dist/core/module/battle/collider/ColliderPool.js +60 -0
- package/dist/core/module/battle/collider/QuadTree.d.ts +48 -0
- package/dist/core/module/battle/collider/QuadTree.js +192 -0
- package/dist/core/module/battle/entity/BaseEntityData.d.ts +141 -0
- package/dist/core/module/battle/entity/BaseEntityData.js +355 -0
- package/dist/core/module/battle/entity/DragonBodyData.d.ts +16 -0
- package/dist/core/module/battle/entity/DragonBodyData.js +32 -0
- package/dist/core/module/battle/entity/DragonData.d.ts +15 -0
- package/dist/core/module/battle/entity/DragonData.js +31 -0
- package/dist/core/module/battle/entity/EntityPool.d.ts +13 -0
- package/dist/core/module/battle/entity/EntityPool.js +60 -0
- package/dist/core/module/battle/entity/EntityPoolSpawner.d.ts +5 -0
- package/dist/core/module/battle/entity/EntityPoolSpawner.js +67 -0
- package/dist/core/module/battle/entity/FighterData.d.ts +131 -0
- package/dist/core/module/battle/entity/FighterData.js +466 -0
- package/dist/core/module/battle/entity/ProjectileData.d.ts +107 -0
- package/dist/core/module/battle/entity/ProjectileData.js +262 -0
- package/dist/core/module/battle/entity/RoleData.d.ts +11 -0
- package/dist/core/module/battle/entity/RoleData.js +43 -0
- package/dist/core/module/battle/entity/index.d.ts +8 -0
- package/dist/core/module/battle/entity/index.js +20 -0
- package/dist/core/module/battle/event/EntityEvent.d.ts +80 -0
- package/dist/core/module/battle/event/EntityEvent.js +84 -0
- package/dist/core/module/battle/event/EntityEventBus.d.ts +27 -0
- package/dist/core/module/battle/event/EntityEventBus.js +73 -0
- package/dist/core/module/battle/event/EventBind.d.ts +35 -0
- package/dist/core/module/battle/event/EventBind.js +93 -0
- package/dist/core/module/battle/event/EventListener.d.ts +60 -0
- package/dist/core/module/battle/event/EventListener.js +360 -0
- package/dist/core/module/battle/event/GameEvent.d.ts +44 -0
- package/dist/core/module/battle/event/GameEvent.js +52 -0
- package/dist/core/module/battle/factory/FighterFactory.d.ts +14 -0
- package/dist/core/module/battle/factory/FighterFactory.js +237 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStateTransitions.d.ts +59 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStateTransitions.js +183 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStates.d.ts +108 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStates.js +560 -0
- package/dist/core/module/battle/fsm-state/Boss18110CallState.d.ts +19 -0
- package/dist/core/module/battle/fsm-state/Boss18110CallState.js +49 -0
- package/dist/core/module/battle/fsm-state/Boss18110State.d.ts +15 -0
- package/dist/core/module/battle/fsm-state/Boss18110State.js +38 -0
- package/dist/core/module/battle/fsm-state/Boss18110Transitions.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/Boss18110Transitions.js +52 -0
- package/dist/core/module/battle/fsm-state/DragonBodyFighterStates.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/DragonBodyFighterStates.js +27 -0
- package/dist/core/module/battle/fsm-state/DragonFighterStates.d.ts +22 -0
- package/dist/core/module/battle/fsm-state/DragonFighterStates.js +162 -0
- package/dist/core/module/battle/fsm-state/FighterStateMachine.d.ts +7 -0
- package/dist/core/module/battle/fsm-state/FighterStateMachine.js +50 -0
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.d.ts +18 -0
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.js +109 -0
- package/dist/core/module/battle/fsm-state/FighterStateRegistry.d.ts +25 -0
- package/dist/core/module/battle/fsm-state/FighterStateRegistry.js +73 -0
- package/dist/core/module/battle/fsm-state/FighterStateShared.d.ts +23 -0
- package/dist/core/module/battle/fsm-state/FighterStateShared.js +274 -0
- package/dist/core/module/battle/fsm-state/FighterStateTransition.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/FighterStateTransition.js +15 -0
- package/dist/core/module/battle/fsm-state/FighterStateType.d.ts +17 -0
- package/dist/core/module/battle/fsm-state/FighterStateType.js +21 -0
- package/dist/core/module/battle/fsm-state/index.d.ts +7 -0
- package/dist/core/module/battle/fsm-state/index.js +19 -0
- package/dist/core/module/battle/manager/EntityManager.d.ts +10 -0
- package/dist/core/module/battle/manager/EntityManager.js +219 -0
- package/dist/core/module/battle/render/RenderModule.d.ts +10 -0
- package/dist/core/module/battle/render/RenderModule.js +19 -0
- package/dist/core/module/battle/skill/SkillData.d.ts +23 -0
- package/dist/core/module/battle/skill/SkillData.js +23 -0
- package/dist/core/module/battle/skill/emitter/SkillDirectEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillDirectEmitter.js +98 -0
- package/dist/core/module/battle/skill/emitter/SkillEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillEmitter.js +60 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomDirEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomDirEmitter.js +68 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomIndexEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomIndexEmitter.js +71 -0
- package/dist/core/module/battle/skill/emitter/index.d.ts +4 -0
- package/dist/core/module/battle/skill/emitter/index.js +16 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter.d.ts +30 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter.js +120 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter0.d.ts +8 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter0.js +39 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter1.d.ts +24 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter1.js +162 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter10.d.ts +40 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter10.js +229 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter11.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter11.js +39 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter12.d.ts +9 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter12.js +53 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter13.d.ts +77 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter13.js +431 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter14.d.ts +24 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter14.js +112 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter15.d.ts +17 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter15.js +107 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter16.d.ts +23 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter16.js +116 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter17.d.ts +26 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter17.js +81 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter18.d.ts +17 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter18.js +86 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter19.d.ts +57 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter19.js +327 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter2.d.ts +13 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter2.js +81 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter20.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter20.js +49 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter21.d.ts +21 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter21.js +103 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter22.d.ts +18 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter22.js +68 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter23.d.ts +33 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter23.js +130 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter24.d.ts +31 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter24.js +139 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter25.d.ts +16 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter25.js +60 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter26.d.ts +30 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter26.js +72 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter27.d.ts +19 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter27.js +74 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter28.d.ts +25 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter28.js +212 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter29.d.ts +49 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter29.js +359 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter3.d.ts +74 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter3.js +420 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter4.d.ts +76 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter4.js +413 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter5.d.ts +9 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter5.js +42 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter6.d.ts +18 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter6.js +111 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter7.d.ts +36 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter7.js +114 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter8.d.ts +24 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter8.js +253 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter9.d.ts +9 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter9.js +56 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitterShared.d.ts +45 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitterShared.js +68 -0
- package/dist/core/module/battle/skill/emitter/projectiles/index.d.ts +32 -0
- package/dist/core/module/battle/skill/emitter/projectiles/index.js +44 -0
- package/dist/core/module/battle/skill/impacts/Impact0.d.ts +7 -0
- package/dist/core/module/battle/skill/impacts/Impact0.js +20 -0
- package/dist/core/module/battle/skill/impacts/Impact1.d.ts +14 -0
- package/dist/core/module/battle/skill/impacts/Impact1.js +77 -0
- package/dist/core/module/battle/skill/impacts/Impact10.d.ts +13 -0
- package/dist/core/module/battle/skill/impacts/Impact10.js +55 -0
- package/dist/core/module/battle/skill/impacts/Impact11.d.ts +11 -0
- package/dist/core/module/battle/skill/impacts/Impact11.js +33 -0
- package/dist/core/module/battle/skill/impacts/Impact12.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact12.js +35 -0
- package/dist/core/module/battle/skill/impacts/Impact13.d.ts +14 -0
- package/dist/core/module/battle/skill/impacts/Impact13.js +49 -0
- package/dist/core/module/battle/skill/impacts/Impact14.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact14.js +36 -0
- package/dist/core/module/battle/skill/impacts/Impact15.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact15.js +35 -0
- package/dist/core/module/battle/skill/impacts/Impact16.d.ts +12 -0
- package/dist/core/module/battle/skill/impacts/Impact16.js +33 -0
- package/dist/core/module/battle/skill/impacts/Impact17.d.ts +12 -0
- package/dist/core/module/battle/skill/impacts/Impact17.js +39 -0
- package/dist/core/module/battle/skill/impacts/Impact18.d.ts +12 -0
- package/dist/core/module/battle/skill/impacts/Impact18.js +33 -0
- package/dist/core/module/battle/skill/impacts/Impact2.d.ts +16 -0
- package/dist/core/module/battle/skill/impacts/Impact2.js +89 -0
- package/dist/core/module/battle/skill/impacts/Impact3.d.ts +30 -0
- package/dist/core/module/battle/skill/impacts/Impact3.js +254 -0
- package/dist/core/module/battle/skill/impacts/Impact4.d.ts +11 -0
- package/dist/core/module/battle/skill/impacts/Impact4.js +27 -0
- package/dist/core/module/battle/skill/impacts/Impact5.d.ts +18 -0
- package/dist/core/module/battle/skill/impacts/Impact5.js +211 -0
- package/dist/core/module/battle/skill/impacts/Impact6.d.ts +19 -0
- package/dist/core/module/battle/skill/impacts/Impact6.js +105 -0
- package/dist/core/module/battle/skill/impacts/Impact7.d.ts +13 -0
- package/dist/core/module/battle/skill/impacts/Impact7.js +40 -0
- package/dist/core/module/battle/skill/impacts/Impact8.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact8.js +28 -0
- package/dist/core/module/battle/skill/impacts/Impact9.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact9.js +32 -0
- package/dist/core/module/battle/skill/impacts/Impact99.d.ts +13 -0
- package/dist/core/module/battle/skill/impacts/Impact99.js +40 -0
- package/dist/core/module/battle/skill/impacts/ImpactRegistry.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/ImpactRegistry.js +28 -0
- package/dist/core/module/battle/skill/impacts/SkillImpact.d.ts +25 -0
- package/dist/core/module/battle/skill/impacts/SkillImpact.js +33 -0
- package/dist/core/module/battle/skill/impacts/SkillImpactShared.d.ts +3 -0
- package/dist/core/module/battle/skill/impacts/SkillImpactShared.js +6 -0
- package/dist/core/module/battle/skill/impacts/index.d.ts +23 -0
- package/dist/core/module/battle/skill/impacts/index.js +35 -0
- package/dist/core/module/battle/skill/pool/SkillEmitterPool.d.ts +10 -0
- package/dist/core/module/battle/skill/pool/SkillEmitterPool.js +30 -0
- package/dist/core/module/battle/skill/pool/SkillImpactPool.d.ts +13 -0
- package/dist/core/module/battle/skill/pool/SkillImpactPool.js +45 -0
- package/dist/core/module/battle/system/BornSystem.d.ts +32 -0
- package/dist/core/module/battle/system/BornSystem.js +776 -0
- package/dist/core/module/battle/system/BuffSystem.d.ts +35 -0
- package/dist/core/module/battle/system/BuffSystem.js +431 -0
- package/dist/core/module/battle/system/CollisionSystem.d.ts +78 -0
- package/dist/core/module/battle/system/CollisionSystem.js +638 -0
- package/dist/core/module/battle/system/DebugSystem.d.ts +21 -0
- package/dist/core/module/battle/system/DebugSystem.js +42 -0
- package/dist/core/module/battle/system/DestroySystem.d.ts +13 -0
- package/dist/core/module/battle/system/DestroySystem.js +84 -0
- package/dist/core/module/battle/system/EntityBoundsSystem.d.ts +9 -0
- package/dist/core/module/battle/system/EntityBoundsSystem.js +32 -0
- package/dist/core/module/battle/system/FsmSystem.d.ts +12 -0
- package/dist/core/module/battle/system/FsmSystem.js +41 -0
- package/dist/core/module/battle/system/GameSystem.d.ts +12 -0
- package/dist/core/module/battle/system/GameSystem.js +10 -0
- package/dist/core/module/battle/system/InputSystem.d.ts +21 -0
- package/dist/core/module/battle/system/InputSystem.js +146 -0
- package/dist/core/module/battle/system/MarkCaptureSystem.d.ts +9 -0
- package/dist/core/module/battle/system/MarkCaptureSystem.js +25 -0
- package/dist/core/module/battle/system/ProjectileSystem.d.ts +23 -0
- package/dist/core/module/battle/system/ProjectileSystem.js +301 -0
- package/dist/core/module/battle/system/SkillSystem.d.ts +92 -0
- package/dist/core/module/battle/system/SkillSystem.js +393 -0
- package/dist/core/module/battle/system/TimeSystem.d.ts +7 -0
- package/dist/core/module/battle/system/TimeSystem.js +14 -0
- package/dist/core/module/battle/target/CloseAngleTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/CloseAngleTargetSelection.js +54 -0
- package/dist/core/module/battle/target/CloseDownTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/CloseDownTargetSelection.js +63 -0
- package/dist/core/module/battle/target/CloseTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/CloseTargetSelection.js +65 -0
- package/dist/core/module/battle/target/FarTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/FarTargetSelection.js +54 -0
- package/dist/core/module/battle/target/PriorityBossTargetSelection.js +52 -0
- package/dist/core/module/battle/target/PriorityTypeTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/PriorityTypeTargetSelection.js +74 -0
- package/dist/core/module/battle/target/RandomRangeTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RandomRangeTargetSelection.js +42 -0
- package/dist/core/module/battle/target/RandomTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RandomTargetSelection.js +50 -0
- package/dist/core/module/battle/target/RectRandomTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RectRandomTargetSelection.js +25 -0
- package/dist/core/module/battle/target/SelfRandomTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfRandomTargetSelection.js +48 -0
- package/dist/core/module/battle/target/SelfRandomTowerTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfRandomTowerTargetSelection.js +33 -0
- package/dist/core/module/battle/target/SelfRoleTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfRoleTargetSelection.js +13 -0
- package/dist/core/module/battle/target/SelfTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfTargetSelection.js +12 -0
- package/dist/core/module/battle/target/TargetSelection.d.ts +16 -0
- package/dist/core/module/battle/target/TargetSelection.js +43 -0
- package/dist/core/module/battle/target/index.d.ts +12 -0
- package/dist/core/module/battle/target/index.js +24 -0
- package/dist/core/module/battle/util/BRect.d.ts +18 -0
- package/dist/core/module/battle/util/BRect.js +26 -0
- package/dist/core/module/battle/util/BSize.d.ts +10 -0
- package/dist/core/module/battle/util/BSize.js +12 -0
- package/dist/core/module/battle/util/BVec2.d.ts +58 -0
- package/dist/core/module/battle/util/BVec2.js +247 -0
- package/dist/core/module/battle/util/BattleAudioAdpater.d.ts +4 -0
- package/dist/core/module/battle/util/BattleAudioAdpater.js +10 -0
- package/dist/core/module/battle/util/BattleConfig.d.ts +10 -0
- package/dist/core/module/battle/util/BattleConfig.js +25 -0
- package/dist/core/module/battle/util/BattleInputCodec.d.ts +35 -0
- package/dist/core/module/battle/util/BattleInputCodec.js +184 -0
- package/dist/core/module/battle/util/BattleUtils.d.ts +46 -0
- package/dist/core/module/battle/util/BattleUtils.js +501 -0
- package/dist/core/module/battle/util/EllipseArc.d.ts +3 -0
- package/dist/core/module/battle/util/EllipseArc.js +95 -0
- package/dist/core/module/battle/util/Hash.d.ts +7 -0
- package/dist/core/module/battle/util/Hash.js +44 -0
- package/dist/core/module/battle/util/HitDataPool.d.ts +44 -0
- package/dist/core/module/battle/util/HitDataPool.js +97 -0
- package/dist/core/module/battle/util/Intersection.d.ts +151 -0
- package/dist/core/module/battle/util/Intersection.js +696 -0
- package/dist/core/module/battle/util/JMath.d.ts +30 -0
- package/dist/core/module/battle/util/JMath.js +239 -0
- package/dist/core/module/battle/util/Random.d.ts +23 -0
- package/dist/core/module/battle/util/Random.js +113 -0
- package/dist/core/module/battle/util/SkillEffectByIdParamsPool.d.ts +3 -0
- package/dist/core/module/battle/util/SkillEffectByIdParamsPool.js +34 -0
- package/dist/core/module/guild/view/boss/GuildBossBattleModule.d.ts +29 -0
- package/dist/core/module/guild/view/boss/GuildBossBattleModule.js +216 -0
- package/dist/core/module/guild/view/boss/index.d.ts +1 -0
- package/dist/core/module/guild/view/boss/index.js +13 -0
- package/dist/core/module/module.interface.d.ts +134 -0
- package/dist/core/module/module.interface.js +44 -0
- package/dist/core/module/property/Property.d.ts +61 -0
- package/dist/core/module/property/Property.js +239 -0
- package/dist/core/module/property/PropertyUtil.d.ts +61 -0
- package/dist/core/module/property/PropertyUtil.js +284 -0
- package/dist/core/module/relicDungeon/RelicBattleModule.d.ts +11 -0
- package/dist/core/module/relicDungeon/RelicBattleModule.js +100 -0
- package/dist/core/module/relicDungeon/index.d.ts +1 -0
- package/dist/core/module/relicDungeon/index.js +13 -0
- package/dist/core/module/stage/StageBattleModule.d.ts +11 -0
- package/dist/core/module/stage/StageBattleModule.js +105 -0
- package/dist/core/module/stage/index.d.ts +1 -0
- package/dist/core/module/stage/index.js +13 -0
- package/dist/core/proto/CommonProto.d.ts +45098 -0
- package/dist/core/proto/Proto.d.ts +1016 -0
- package/dist/core/util/BattlePlayerUtil.d.ts +14 -0
- package/dist/core/util/BattlePlayerUtil.js +23 -0
- package/dist/core/util/DeepCopy.d.ts +1 -0
- package/dist/core/util/DeepCopy.js +28 -0
- package/dist/core/util/GameUtil.d.ts +213 -0
- package/dist/core/util/GameUtil.js +922 -0
- package/dist/core/util/lz-string.d.ts +12 -0
- package/dist/core/util/lz-string.js +471 -0
- package/dist/core/util/pako_inflate.d.ts +2 -0
- package/dist/core/util/pako_inflate.js +655 -0
- package/dist/db-url-resolver.js +57 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +278 -0
- package/dist/register-all.d.ts +10 -0
- package/dist/register-all.js +28 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/node_modules/cc/dist/index.d.ts +407 -0
- package/node_modules/cc/dist/index.js +1139 -0
- package/node_modules/cc/package.json +23 -0
- package/node_modules/cc/src/index.ts +1230 -0
- package/package.json +62 -4
- package/resources/config/GameJsonCfg.bin +0 -0
package/README.md
CHANGED
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Node 侧专属胶水:把 Cocos 的资源 URL 导入(`db://assets/scripts/...`)接到真实文件系统路径上。
|
|
3
|
+
*
|
|
4
|
+
* 为什么需要这个文件
|
|
5
|
+
* ------------------
|
|
6
|
+
* tsconfig 里的 paths 只在**编译期**生效,tsc 不会改写产物里的模块说明符。所以
|
|
7
|
+
* Impact5.ts 的 `import { BuffDefine } from 'db://assets/scripts/config/BuffCfg'`
|
|
8
|
+
* 编译出来仍然是 `require("db://assets/scripts/config/BuffCfg")`,而 `db://...` 是个
|
|
9
|
+
* 裸说明符,Node 会当成 npm 包名去 node_modules 里找,直接 MODULE_NOT_FOUND。
|
|
10
|
+
* tsx 能跑是因为它自己运行时会读 tsconfig 的 paths,纯 node 没有这层。
|
|
11
|
+
*
|
|
12
|
+
* 这里在 require 的解析钩子上补一发:只拦 db:// 开头的请求,换成实际路径,
|
|
13
|
+
* 其余请求原样透传。之所以选运行时打补丁而不是构建期改写产物,是为了让 dist/
|
|
14
|
+
* 保持和源码逐字对应 —— 断点、堆栈行号、报错位置都还对得上。
|
|
15
|
+
*
|
|
16
|
+
* 映射规则(和 tsconfig 的 paths 保持一致,别只改一边)
|
|
17
|
+
* ----------------------------------------------------
|
|
18
|
+
* db://assets/scripts/X -> <core>/X
|
|
19
|
+
* db://assets/X -> <core>/X (兜底)
|
|
20
|
+
*
|
|
21
|
+
* <core> 就是本文件旁边的 core/,同一行代码两种跑法都对:
|
|
22
|
+
* 源码跑(tsx index.ts) __dirname = 仓库根 -> 仓库根/core
|
|
23
|
+
* 产物跑(node dist/...) __dirname = dist/ -> dist/core
|
|
24
|
+
*
|
|
25
|
+
* 放在仓库根目录而不是 core/ 下,理由同 register-all.ts:
|
|
26
|
+
* core/ 对应 Cocos 的 assets/scripts/,Node 专属的胶水不混进去。
|
|
27
|
+
*
|
|
28
|
+
* 注意求值时机:必须在任何 db:// 导入之前跑完,所以 index.ts 第一行就 import 本文件。
|
|
29
|
+
* 入口若是别的文件,也需要自己先 import 一下。
|
|
30
|
+
*
|
|
31
|
+
* 另一个前提:产物必须是 CJS。这里用的 __dirname 和 Module._resolveFilename 都是 CJS 的东西,
|
|
32
|
+
* 哪天 module 改回 ESM 了,这个文件得跟着换成 import.meta.url + module.register 那套。
|
|
33
|
+
*/
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Node 侧专属胶水:把 Cocos 的资源 URL 导入(`db://assets/scripts/...`)接到真实文件系统路径上。
|
|
4
|
+
*
|
|
5
|
+
* 为什么需要这个文件
|
|
6
|
+
* ------------------
|
|
7
|
+
* tsconfig 里的 paths 只在**编译期**生效,tsc 不会改写产物里的模块说明符。所以
|
|
8
|
+
* Impact5.ts 的 `import { BuffDefine } from 'db://assets/scripts/config/BuffCfg'`
|
|
9
|
+
* 编译出来仍然是 `require("db://assets/scripts/config/BuffCfg")`,而 `db://...` 是个
|
|
10
|
+
* 裸说明符,Node 会当成 npm 包名去 node_modules 里找,直接 MODULE_NOT_FOUND。
|
|
11
|
+
* tsx 能跑是因为它自己运行时会读 tsconfig 的 paths,纯 node 没有这层。
|
|
12
|
+
*
|
|
13
|
+
* 这里在 require 的解析钩子上补一发:只拦 db:// 开头的请求,换成实际路径,
|
|
14
|
+
* 其余请求原样透传。之所以选运行时打补丁而不是构建期改写产物,是为了让 dist/
|
|
15
|
+
* 保持和源码逐字对应 —— 断点、堆栈行号、报错位置都还对得上。
|
|
16
|
+
*
|
|
17
|
+
* 映射规则(和 tsconfig 的 paths 保持一致,别只改一边)
|
|
18
|
+
* ----------------------------------------------------
|
|
19
|
+
* db://assets/scripts/X -> <core>/X
|
|
20
|
+
* db://assets/X -> <core>/X (兜底)
|
|
21
|
+
*
|
|
22
|
+
* <core> 就是本文件旁边的 core/,同一行代码两种跑法都对:
|
|
23
|
+
* 源码跑(tsx index.ts) __dirname = 仓库根 -> 仓库根/core
|
|
24
|
+
* 产物跑(node dist/...) __dirname = dist/ -> dist/core
|
|
25
|
+
*
|
|
26
|
+
* 放在仓库根目录而不是 core/ 下,理由同 register-all.ts:
|
|
27
|
+
* core/ 对应 Cocos 的 assets/scripts/,Node 专属的胶水不混进去。
|
|
28
|
+
*
|
|
29
|
+
* 注意求值时机:必须在任何 db:// 导入之前跑完,所以 index.ts 第一行就 import 本文件。
|
|
30
|
+
* 入口若是别的文件,也需要自己先 import 一下。
|
|
31
|
+
*
|
|
32
|
+
* 另一个前提:产物必须是 CJS。这里用的 __dirname 和 Module._resolveFilename 都是 CJS 的东西,
|
|
33
|
+
* 哪天 module 改回 ESM 了,这个文件得跟着换成 import.meta.url + module.register 那套。
|
|
34
|
+
*/
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
const Module = require("node:module");
|
|
37
|
+
const path = require("node:path");
|
|
38
|
+
const SCRIPTS_PREFIX = "db://assets/scripts/";
|
|
39
|
+
const ASSETS_PREFIX = "db://assets/";
|
|
40
|
+
/** core/ 与本文件同级:源码里是 <repo>/core,编译后是 <repo>/dist/core。 */
|
|
41
|
+
const coreRoot = path.join(__dirname, "core");
|
|
42
|
+
const originalResolveFilename = Module._resolveFilename;
|
|
43
|
+
if (!originalResolveFilename.__dbUrlPatched) {
|
|
44
|
+
const patched = function (request, ...rest) {
|
|
45
|
+
if (typeof request === "string" && request.startsWith("db://")) {
|
|
46
|
+
// 先按更长的 db://assets/scripts/ 切,再退到 db://assets/。
|
|
47
|
+
// 顺序不能反 —— 反过来 db://assets/scripts/config/X 会被切出 "scripts/config/X"。
|
|
48
|
+
const rel = request.startsWith(SCRIPTS_PREFIX)
|
|
49
|
+
? request.slice(SCRIPTS_PREFIX.length)
|
|
50
|
+
: request.slice(ASSETS_PREFIX.length);
|
|
51
|
+
return originalResolveFilename.call(this, path.join(coreRoot, rel), ...rest);
|
|
52
|
+
}
|
|
53
|
+
return originalResolveFilename.call(this, request, ...rest);
|
|
54
|
+
};
|
|
55
|
+
patched.__dbUrlPatched = true;
|
|
56
|
+
Module._resolveFilename = patched;
|
|
57
|
+
}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* cc —— Cocos Creator 引擎 API 在 Node 侧的替身实现
|
|
3
|
+
*
|
|
4
|
+
* 为什么需要它:core/ 是从 Cocos Creator 工程里抽出的战斗逻辑,源码里到处写
|
|
5
|
+
* `import { ... } from "cc"`。Node 里没有引擎,这层替身把用到的 API 按原语义补齐,
|
|
6
|
+
* 让战斗逻辑能脱离引擎跑(离线复算战斗、和回放对 hash、跑单测)。
|
|
7
|
+
*
|
|
8
|
+
* 三条原则:
|
|
9
|
+
* 1. 逻辑侧真实现。log/warn/error、js、math、director + Scheduler 是全真的,
|
|
10
|
+
* Node 下和引擎行为一致,拿到就能用。
|
|
11
|
+
* 2. 引擎侧不撒谎。Node/Vec3/资源这些只做到"能构造、不崩、语义可预期";
|
|
12
|
+
* 没实现的 API 一律不导出——用到了在编译期就报错,而不是运行期悄悄给 undefined。
|
|
13
|
+
* 3. 零依赖。只用 Node 自带能力;`node:fs` 在真要读盘时才动态 import,
|
|
14
|
+
* 保证 `import "cc"` 本身在任何宿主里都不会有副作用。
|
|
15
|
+
*
|
|
16
|
+
* 只覆盖本项目实际用到的子集,不是引擎的完整实现。以后补 API 请照引擎原语义写,
|
|
17
|
+
* 别按调用点的巧合行为写。
|
|
18
|
+
*
|
|
19
|
+
* 放在单文件里是有意的:编译产物是 ESM,一旦拆成多个文件,相对 import 就得带
|
|
20
|
+
* `.js` 后缀 Node 才解析得了;这里没有相对 import,省掉这个坑。
|
|
21
|
+
*/
|
|
22
|
+
export function log(...args: any[]): void;
|
|
23
|
+
export function warn(...args: any[]): void;
|
|
24
|
+
export function error(...args: any[]): void;
|
|
25
|
+
export const js: any;
|
|
26
|
+
export const math: any;
|
|
27
|
+
/** 引擎的 EventTarget。Node / director 都靠它做 on/off/emit */
|
|
28
|
+
export class EventTarget {
|
|
29
|
+
_listeners: any;
|
|
30
|
+
on(type: any, callback: any, target: any): void;
|
|
31
|
+
once(type: any, callback: any, target: any): void;
|
|
32
|
+
_addListener(type: any, callback: any, target: any, once: any): void;
|
|
33
|
+
/** 不传 callback 就摘掉这个 type 下的全部监听 */
|
|
34
|
+
off(type: any, callback: any, target: any): void;
|
|
35
|
+
/** 摘掉某个 target 注册的全部监听,引擎里主要在对象销毁时做清理 */
|
|
36
|
+
targetOff(target: any): void;
|
|
37
|
+
emit(type: any, ...args: any[]): void;
|
|
38
|
+
hasEventListener(type: any, callback: any, target: any): any;
|
|
39
|
+
removeAllListeners(type: any): void;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 引擎里的 Scheduler 负责跑定时器和维护 timeScale。
|
|
43
|
+
* 这里只保留 timeScale —— Time.ts 靠它做全局慢放/加速,是战斗逻辑真的会读写的状态,
|
|
44
|
+
* 所以必须真存真取,不能做成空转的桩。
|
|
45
|
+
*
|
|
46
|
+
* 定时器那部分不走这里:core 里由 Time.ts 自己的 Watcher 实现。
|
|
47
|
+
*/
|
|
48
|
+
export class Scheduler {
|
|
49
|
+
_timeScale: number;
|
|
50
|
+
_paused: boolean;
|
|
51
|
+
setTimeScale(scale: any): void;
|
|
52
|
+
getTimeScale(): number;
|
|
53
|
+
pause(): void;
|
|
54
|
+
resume(): void;
|
|
55
|
+
isPaused(): boolean;
|
|
56
|
+
}
|
|
57
|
+
export const director: Director;
|
|
58
|
+
export class CCInteger {
|
|
59
|
+
constructor(value: any);
|
|
60
|
+
value: any;
|
|
61
|
+
}
|
|
62
|
+
export class CCFloat {
|
|
63
|
+
constructor(value: any);
|
|
64
|
+
value: any;
|
|
65
|
+
}
|
|
66
|
+
export class CCBoolean {
|
|
67
|
+
constructor(value: any);
|
|
68
|
+
value: any;
|
|
69
|
+
}
|
|
70
|
+
export class CCString {
|
|
71
|
+
constructor(value: any);
|
|
72
|
+
value: any;
|
|
73
|
+
}
|
|
74
|
+
export namespace _decorator {
|
|
75
|
+
function ccclass(nameOrTarget: any): (target: any) => any;
|
|
76
|
+
function property(...args: any[]): (target: any, propertyKey: any) => void;
|
|
77
|
+
function executeInEditMode(target: any): any;
|
|
78
|
+
function requireComponent(_type: any): (target: any) => any;
|
|
79
|
+
function executionOrder(_order: any): (target: any) => any;
|
|
80
|
+
function disallowMultiple(target: any): any;
|
|
81
|
+
function allowMultiple(target: any): any;
|
|
82
|
+
function menu(_path: any): (target: any) => any;
|
|
83
|
+
function help(_url: any): (target: any) => any;
|
|
84
|
+
function type(_type: any): (target: any, _key: any) => any;
|
|
85
|
+
function integer(target: any, _key: any): any;
|
|
86
|
+
function float(target: any, _key: any): any;
|
|
87
|
+
function boolean(target: any, _key: any): any;
|
|
88
|
+
function string(target: any, _key: any): any;
|
|
89
|
+
function serializable(target: any, _key: any): any;
|
|
90
|
+
function editable(target: any, _key: any): any;
|
|
91
|
+
function override(target: any, _key: any): any;
|
|
92
|
+
function visible(target: any, _key: any): any;
|
|
93
|
+
function displayName(_name: any): (target: any, _key: any) => any;
|
|
94
|
+
function tooltip(_text: any): (target: any, _key: any) => any;
|
|
95
|
+
function range(_min: any, _max: any, _step: any): (target: any, _key: any) => any;
|
|
96
|
+
function min(_value: any): (target: any, _key: any) => any;
|
|
97
|
+
function max(_value: any): (target: any, _key: any) => any;
|
|
98
|
+
function slide(_value: any): (target: any, _key: any) => any;
|
|
99
|
+
function group(_value: any): (target: any, _key: any) => any;
|
|
100
|
+
function notify(_fn: any): (target: any, _key: any) => any;
|
|
101
|
+
}
|
|
102
|
+
/** 引擎的 Component 基类 */
|
|
103
|
+
export class Component extends EventTarget {
|
|
104
|
+
node: any;
|
|
105
|
+
enabled: boolean;
|
|
106
|
+
get name(): any;
|
|
107
|
+
get isValid(): any;
|
|
108
|
+
getComponent(type: any): any;
|
|
109
|
+
/** Node 下没有引擎主循环,生命周期回调不会被自动调用 */
|
|
110
|
+
destroy(): void;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* 引擎的 Node。
|
|
114
|
+
*
|
|
115
|
+
* 战斗逻辑只把它当"渲染层句柄"来回传(Game.getBattleHpLayer、技能回调的 node 参数),
|
|
116
|
+
* 所以这里给的是一棵真能挂能查的树 + 一套坐标,但不做任何渲染。
|
|
117
|
+
*
|
|
118
|
+
* 有意的取舍:不跑 onLoad/onEnable/update 这些生命周期——Node 下没有主循环去驱动它们,
|
|
119
|
+
* 与其假装调了,不如让它们根本不触发。
|
|
120
|
+
*/
|
|
121
|
+
export class Node extends EventTarget {
|
|
122
|
+
constructor(name?: string);
|
|
123
|
+
_name: string;
|
|
124
|
+
_active: boolean;
|
|
125
|
+
_parent: any;
|
|
126
|
+
_children: any[];
|
|
127
|
+
_components: any[];
|
|
128
|
+
_destroyed: boolean;
|
|
129
|
+
position: any;
|
|
130
|
+
scale: any;
|
|
131
|
+
worldPosition: any;
|
|
132
|
+
set name(value: string);
|
|
133
|
+
get name(): string;
|
|
134
|
+
set active(value: boolean);
|
|
135
|
+
get active(): boolean;
|
|
136
|
+
get activeInHierarchy(): any;
|
|
137
|
+
get parent(): any;
|
|
138
|
+
get children(): any[];
|
|
139
|
+
get isValid(): boolean;
|
|
140
|
+
get isDestroyed(): boolean;
|
|
141
|
+
addChild(child: any): void;
|
|
142
|
+
removeChild(child: any): void;
|
|
143
|
+
removeFromParent(): void;
|
|
144
|
+
removeAllChildren(): void;
|
|
145
|
+
setParent(value: any): void;
|
|
146
|
+
getChildByName(name: any): any;
|
|
147
|
+
isChildOf(parent: any): boolean;
|
|
148
|
+
addComponent(type: any): any;
|
|
149
|
+
getComponent(type: any): any;
|
|
150
|
+
getComponents(type: any): any[];
|
|
151
|
+
_matchComponent(component: any, type: any): boolean;
|
|
152
|
+
destroy(): void;
|
|
153
|
+
}
|
|
154
|
+
export class Label extends Component {
|
|
155
|
+
string: string;
|
|
156
|
+
fontSize: number;
|
|
157
|
+
lineHeight: number;
|
|
158
|
+
enableWrapText: boolean;
|
|
159
|
+
}
|
|
160
|
+
export class ProgressBar extends Component {
|
|
161
|
+
/** 0 ~ 1 */
|
|
162
|
+
progress: number;
|
|
163
|
+
totalLength: number;
|
|
164
|
+
}
|
|
165
|
+
export class Asset {
|
|
166
|
+
name: string;
|
|
167
|
+
_uuid: string;
|
|
168
|
+
nativeUrl: string;
|
|
169
|
+
refCount: number;
|
|
170
|
+
_destroyed: boolean;
|
|
171
|
+
get isValid(): boolean;
|
|
172
|
+
addRef(): this;
|
|
173
|
+
decRef(_autoRelease: any): this;
|
|
174
|
+
destroy(): boolean;
|
|
175
|
+
}
|
|
176
|
+
export class JsonAsset extends Asset {
|
|
177
|
+
json: any;
|
|
178
|
+
}
|
|
179
|
+
export class TextAsset extends Asset {
|
|
180
|
+
text: string;
|
|
181
|
+
}
|
|
182
|
+
/** 二进制资源。引擎里 _file 还可能是 Blob,Node 侧只会是 ArrayBuffer。 */
|
|
183
|
+
export class BufferAsset extends Asset {
|
|
184
|
+
_file: any;
|
|
185
|
+
/** 引擎语义:返回二进制数据 */
|
|
186
|
+
buffer(): any;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* 资源包。
|
|
190
|
+
*
|
|
191
|
+
* Node 下没有 asset-db,所以默认是空的:调 load/loadDir 会带着明确的错误回调返回,
|
|
192
|
+
* 不会静默给 null——省得把"没配资源"和"资源是空对象"混在一起排查。
|
|
193
|
+
*
|
|
194
|
+
* 唯一的口子是 localRoot:指向一个磁盘目录后 load/loadDir 就按下面的约定读盘。
|
|
195
|
+
* 这是给后端跑战斗用的扩展,**不是 cc 的 API**:
|
|
196
|
+
* JsonAsset → <root>/<path>.json
|
|
197
|
+
* TextAsset → <root>/<path>.txt,读不到再试 <root>/<path>
|
|
198
|
+
* BufferAsset → <root>/<path>,按二进制读(Cfg 的 gzip 配置用)
|
|
199
|
+
* asset.name → 文件名去掉扩展名,和引擎里 element.name 的取值口径对齐
|
|
200
|
+
*/
|
|
201
|
+
export class Bundle {
|
|
202
|
+
constructor(name?: string);
|
|
203
|
+
name: string;
|
|
204
|
+
/** 非 cc API:磁盘目录。设了它 load/loadDir 才真读得到东西 */
|
|
205
|
+
localRoot: any;
|
|
206
|
+
_cache: Map<any, any>;
|
|
207
|
+
load(path: any, type: any, onProgress: any, onComplete: any): void;
|
|
208
|
+
loadDir(dir: any, type: any, onProgress: any, onComplete: any): void;
|
|
209
|
+
get(path: any, _type: any): any;
|
|
210
|
+
release(path: any): void;
|
|
211
|
+
releaseAll(): void;
|
|
212
|
+
_readOne(path: any, type: any): Promise<any>;
|
|
213
|
+
_readDir(dir: any, type: any): Promise<any[]>;
|
|
214
|
+
_noSourceError(method: any, path: any): Error;
|
|
215
|
+
}
|
|
216
|
+
export const assetManager: AssetManager;
|
|
217
|
+
/** 引擎内置的 resources bundle。Cfg.ts 从这里读 config/*.json */
|
|
218
|
+
export const resources: any;
|
|
219
|
+
export const Vec2: any;
|
|
220
|
+
export const Vec3: any;
|
|
221
|
+
export const EPSILON: any;
|
|
222
|
+
export const PI: any;
|
|
223
|
+
export const HALF_PI: any;
|
|
224
|
+
export const TWO_PI: any;
|
|
225
|
+
export const RAD: any;
|
|
226
|
+
export const DEG: any;
|
|
227
|
+
export const lerp: any;
|
|
228
|
+
export const clamp: any;
|
|
229
|
+
export const clamp01: any;
|
|
230
|
+
export const toRadian: any;
|
|
231
|
+
export const toDegree: any;
|
|
232
|
+
export const randomRange: any;
|
|
233
|
+
export const randomRangeInt: any;
|
|
234
|
+
export const sign: any;
|
|
235
|
+
/** 引擎的全局单例 director */
|
|
236
|
+
declare class Director extends EventTarget {
|
|
237
|
+
static EVENT_BEFORE_UPDATE: string;
|
|
238
|
+
static EVENT_AFTER_UPDATE: string;
|
|
239
|
+
_scheduler: Scheduler;
|
|
240
|
+
_deltaTime: number;
|
|
241
|
+
_totalTime: number;
|
|
242
|
+
_totalFrames: number;
|
|
243
|
+
_paused: boolean;
|
|
244
|
+
getScheduler(): Scheduler;
|
|
245
|
+
getDeltaTime(): number;
|
|
246
|
+
getTotalTime(): number;
|
|
247
|
+
getTotalFrames(): number;
|
|
248
|
+
isPaused(): boolean;
|
|
249
|
+
pause(): void;
|
|
250
|
+
resume(): void;
|
|
251
|
+
/**
|
|
252
|
+
* 非 cc API。
|
|
253
|
+
* 引擎里时间由主循环推进,Node 下没有主循环,所以开这个口子让宿主
|
|
254
|
+
* (战斗模拟的驱动方)手动推帧。
|
|
255
|
+
*
|
|
256
|
+
* dt 不乘 timeScale:引擎里 timeScale 影响的是派发给组件的 dt,由主循环负责,
|
|
257
|
+
* 这里保持原样传入,免得和 core 自己的 Time.ts 重复缩放。
|
|
258
|
+
*/
|
|
259
|
+
tick(dt: any): void;
|
|
260
|
+
}
|
|
261
|
+
declare class AssetManager {
|
|
262
|
+
_bundles: Map<any, any>;
|
|
263
|
+
getBundle(name: any): any;
|
|
264
|
+
loadBundle(name: any, onComplete: any): void;
|
|
265
|
+
/** 非 cc API:把自建 bundle 挂进来,getBundle 才找得到 */
|
|
266
|
+
addBundle(bundle: any): any;
|
|
267
|
+
/**
|
|
268
|
+
* 从 URL 加载。Node 18+ 有全局 fetch,直接用;
|
|
269
|
+
* 小游戏/原生那套引擎下载器路径这里一概不走。
|
|
270
|
+
*/
|
|
271
|
+
loadRemote(url: any, type: any, onComplete: any): void;
|
|
272
|
+
}
|
|
273
|
+
export {};
|