static int _sortZOrder(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); DragonBones.Armature obj = (DragonBones.Armature)ToLua.CheckObject(L, 1, typeof(DragonBones.Armature)); System.Collections.Generic.List <int> arg0 = (System.Collections.Generic.List <int>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <int>)); obj._sortZOrder(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }