A class in Root.Township, Alta.Analytics.UserSettingsAnalytics.
Collects the logged-in player's playtime, platform and many comfort, locomotion and graphics settings, and sends them as one analytics event.
Constructors
| Member | What it is |
|---|
UserSettingsReport(string reportTitle) | Creates an UserSettingsReport from reportTitle. |
Fields
| Member | What it is |
|---|
const string UserSettingsReportName | The event name used for the report. |
4 private and internal fields
| Member | What it is |
|---|
private readonly Dictionary<string, object> eventData | The collected setting names and values. |
private static Logger logger | NLog logger for this class. |
private readonly string reportTitle | The report title from the config, included in the data. |
private readonly int userId | The logged-in user's ID, read when the report is created. |
Methods
1 private and internal method
| Member | What it is |
|---|
private async Task PopulateEventData() | Fetches the user's statistics from the API and fills the event data from them and the current game settings. |