コード例 #1
0
        public ILRuntimeHotFix(IAppILRuntime app)
        {
            this.SetOwner(app);

            ILAppDomain  = new AppDomain();
            MethodCacher = new ILMethodCacher();
        }
コード例 #2
0
ファイル: ElimGame.cs プロジェクト: firefishes/ShipDock
    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);
    }
コード例 #3
0
 public static void ClearGlobal(this ILRuntimeHotFix target)
 {
     appDomain    = default;
     methodCacher = default;
     ownerApp     = default;
 }
コード例 #4
0
 public static void SetOwner(this ILRuntimeHotFix target, IAppILRuntime app)
 {
     ownerApp = app;
 }