static int set_icon(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.DebugGameObjectComponent obj = (DebugSystem.DebugGameObjectComponent)o; string arg0 = ToLua.CheckString(L, 2); obj.icon = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index icon on a nil value")); } }
static int get_self(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.DebugGameObjectComponent obj = (DebugSystem.DebugGameObjectComponent)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")); } }
static int get_iconLayout(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.DebugGameObjectComponent obj = (DebugSystem.DebugGameObjectComponent)o; DebugSystem.DebugGameObjectComponent.IconLayout ret = obj.iconLayout; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index iconLayout on a nil value")); } }
static int get_icon(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.DebugGameObjectComponent obj = (DebugSystem.DebugGameObjectComponent)o; string ret = obj.icon; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index icon on a nil value")); } }
static int set_self(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.DebugGameObjectComponent obj = (DebugSystem.DebugGameObjectComponent)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 set_iconLayout(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DebugSystem.DebugGameObjectComponent obj = (DebugSystem.DebugGameObjectComponent)o; DebugSystem.DebugGameObjectComponent.IconLayout arg0 = (DebugSystem.DebugGameObjectComponent.IconLayout)ToLua.CheckObject(L, 2, typeof(DebugSystem.DebugGameObjectComponent.IconLayout)); obj.iconLayout = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index iconLayout on a nil value")); } }