MCPcopy Create free account
hub / github.com/Crain99/cc-reverse / registerHandler

Function registerHandler

src/core/resourceProcessor.js:91–93  ·  view source on GitHub ↗

* 注册类型处理器 * @param {string} type 类型名称 * @param {Function} handler 处理函数 (data, key, context) => void

(type, handler)

Source from the content-addressed store, hash-verified

89 this.nodeData = {};
90 this.sceneAssets = [];
91 this.spriteFrames = {};
92 this.audio = [];
93 this.animation = [];
94 this.prefabs = [];
95 this._writeQueue = [];
96 this._uuidList = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected