Table of Contents

Class Stats

Namespace
Squiggles.Core.Data
Assembly
SquigglesCommon4X.dll

A rudimentary attempt at tracking some basic statistics about the user. Nothing "phones home" or anything. Just to provide the user meaningful data on their session time. Unfortunately, I never really finished making this part, and I'm unsure if its a feature with any demand. Most launchers manage runtime anyway so this could be completely unnecessary

public static class Stats
Inheritance
Stats
Inherited Members

Fields

FILE_PATH

private const string FILE_PATH = "stats.json"

Field Value

string

Properties

FirstTimeLaunch

public static bool FirstTimeLaunch { get; set; }

Property Value

bool

TotalPlayTime

public static float TotalPlayTime { get; set; }

Property Value

float

Methods

Load()

public static void Load()

SaveSettings()

public static void SaveSettings()