Skip to content

Stats Data could use more documentation #9

Description

@nixxquality

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:

  1. Is the data per entry or somehow aggregated?
  2. Is there a max size on the data?
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions