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
Add the following text on ServerManagerLocal.cs
to allow GSV to get server data and compare with client data.
Remember to add using GSV;
of top files to be able to use Attributes.
GSVField:
Description: set special name to override field's name, also could be used as header of arrays/lists.
MaxWidth: set max width to make room for more fields in lines.
CompareField: set the field used to compare object from server and client data.
StripeLines: enable stripe lines for specific list.
CompareUI: set the field on CardUI to find respective object.
You must run the game to the tool get game data. After it was started once, it will keep the last updated data.
Game.cs
Player.cs
Card.cs
The following code was added on Slot.cs to make it show a better value at GSV.