Connects to the Content Service and can reload files at runtime, but only works when a
developer ApiKey has been setup. Will not be used for the end user.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Content ContentLoader
DeltaEngine.Content.Online DeveloperOnlineContentLoader
DeltaEngine.Editor EditorContentLoader
Namespace: DeltaEngine.Content.Online
Assembly: DeltaEngine.Content.Online (in DeltaEngine.Content.Online.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The DeveloperOnlineContentLoader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DeveloperOnlineContentLoader | Initializes a new instance of the DeveloperOnlineContentLoader class |
Methods
Name | Description | |
---|---|---|
ClearBufferedResourcesAndMetaData | (Inherited from ContentLoader.) | |
Dispose | Releases all resources used by the DeveloperOnlineContentLoader (Overrides ContentLoader Dispose .) | |
GetContentDataStream | (Inherited from ContentLoader.) | |
GetMetaData | (Overrides ContentLoader GetMetaData(String, Type).) | |
HasValidContentMetaDataFile | (Overrides ContentLoader HasValidContentMetaDataFile .) | |
ReloadContent | (Inherited from ContentLoader.) | |
SendCheckProjectContent |
Fields
Name | Description | |
---|---|---|
connection | ||
isContentReady | ||
metaData | (Inherited from ContentLoader.) | |
projectMetaDataFile |
Properties
Name | Description | |
---|---|---|
ContentMetaDataFilePath | (Inherited from ContentLoader.) | |
ContentProjectPath | (Inherited from ContentLoader.) | |
LastTimeUpdated | (Overrides ContentLoader LastTimeUpdated.) | |
ProjectName | ||
StartedToRequestOnlineContent | (Inherited from ContentLoader.) |
Events
Name | Description | |
---|---|---|
ContentDeleted | ||
ContentUpdated |
Remarks
Examples
[Test] public void ConnectToOnlineContentServiceWithoutExistingContent() { if (Directory.Exists("Content")) Directory.Delete("Content", true); bool ready = false; var connection = new OnlineServiceConnection(new MockSettings(), () => { throw new ConnectionTimedOut(); });
See Also