This commit is contained in:
SoulliesOfficial
2026-04-01 12:23:27 -04:00
parent aff7ac0e03
commit c3b1561375
933 changed files with 114333 additions and 119360 deletions

View File

@@ -64,6 +64,11 @@ namespace Continentis.Mods
[ListDrawerSettings(ShowIndexLabels = false)]
public List<string> equipmentDataIDList = new List<string>();
[BoxGroup("资产列表")]
[LabelText("CombatNode Data ID 列表")]
[ListDrawerSettings(ShowIndexLabels = false)]
public List<string> combatDataIDList = new List<string>();
[BoxGroup("资产列表")]
[LabelText("HUD Data ID 列表")]
[ListDrawerSettings(ShowIndexLabels = false)]
@@ -80,6 +85,7 @@ namespace Continentis.Mods
SaveIDListToDatabase<CardData>(host, cardDataIDList);
SaveIDListToDatabase<CharacterData>(host, characterDataIDList);
SaveIDListToDatabase<EquipmentData>(host, equipmentDataIDList);
SaveIDListToDatabase<CombatNodeData>(host, combatDataIDList);
SaveIDListToDatabase<HUDData>(host, hudDataIDList);
// 加载此 Mod 的 EditorBaseCollection含意图图标 Sprite 等运行时资源)
@@ -137,6 +143,7 @@ namespace Continentis.Mods
CollectAllCardData();
CollectAllCharacterData();
CollectAllEquipmentData();
CollectAllCombatData();
CollectAllHUDData();
CollectAllLocalizations();
CollectEditorBaseCollection();
@@ -176,6 +183,14 @@ namespace Continentis.Mods
EditorUtility.SetDirty(this);
}
[FoldoutGroup("工具/分别收集")]
[Button("收集 CombatNodeData")]
private void CollectAllCombatData()
{
combatDataIDList = CollectData<CombatNodeData>();
EditorUtility.SetDirty(this);
}
[FoldoutGroup("工具/分别收集")]
[Button("收集 HUDData")]
private void CollectAllHUDData()