static public int GetNextSibling(IntPtr l) { try { FairyGUI.TreeNode self = (FairyGUI.TreeNode)checkSelf(l); var ret = self.GetNextSibling(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static int GetNextSibling(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.TreeNode obj = (FairyGUI.TreeNode)ToLua.CheckObject(L, 1, typeof(FairyGUI.TreeNode)); FairyGUI.TreeNode o = obj.GetNextSibling(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }