* 初始化默认类型处理器
()
| 96 | this._uuidList = []; |
| 97 | this._packedMap = {}; |
| 98 | this._rawAssetMap = new Map(); |
| 99 | this._handledUuids = new Set(); |
| 100 | this._labelAtlasCount = 0; |
| 101 | this.initHandlers(); |
| 102 | }, |
| 103 | |
| 104 | registerHandler(type, handler) { |
| 105 | this.typeHandlers.set(type, handler); |
| 106 | }, |
| 107 | |
| 108 | initHandlers() { |
| 109 | this.typeHandlers = new Map(); |
| 110 | this.registerHandler('cc.SceneAsset', (data, key, ctx) => this.processSceneAsset(ctx.parentData, ctx.index, key)); |
| 111 | this.registerHandler('cc.Prefab', (data, key, ctx) => this.processPrefabAsset(ctx.parentData, ctx.index, key)); |
nothing calls this directly
no outgoing calls
no test coverage detected