public HotConstructor(Action <T, U, int> action) { middle = new HotMiddleware(); middle.Context = this; middle.initializer = new UIInitializer(HotUIBase.ObjectFields(typeof(T))); middle.creator = Create; middle.caller = Call; Invoke = action; }
public HotUILinker(UIContainer container, string mod) { con = container; model = HGUIManager.FindChild(container.model, mod); middle = new ObjectLinker(container); middle.ItemUpdate = MItemUpdate; middle.CalculItemHigh = MCalculItemHigh; middle.ItemCreate = MItemCreate; initializer = new UIInitializer(HotUIBase.ObjectFields(typeof(T))); }