static int set_expr(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.GameDebugWatcherComponent obj = (DebugSystem.GameDebugWatcherComponent)o; string arg0 = ToLua.CheckString(L, 2); obj.expr = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index expr on a nil value")); } }
static int get_expr(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.GameDebugWatcherComponent obj = (DebugSystem.GameDebugWatcherComponent)o; string ret = obj.expr; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index expr on a nil value")); } }
static int set_self(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.GameDebugWatcherComponent obj = (DebugSystem.GameDebugWatcherComponent)o; LuaTable arg0 = ToLua.CheckLuaTable(L, 2); obj.self = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index self on a nil value")); } }
static int get_self(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.GameDebugWatcherComponent obj = (DebugSystem.GameDebugWatcherComponent)o; LuaInterface.LuaTable ret = obj.self; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index self on a nil value")); } }