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