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

Function resetState

src/core/resourceProcessor.js:73–84  ·  view source on GitHub ↗

* 重置处理器状态

()

Source from the content-addressed store, hash-verified

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 = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected