Location
https://sbox.game/dev/doc/systems/services/
Summary
The current documentation is as follows:
You can also add data when calling SetValue. This is in the format of a Dictionary<string, object> and this data is available when querying leaderboards.
It leaves me with the following questions:
- Is the data per entry or somehow aggregated?
- Is there a max size on the data?
- How do I get the data back? My initial check in the API reference didn't tell me anything as I was looking at
Leaderboards.Board but I guess Leaderboards.Board2 has some relevancy here. An example would be helpful.
Basically, I'm doing something like a card game and I want to store players' winning hands.
I can put their score in as the number value for the stat, but I'd also want to remember their cards.
As it stands, I would have to experiment quite a bit to find out if what I'm trying to do is even possible.
Location
https://sbox.game/dev/doc/systems/services/
Summary
The current documentation is as follows:
It leaves me with the following questions:
Leaderboards.Boardbut I guessLeaderboards.Board2has some relevancy here. An example would be helpful.Basically, I'm doing something like a card game and I want to store players' winning hands.
I can put their score in as the number value for the stat, but I'd also want to remember their cards.
As it stands, I would have to experiment quite a bit to find out if what I'm trying to do is even possible.