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 resourceList) { resourceList.Add(Toolbox.ResourcesManager.GetAssetTypePath(EmblemId.ToString(), ResourcesManager.AssetLoadPathType.Emblem_S)); } }