Class StatsService
- Namespace
- PlayEveryWare.EpicOnlineServices
public class StatsService : EOSService, IDisposable
- Inheritance
-
StatsService
- Implements
- Inherited Members
Properties
Instance
Accessor for the instance.
public static StatsService Instance { get; }
Property Value
Methods
~StatsService()
protected ~StatsService()
IngestStatAsync(string, int)
Ingest a given stat for the current player.
public Task IngestStatAsync(string statName, int ingestAmount)
Parameters
Returns
- Task
A task so that this function can be awaitable.
InternalRefreshAsync()
Implementation of this function should refresh the locally cached data managed by the service manager in question.
protected override Task InternalRefreshAsync()
Returns
OnLoggedIn()
Implement this method to perform tasks when a user authenticates. By default, there is no action taken.
protected override void OnLoggedIn()
Reset()
This method clears all state for the service. If overridden in an implementing class, this base implementation should be called at the end of that implementation. Implementing classes probably should override this function.
protected override void Reset()