Skip to content

Commit

Permalink
[ci skip][AUTO]: Automated code generating update: 4468bf2 (cocos#15671)
Browse files Browse the repository at this point in the history
  • Loading branch information
cocos-robot committed Jul 17, 2023
1 parent 8e0e500 commit a16e85d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cocos/native-binding/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit a16e85d

Please sign in to comment.