The purpose of this class is to More...
Public Member Functions | |
ContentIO (IBeamableRequester requester) | |
IValidationContext | GetValidationContext () |
Promise< Manifest > | FetchManifest () |
Promise< ContentStatus > | GetStatus (ContentObject content) |
void | Select (ContentObject content) |
IEnumerable< TContent > | FindAllContent< TContent > (ContentQuery query=null, bool inherit=true) |
string[] | FindAllDirectoriesForSubtypes< TContent > () |
Type[] | FindAllSubtypes< TContent > () |
IEnumerable< ContentObject > | FindAll (ContentQuery query=null) |
LocalContentManifest | BuildLocalManifest () |
IEnumerable< Type > | GetContentTypes () |
IEnumerable< string > | GetContentClassIds () |
ContentObject | LoadContent (LocalContentManifestEntry manifestEntry) |
ContentObject | LoadContent (string assetPath) |
IEnumerable< ContentObject > | FindAllContentByType (Type type, ContentQuery query=null, bool inherit=true) |
void | EnsureAllDefaultContent () |
void | EnsureDefaultContentByType (Type type) |
void | EnsureDefaultContent< TContent > () |
string | GetAssetPathByType (Type contentType, IContentObject content) |
void | EnsureDefaultAssetsByType (Type type) |
void | EnsureDefaultAssets< TContent > () |
string | GetAvailableFileName (string assetPath) |
void | Create< TContent > (TContent content, string assetPath=null) |
void | DeleteByType (Type type, IContentObject content) |
Delete a TContent item of type Type More... | |
void | Delete< TContent > (TContent content) |
Delete a TContent item of type TContent More... | |
string | Checksum (IContentObject content) |
string | Serialize< TContent > (TContent content) |
void | Rename (string existingAssetPath, string nextAssetpath, ContentObject content) |
Static Public Member Functions | |
static string | ComputeChecksum (IContentObject content) |
Public Attributes | |
Promise< Manifest > | OnManifest => _manifestPromise ?? FetchManifest() |
Events | |
ContentDelegate | OnSelectionChanged |
static IContentDelegate | OnContentCreated |
static IContentRenamedDelegate | OnContentRenamed |
The purpose of this class is to
|
inline |
Delete a TContent item of type TContent
TContent |
content |
TContent | : | ContentObject | |
TContent | : | new() |
|
inline |
Delete a TContent item of type Type
type | |
content |