static int FindNamesForSlot(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); Spine.Skin obj = (Spine.Skin)ToLua.CheckObject <Spine.Skin>(L, 1); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); System.Collections.Generic.List <string> arg1 = (System.Collections.Generic.List <string>)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.List <string>)); obj.FindNamesForSlot(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
/// <summary><see cref="Spine.Skin.FindNamesForSlot(int,List)"/></summary> public static void FindNamesForSlot(this Skin skin, string slotName, SkeletonData skeletonData, List <string> results) { int slotIndex = skeletonData.FindSlotIndex(slotName); skin.FindNamesForSlot(slotIndex, results); }