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

Function decodeUuids

src/core/resourceProcessor.js:327–345  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

325 await this.processPackedImport(key, data);
326 return;
327 }
328
329 // Standalone document
330 if (Array.isArray(data)) {
331 // Prefab / scene-like document (shared __id__ space)
332 if (this.isDocumentArray(data)) {
333 this.processDocumentArray(data, key);
334 return;
335 }
336 // Compressed type-table format
337 if (this.isCompressedFormat(data)) {
338 const restored = this.restoreCompressedData(data);
339 this.dispatchRestoredArray(restored, key);
340 return;
341 }
342 // Plain array of independent objects (treat like packed without uuid list)
343 await this.processPackedImport(key, data);
344 return;
345 }
346
347 if (data && typeof data === 'object' && data.__type__) {
348 this.decodeUuids(data);

Callers

nothing calls this directly

Calls 1

walkFunction · 0.70

Tested by

no test coverage detected