I want buttons to reflect specific player data.
In this case it is an invisible CardID (BigInt), and two text fields that display the name and card level.
Using the CardID, I would like to read the database so that all cards that have this CardID as ParentID are displayed below
have saved, i.e. all subordinate maps.
This is much easier than assigning each card a single place in the structure, which is intended to be built like a family tree.
Unfortunately, I don’t know exactly how to do this in the best way.
Can I actually assign the three variables I mentioned to a new button?
I’m currently working on reading the data from the database
and save them:
Then I have to assign them from there when instantiating.
Before I instantiate the buttons, I will take a closer look at the UI toolkit, which was recommended to me here in the forum.