static int _m_Run(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.NumericWatcherComponent gen_to_be_invoked = (DCET.Model.NumericWatcherComponent)translator.FastGetCSObj(L, 1); { DCET.Model.NumericType _numericType; translator.Get(L, 2, out _numericType); long _id = LuaAPI.lua_toint64(L, 3); int _value = LuaAPI.xlua_tointeger(L, 4); gen_to_be_invoked.Run(_numericType, _id, _value); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { DCET.Model.NumericWatcherComponent gen_ret = new DCET.Model.NumericWatcherComponent(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to DCET.Model.NumericWatcherComponent constructor!")); }
static int _m_Load(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.NumericWatcherComponent gen_to_be_invoked = (DCET.Model.NumericWatcherComponent)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Load( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Awake(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.NumericWatcherComponentAwakeSystem gen_to_be_invoked = (DCET.Model.NumericWatcherComponentAwakeSystem)translator.FastGetCSObj(L, 1); { DCET.Model.NumericWatcherComponent _self = (DCET.Model.NumericWatcherComponent)translator.GetObject(L, 2, typeof(DCET.Model.NumericWatcherComponent)); gen_to_be_invoked.Awake(_self); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }