static public int UpdateNodes(IntPtr l) { try { FairyGUI.TreeView self = (FairyGUI.TreeView)checkSelf(l); System.Collections.Generic.List <FairyGUI.TreeNode> a1; checkType(l, 2, out a1); self.UpdateNodes(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int UpdateNodes(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.TreeView obj = (FairyGUI.TreeView)ToLua.CheckObject(L, 1, typeof(FairyGUI.TreeView)); System.Collections.Generic.List <FairyGUI.TreeNode> arg0 = (System.Collections.Generic.List <FairyGUI.TreeNode>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <FairyGUI.TreeNode>)); obj.UpdateNodes(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }