Hi,
I'm setting up the leaderboard in our game but we noticed that if we save addtional leaderboard information in a storage service collection it's linked by the scoreid, can we query based in the user field? as in our case we are saving the facebook, game center and google play services ID in that field and the nickname or username in the storage collection.
So this is currently the structure
Leaderboard1
User |
Score |
ScoreId |
10001 |
500 |
1 |
10001 |
200 |
2 |
Leaderboard2
User |
Score |
ScoreId |
10001 |
100 |
3 |
10002 |
300 |
4 |
Storage Service Collection(Document)
ScoreId |
Username |
Nickname |
1 |
TestUser1 |
Test1 |
2 |
TestUser1 |
Test1 |
3 |
TestUser1 |
Test1 |
4 |
TestUser2 |
Test2 |
In this case there is unnecessary repeated information, what we want is this:
Storage Service Collection(Document)
User |
UserName |
Nickname |
10001 |
TestUser1 |
Test1 |
10002 |
TestUser2 |
Test2 |
this is important for us because we setup the app having many leaderboards(games) but the additional information is shared using the same storage service collection(which for us is like a user table), is there a way to fetch that data using the user instead of the automatic scoreid link field?
Thanks
Omar