public Hunterpie() { // Initialize debugger and theme Debugger.InitializeDebugger(); UserSettings.InitializePlayerConfig(); LoadCustomTheme(); Debugger.LoadNewColors(); InitializeComponent(); OpenDebugger(); AppDomain.CurrentDomain.UnhandledException += ExceptionLogger; // Initialize everything under this line if (!CheckIfUpdateEnableAndStart()) { return; } InitializeTrayIcon(); // Updates version_text this.version_text.Content = $"Version: {HUNTERPIE_VERSION} ({UserSettings.PlayerConfig.HunterPie.Update.Branch})"; Debugger.Warn("Initializing HunterPie!"); GStrings.InitStrings(UserSettings.PlayerConfig.HunterPie.Language); MonsterData.LoadMonsterData(); AbnormalityData.LoadAbnormalityData(); SetHotKeys(); StartEverything(); }
private void LoadData() { MonsterData.LoadMonsterData(); AbnormalityData.LoadAbnormalityData(); }
private void LoadData() { GStrings.InitStrings(UserSettings.PlayerConfig.HunterPie.Language); MonsterData.LoadMonsterData(); AbnormalityData.LoadAbnormalityData(); }