HeadlessPackList

@safe
class HeadlessPackList : PackList {}

Members

Functions

clearCache
void clearCache()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From PackList

packList
Pack[] packList;

Underlying pack list.

GlobResult
alias GlobResult(T) = Tuple!(T[], "matches", Pack*, "pack")

Result of globbing functions.

Resource
alias Resource = Pack.Resource
Undocumented in source.
~this
~this()
Undocumented in source.
make
PackList make()

Create a pack list for the current renderer.

make
PackList make(Pack[] packs)

Create a pack list for the current renderer.

clearCache
void clearCache()

Clear resource cache. Call when the list contents were changed or reordered.

packGlob
GlobResult!string packGlob(string path)

List matching files in the first matching pack.

randomGlob
Resource!string randomGlob(string path, RNG rng)

Get a random resource under a file matching the pattern.

getSkeleton
Resource!(SkeletonNode[]) getSkeleton(string name)

Load the given skeleton.

getAnimation
Resource!(AnimationPart[]) getAnimation(string name, uint frameCount)

Load the given animation.

listCells
auto listCells()

List cells available in all the packs.

Meta