示例#1
0
 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();
 }
示例#2
0
 private void LoadData()
 {
     MonsterData.LoadMonsterData();
     AbnormalityData.LoadAbnormalityData();
 }
示例#3
0
 private void LoadData()
 {
     GStrings.InitStrings(UserSettings.PlayerConfig.HunterPie.Language);
     MonsterData.LoadMonsterData();
     AbnormalityData.LoadAbnormalityData();
 }