Module resource_preloader

Procs

proc resources(self: ResourcePreloader): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc resources=(self: ResourcePreloader; val: Array) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addResource(self: ResourcePreloader; name: string; resource: Resource) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeResource(self: ResourcePreloader; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc renameResource(self: ResourcePreloader; name: string; newname: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasResource(self: ResourcePreloader; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getResource(self: ResourcePreloader; name: string): Resource {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getResourceList(self: ResourcePreloader): PoolStringArray {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}