ContentLoader ClassDelta Engine Documentation
Loads content types like images, sounds, xml files, levels, etc. Returns cached useable instances and provides quick and easy access to all cached data plus creation of dynamic data. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Content ContentLoader
    DeltaEngine.Content.Disk DiskContentLoader
    DeltaEngine.Content.Mocks MockContentLoader
    DeltaEngine.Content.Online DeveloperOnlineContentLoader

Namespace: DeltaEngine.Content
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public abstract class ContentLoader : IDisposable

The ContentLoader type exposes the following members.

Constructors

  NameDescription
Protected methodContentLoader
Initializes a new instance of the ContentLoader class
Top
Methods

  NameDescription
Protected methodClearBufferedResourcesAndMetaData
Public methodStatic memberCreate T 
Public methodDispose
Public methodStatic memberDisposeIfInitialized
Public methodStatic memberExists(String)
Public methodStatic memberExists(String, ContentType)
Protected methodGetContentDataStream
Public methodGetMetaData
Protected methodHasValidContentMetaDataFile
Public methodStatic memberLoad Content 
Protected methodReloadContent
Public methodStatic memberRemoveResource
Public methodStatic memberUse T 
Normally set in Platforms.AppRunner to DeveloperOnlineContentLoader by creating it. Alternatively an application can create a different one (e.g. DiskContentLoader) before. View code on GitHub
Top
Fields

  NameDescription
Protected fieldmetaData
Top
Properties

  NameDescription
Public propertyStatic memberContentLocale
Protected propertyContentMetaDataFilePath
Public propertyContentProjectPath
Public propertyLastTimeUpdated
Public propertyStartedToRequestOnlineContent
Public propertyStatic memberType
Top
See Also