question

Benjamin Golinvaux avatar image
Benjamin Golinvaux asked

Leaderboards - sorting on multiple keys

Hello

I understand that Leaderboards v1 does not allow sorting on multiple keys.

In order to work around this, I have a specific question:

Are leaderboard values stored as signed 32-bit integers (that would give me 31 bits of effective space for values, unless I am mistaken) or unsigned (where I could use the full 32 bits) ?

This might be important as we have three keys that we'd like to stuff in there :)

Thanks in advance

--Benjamin

Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Made Wang avatar image
Made Wang answered

The value of the leaderboard is the statistics, which is of type int32 (signed 32-bit integer).

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.