MCPcopy
hub / github.com/4ian/GDevelop / getResource

Method getResource

GDJS/Runtime/ResourceLoader.ts:609–611  ·  view source on GitHub ↗
(resourceName: string)

Source from the content-addressed store, hash-verified

607 }
608
609 getResource(resourceName: string): ResourceData | null {
610 return this.privateResourceManager._resources.get(resourceName) || null;
611 }
612
613 // Helper methods used when resources are loaded from an URL.
614

Callers 15

_getAtlasResourceMethod · 0.80
_getSpineResourceMethod · 0.80
updateTileMapMethod · 0.80
updatePixiTileMapMethod · 0.80
loadResourceMethod · 0.80
JsonManagerClass · 0.80
processResourceMethod · 0.80
loadResourceMethod · 0.80
getFontFileMethod · 0.80
loadResourceMethod · 0.80
getSvgIconUrlFunction · 0.80
HowlerSoundManagerClass · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected