Arcade
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
ResourceLibrary.ArchiveLibrary Class Reference
Inheritance diagram for ResourceLibrary.ArchiveLibrary:
ResourceLibrary.ResourceVolume

Public Member Functions

 ArchiveLibrary ()
 
void PushRegisteredTypes ()
 
void PopRegisteredTypes ()
 
override IEnumerable< Type > GetRegisteredTypes ()
 
void Register< T > (ResourceFormat format, SaveResourceDelegate< T > saveDelegate, LoadResourceDelegate< T > loadDelegate, params String[] extensions)
 
void Substitute< T > (ResourceFormat format, SaveResourceDelegate< T > saveDelegate, LoadResourceDelegate< T > loadDelegate, params String[] extensions)
 
void RegisterAll (Assembly assembly)
 
Archive FromFile (String path)
 
Archive FromStream (Stream stream)
 
Archive FromDirectory (String directory, params ResourceLocator[] ignore)
 
override Object Get (Type type, IEnumerable< String > locator)
 
override IEnumerable
< ResourceLocator
FindAll (ResourceLocator locator, bool recursive=false)
 
override IEnumerable
< ResourceLocator
FindAll< T > (ResourceLocator locator, bool recursive=false)
 
void SaveBundle (String path, params Archive[] archives)
 
void SaveBundle (Stream stream, params Archive[] archives)
 
Archive[] FromBundle (String path, params int[] indices)
 
Archive[] FromBundle (Stream stream, params int[] indices)
 
IEnumerator< ArchiveGetEnumerator ()
 
- Public Member Functions inherited from ResourceLibrary.ResourceVolume
Get< T > (params String[] locator)
 
IEnumerable< ResourceLocatorFindAll (bool recursive=false)
 
IEnumerable< ResourceLocatorFindAll< T > (bool recursive=false)
 
bool IsRegistered (Type type)
 
bool IsRegistered< T > ()
 

Properties

IEnumerable< ArchiveMounted [get]
 
IEnumerable< Type > RegisteredTypes [get]
 

Constructor & Destructor Documentation

ResourceLibrary.ArchiveLibrary.ArchiveLibrary ( )
inline

Member Function Documentation

override IEnumerable<ResourceLocator> ResourceLibrary.ArchiveLibrary.FindAll ( ResourceLocator  locator,
bool  recursive = false 
)
inlinevirtual
override IEnumerable<ResourceLocator> ResourceLibrary.ArchiveLibrary.FindAll< T > ( ResourceLocator  locator,
bool  recursive = false 
)
inlinevirtual
Archive [] ResourceLibrary.ArchiveLibrary.FromBundle ( String  path,
params int[]  indices 
)
inline
Archive [] ResourceLibrary.ArchiveLibrary.FromBundle ( Stream  stream,
params int[]  indices 
)
inline
Archive ResourceLibrary.ArchiveLibrary.FromDirectory ( String  directory,
params ResourceLocator[]  ignore 
)
inline
Archive ResourceLibrary.ArchiveLibrary.FromFile ( String  path)
inline
Archive ResourceLibrary.ArchiveLibrary.FromStream ( Stream  stream)
inline
override Object ResourceLibrary.ArchiveLibrary.Get ( Type  type,
IEnumerable< String >  locator 
)
inlinevirtual
IEnumerator<Archive> ResourceLibrary.ArchiveLibrary.GetEnumerator ( )
inline
override IEnumerable<Type> ResourceLibrary.ArchiveLibrary.GetRegisteredTypes ( )
inlinevirtual
void ResourceLibrary.ArchiveLibrary.PopRegisteredTypes ( )
inline
void ResourceLibrary.ArchiveLibrary.PushRegisteredTypes ( )
inline
void ResourceLibrary.ArchiveLibrary.Register< T > ( ResourceFormat  format,
SaveResourceDelegate< T >  saveDelegate,
LoadResourceDelegate< T >  loadDelegate,
params String[]  extensions 
)
inline
void ResourceLibrary.ArchiveLibrary.RegisterAll ( Assembly  assembly)
inline
void ResourceLibrary.ArchiveLibrary.SaveBundle ( String  path,
params Archive[]  archives 
)
inline
void ResourceLibrary.ArchiveLibrary.SaveBundle ( Stream  stream,
params Archive[]  archives 
)
inline
void ResourceLibrary.ArchiveLibrary.Substitute< T > ( ResourceFormat  format,
SaveResourceDelegate< T >  saveDelegate,
LoadResourceDelegate< T >  loadDelegate,
params String[]  extensions 
)
inline

Property Documentation

IEnumerable<Archive> ResourceLibrary.ArchiveLibrary.Mounted
get
IEnumerable<Type> ResourceLibrary.ArchiveLibrary.RegisteredTypes
get