private static void LoadNullDefaults()
{
var offsetSettings = SettingsProvider.Load<OffsetSettings>();
if (offsetSettings.RocketLeague == null)
offsetSettings.RocketLeague = new GamePointersCollection
{
Game = "RocketLeague",
GameVersion = "1.21",
GameAddresses = new List<GamePointer>
{
new GamePointer
{
Description = "Boost",
BasePointer = new IntPtr(0x016AD528),
Offsets = new[] {0x304, 0x8, 0x50, 0x720, 0x224}
}
}
};
offsetSettings.Save();
}
}