You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! This issue is not a bug, but I would like to offer some improvement for the nakama runtime.
It would be great if nk.LeaderboardRecordWrite returned a previous record, that was before current operation.
It would be useful in the caces when a user needs to Undo some operations.
For example, if I have two dependent leaderboards
all users leaderboard
the groups leaderboard, where the results of all users leaderboard are grouped by their groups
If some user reports a score:
On the first step, I need to write a record to the all users leaderboard
Then, on the second step, I need to update the groups leaderboard.
But if I have some error on the second step - it would be great to undo the first step operation and return the error.
If I have the LeaderboardRecord of the first leaderboard before the first step - it allows me to undo this operation easily. Now I need to call nk.LeaderboardRecordsList before the first step. Thanks!
The text was updated successfully, but these errors were encountered:
Hello! This issue is not a bug, but I would like to offer some improvement for the nakama runtime.
It would be great if nk.LeaderboardRecordWrite returned a previous record, that was before current operation.
It would be useful in the caces when a user needs to Undo some operations.
For example, if I have two dependent leaderboards
If some user reports a score:
On the first step, I need to write a record to the all users leaderboard
Then, on the second step, I need to update the groups leaderboard.
But if I have some error on the second step - it would be great to undo the first step operation and return the error.
If I have the LeaderboardRecord of the first leaderboard before the first step - it allows me to undo this operation easily. Now I need to call nk.LeaderboardRecordsList before the first step. Thanks!
The text was updated successfully, but these errors were encountered: