Game State Visualizer
The perfect tool to debug server data and find differences with client and UI.
Last updated
The perfect tool to debug server data and find differences with client and UI.
Last updated
[GSVField]
public GameState state = GameState.Connecting;
[GSVField]
public GamePhase phase = GamePhase.None;
//Players
[GSVField(description:"Players", compare_field: "player_id")]
public Player[] players;
//Selector
[GSVField]
public SelectorType selector = SelectorType.None;
[GSVField]
public int selector_player_id = 0;
[GSVField]
public string selector_ability_id;
[GSVField]
public string selector_caster_uid;[GSVField]
public int player_id;
[GSVField]
public int hp;
[GSVField]
public int hp_max;
[GSVField]
public int mana = 0;
[GSVField]
public int mana_max = 0;
[GSVField]
public int kill_count = 0;
[GSVField(description: "Deck", stripe_lines:true)]
public List<Card> cards_deck = new List<Card>();
[GSVField(description: "Hand", stripe_lines: true)]
public List<Card> cards_hand = new List<Card>();
[GSVField(description: "Board", stripe_lines: true)]
public List<Card> cards_board = new List<Card>();[GSVField]
public string card_id;
[GSVField(max_width: 75)]
public Slot slot;
[GSVField]
public string card_id;
[GSVField(max_width: 75)]
public Slot slot;
[GSVField(max_width: 75)]
public int mana = 0;
[GSVField(max_width: 75)]
public int attack = 0;
[GSVField(max_width: 75)]
public int hp = 0;public override string ToString()
{
return $"[{x},{y}]";
}