static int Refresh(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)ToLua.CheckObject <GameFramework.ObjectList>(L, 1); obj.Refresh(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_ChildAlignment(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; GameFramework.ObjectList.Alignment ret = obj.ChildAlignment; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index ChildAlignment on a nil value")); } }
static int get_oneGroupCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; int ret = obj.oneGroupCount; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index oneGroupCount on a nil value")); } }
static int get_direction(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; GameFramework.ObjectList.Direction ret = obj.direction; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index direction on a nil value")); } }
static int set_sizeY(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.sizeY = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sizeY on a nil value")); } }
static int set_ChildAlignment(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; GameFramework.ObjectList.Alignment arg0 = (GameFramework.ObjectList.Alignment)ToLua.CheckObject(L, 2, typeof(GameFramework.ObjectList.Alignment)); obj.ChildAlignment = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index ChildAlignment on a nil value")); } }
static int set_oneGroupCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.oneGroupCount = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index oneGroupCount on a nil value")); } }
static int set_direction(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; GameFramework.ObjectList.Direction arg0 = (GameFramework.ObjectList.Direction)ToLua.CheckObject(L, 2, typeof(GameFramework.ObjectList.Direction)); obj.direction = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index direction on a nil value")); } }
static int get_sizeY(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.ObjectList obj = (GameFramework.ObjectList)o; float ret = obj.sizeY; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sizeY on a nil value")); } }