static int _m_Type(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.ILoadSystem gen_to_be_invoked = (DCET.Model.ILoadSystem)translator.FastGetCSObj(L, 1); { System.Type gen_ret = gen_to_be_invoked.Type( ); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Run(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.ILoadSystem gen_to_be_invoked = (DCET.Model.ILoadSystem)translator.FastGetCSObj(L, 1); { object _o = translator.GetObject(L, 2, typeof(object)); gen_to_be_invoked.Run(_o); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }