public ILRuntimeHotFix(IAppILRuntime app) { this.SetOwner(app); ILAppDomain = new AppDomain(); MethodCacher = new ILMethodCacher(); }
public override void EnterGameHandler() { base.EnterGameHandler(); "log".Log("Game Entered"); IAppILRuntime app = ShipDockApp.Instance; app.SetHotFixSetting(new ILRuntimeHotFix(app), new AppHotFixConfigBase()); ElimConsts.UIM_ELIM_UI.LoadAndOpenUI <UIElimModular>(OnCreateBoard, ElimConsts.AB_ELIM_UI); }
public static void ClearGlobal(this ILRuntimeHotFix target) { appDomain = default; methodCacher = default; ownerApp = default; }
public static void SetOwner(this ILRuntimeHotFix target, IAppILRuntime app) { ownerApp = app; }