public override void Load() { if (!_initiated) { throw new Exception("Localizer not initialized."); } State = OperationTiming.BeforeModLoad; Hooks.InvokeBeforeLoad(); Kernel.Get <RefreshLanguageService>(); UIModsPatch.Patch(); }
private static void AfterLocalizerCtorHook(object mod) { Hooks.InvokeBeforeModCtor(mod); }
public override void UpdateUI(GameTime gameTime) { Hooks.InvokeOnGameUpdate(gameTime); }
public override void PostAddRecipes() { State = OperationTiming.PostContentLoad; Hooks.InvokePostSetupContent(); }
public override void PostSetupContent() { State = OperationTiming.BeforeContentLoad; Hooks.InvokeBeforeSetupContent(); CheckUpdate(); }