|
Arcade
|
Class containing methods for registering and listing resource types. More...
Public Member Functions | |
| bool | IsRegistered< T > () |
| Tests to see if a given type has been registered as a resource type. More... | |
| bool | IsRegistered (Type type) |
| Tests to see if a given type has been registered as a resource type. More... | |
| void | Register< T > (ResourceFormat format, SaveResourceDelegate< T > saveDelegate, LoadResourceDelegate< T > loadDelegate, params string[] extensions) |
| Registers the given type as a resource type, providing methods for writing and reading instances to and from a stream and a list of file extensions that are used by files containing resources of the specified type. More... | |
Properties | |
| IEnumerable< Type > | RegisteredTypes [get] |
| Retrieves a collection of all currently registered resource types. More... | |
Class containing methods for registering and listing resource types.
|
inline |
Tests to see if a given type has been registered as a resource type.
| type | Type to test. |
|
inline |
Tests to see if a given type has been registered as a resource type.
| T | Type to test. |
|
inline |
Registers the given type as a resource type, providing methods for writing and reading instances to and from a stream and a list of file extensions that are used by files containing resources of the specified type.
| T | Type to register. |
| format | Describes whether the resource should be compressed when packaged. |
| saveDelegate | Delegate used to write a resource of type T to a stream. |
| loadDelegate | Delegate used to read a resource of type T from a stream. |
| extensions | A list of file extensions that are used by files containing resources of this type. |
|
get |
Retrieves a collection of all currently registered resource types.