Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard/TournamentCellData.cs
gamer147 0455ff649e 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.
2026-06-05 20:38:56 -04:00

58 lines
1007 B
C#

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));
}
}