Ask a Question

Ask a Question
Back to All

How do you subscribe to game public stats?

I've created some game public stats that are updated via microservice. (CurrentClass, Location)
I'd like to have the client subscribe to updates made to these stats.
On the context I'm subscribing by
Stats.OnUpdated += StatsUpdated;

When logging the output of the subscription I see
Stats updated: {"_data":{"keys":["avatar","alias"],"values":[{},{}]}}

These are just the client public stats
is there a way to subscribe to the game public ones?
Looks like internally it uses a
private IDependencyProviderScope _serviceScope;
but not sure if that is something I can set