question

Joshua Strunk avatar image
Joshua Strunk asked

Getting resulting statistics after updating them.

Is there any way when updating a statistic to get back the resulting value without calling get___Statistics again or manually applying the aggregation method to an already cached statistic?

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

·
brendan avatar image
brendan answered

We'll be providing a way to subscribe to PlayStream events in the near future, which will allow you to subscribe to receive the statistic events for your player. I'm also adding a backlog item for the UpdatePlayerStatistics calls to return the updated statistic values, as the addition of statistic aggregation methods does make that a good update (and it's not a breaking change, since those calls don't return anything right now).

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.