feat(battle-engine): EffectType full enum + collection/card/vfx extension copies
Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
This commit is contained in:
57
SVSim.BattleEngine/Engine/Wizard/TournamentCellData.cs
Normal file
57
SVSim.BattleEngine/Engine/Wizard/TournamentCellData.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System.Collections.Generic;
|
||||
using Cute;
|
||||
|
||||
namespace Wizard;
|
||||
|
||||
public class TournamentCellData
|
||||
{
|
||||
public enum CellState
|
||||
{
|
||||
Blank,
|
||||
Unresolved,
|
||||
Active,
|
||||
Win,
|
||||
Lose,
|
||||
LoseByDefault
|
||||
}
|
||||
|
||||
public enum LineType
|
||||
{
|
||||
Down,
|
||||
Up
|
||||
}
|
||||
|
||||
public CellState State;
|
||||
|
||||
public LineType Line;
|
||||
|
||||
public bool IsChampion;
|
||||
|
||||
public bool IsTerminal;
|
||||
|
||||
public bool IsPreExtra;
|
||||
|
||||
public long EmblemId;
|
||||
|
||||
public string Name;
|
||||
|
||||
public TournamentCellData Parent;
|
||||
|
||||
public TournamentCellData[] Children;
|
||||
|
||||
public TournamentRoundData Round;
|
||||
|
||||
public int ViewerId;
|
||||
|
||||
public bool IsFinalMatchReset;
|
||||
|
||||
public string GetEmblemPath()
|
||||
{
|
||||
return Toolbox.ResourcesManager.GetAssetTypePath(EmblemId.ToString(), ResourcesManager.AssetLoadPathType.Emblem_S, isfetch: true);
|
||||
}
|
||||
|
||||
public void CollectResourcePath(ref List<string> resourceList)
|
||||
{
|
||||
resourceList.Add(Toolbox.ResourcesManager.GetAssetTypePath(EmblemId.ToString(), ResourcesManager.AssetLoadPathType.Emblem_S));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user