Static Public Member Functions | |
| static void | SaveResources (AgateResourceCollection resources, string filename) |
| Saves the resources to a file located in the Filename property. | |
| static AgateResourceCollection | LoadResources (string filename) |
| Static method which creates a resource manager based on the contents of a file. | |
| static AgateResourceCollection | LoadResources (Stream stream) |
| Loads the resource information from a stream containing XML data. This erases all information in the current AgateResourceCollection. | |
Properties | |
| static bool | ThrowOnReadError [get, set] |
| Gets or sets a bool value indicating whether or not an exception is thrown if an unknown resource type is encountered when reading an XML file. | |
| static AgateResourceCollection AgateLib.Resources.AgateResourceLoader.LoadResources | ( | Stream | stream | ) | [static] |
Loads the resource information from a stream containing XML data. This erases all information in the current AgateResourceCollection.
| stream |
| static AgateResourceCollection AgateLib.Resources.AgateResourceLoader.LoadResources | ( | string | filename | ) | [static] |
Static method which creates a resource manager based on the contents of a file.
| filename |
| static void AgateLib.Resources.AgateResourceLoader.SaveResources | ( | AgateResourceCollection | resources, | |
| string | filename | |||
| ) | [static] |
Saves the resources to a file located in the Filename property.
bool AgateLib.Resources.AgateResourceLoader.ThrowOnReadError [static, get, set] |
Gets or sets a bool value indicating whether or not an exception is thrown if an unknown resource type is encountered when reading an XML file.
|
AgateLib Awesome Game and Tool Engine Library |
|