* 重置处理器状态
()
| 71 | await this.convertToOutputFiles(); |
| 72 | await this.flushWrites(); |
| 73 | |
| 74 | logger.info( |
| 75 | `资源处理完成 (scenes=${this.sceneAssets.length}, sprites=${Object.keys(this.spriteFrames).length}, audio=${this.audio.length}, prefabs=${this.prefabs.length}, copies=${this.cacheReadList.length})`, |
| 76 | ); |
| 77 | } catch (err) { |
| 78 | logger.error('处理资源文件时出错:', err); |
| 79 | throw err; |
| 80 | } |
| 81 | }, |
| 82 | |
| 83 | resetState() { |
| 84 | this.fileList = []; |
| 85 | this.fileMap = new Map(); |
| 86 | this.nativeMap = new Map(); |
| 87 | this.cacheReadList = []; |
nothing calls this directly
no outgoing calls
no test coverage detected