Beispiel #1
0
        internal static void Setup()
        {
            if (!StudioAPI.InsideStudio)
            {
                return;
            }
            Logger.LogDebug($"{typeof(Configuration).FullName}.{nameof(Setup)}");
            var harmony = Hooks.SetupHooks();

            CharacterApi.CharacterReloaded += CharacterApi_CharacterReloaded;

            GameSpecificSetup(harmony);
        }
Beispiel #2
0
 private static void CleanupHandler(object sender, EventArgs e)
 {
     Hooks.ResetTranslatingCallbacks();
 }