feat(battle-engine): M1 auto-copy closure (782 battle-logic files)
Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
This commit is contained in:
49
SVSim.BattleEngine/Engine/Wizard/QuestBossData.cs
Normal file
49
SVSim.BattleEngine/Engine/Wizard/QuestBossData.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using LitJson;
|
||||
|
||||
namespace Wizard;
|
||||
|
||||
public class QuestBossData
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public CardBasePrm.ClanType Class { get; set; }
|
||||
|
||||
public int CharacterId { get; set; }
|
||||
|
||||
public int Life { get; set; }
|
||||
|
||||
public long EmblemId { get; set; }
|
||||
|
||||
public long DegreeId { get; set; }
|
||||
|
||||
public int AI { get; set; }
|
||||
|
||||
public int StageId { get; set; }
|
||||
|
||||
public int Battle3dFieldId { get; set; }
|
||||
|
||||
public string BgmId { get; set; }
|
||||
|
||||
public string Skill { get; set; }
|
||||
|
||||
public string SkillDescText { get; set; }
|
||||
|
||||
public int RecoveryPoint { get; set; }
|
||||
|
||||
public QuestBossData(JsonData json)
|
||||
{
|
||||
Name = json["name"].ToString();
|
||||
Class = (CardBasePrm.ClanType)json["enemy_class"].ToInt();
|
||||
CharacterId = json["enemy_chara_id"].ToInt();
|
||||
EmblemId = json["enemy_emblem_id"].ToLong();
|
||||
DegreeId = json["enemy_degree_id"].ToLong();
|
||||
AI = json["enemy_ai_id"].ToInt();
|
||||
Life = json["enemy_life"].ToInt();
|
||||
Battle3dFieldId = json["battle3dfield_id"].ToInt();
|
||||
BgmId = json["bgm_id"].ToString();
|
||||
StageId = (json.Keys.Contains("quest_stage_id") ? json["quest_stage_id"].ToInt() : json["bossrush_stage_id"].ToInt());
|
||||
Skill = (json.Keys.Contains("enemy_skill") ? json["enemy_skill"].ToString() : string.Empty);
|
||||
SkillDescText = (json.Keys.Contains("enemy_skill_desc") ? json["enemy_skill_desc"].ToString() : string.Empty);
|
||||
RecoveryPoint = (json.Keys.Contains("recovery_point") ? json["recovery_point"].ToInt() : (-1));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user