From a16e85d92f15d3a01c8c48c5d35bf88ebc9d5d34 Mon Sep 17 00:00:00 2001 From: cocos-robot Date: Mon, 17 Jul 2023 02:08:22 +0000 Subject: [PATCH] [ci skip][AUTO]: Automated code generating update: 4468bf26187f61c76057fbf4ec41378258bbb60a (#15671) --- cocos/native-binding/decorators.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cocos/native-binding/decorators.ts b/cocos/native-binding/decorators.ts index fb4dc49c7c9..d1b5ee6f0f7 100644 --- a/cocos/native-binding/decorators.ts +++ b/cocos/native-binding/decorators.ts @@ -680,6 +680,7 @@ export function patch_cc_Node(ctx: cc_Node_Context_Args, apply = defaultExec) { const { Node, Vec3, Quat, MobilityMode, Layers } = { ...ctx }; const _persistNodeDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, '_persistNode'); const nameDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'name'); + const uuidDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'uuid'); const childrenDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'children'); const activeDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'active'); const activeInHierarchyDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'activeInHierarchy'); @@ -690,6 +691,7 @@ export function patch_cc_Node(ctx: cc_Node_Context_Args, apply = defaultExec) { const layerDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'layer'); apply(() => { $.property(Node.prototype, '_persistNode', _persistNodeDescriptor); }, 'property', '_persistNode'); apply(() => { $.editable(Node.prototype, 'name', nameDescriptor); }, 'editable', 'name'); + apply(() => { $.visible(false)(Node.prototype, 'uuid', uuidDescriptor); }, 'visible', 'uuid'); apply(() => { $.editable(Node.prototype, 'children', childrenDescriptor); }, 'editable', 'children'); apply(() => { $.editable(Node.prototype, 'active', activeDescriptor); }, 'editable', 'active'); apply(() => { $.editable(Node.prototype, 'activeInHierarchy', activeInHierarchyDescriptor); }, 'editable', 'activeInHierarchy');