The purpose of this class is to More...
Public Member Functions | |
ContentIO (IBeamableRequester requester) | |
IValidationContext | GetValidationContext () |
Promise< Manifest > | FetchManifest () |
Promise< Manifest > | FetchManifest (string manifestID) |
Promise< ContentStatus > | GetStatus (ContentObject content) |
Promise< AvailableManifests > | GetAllManifestIDs () |
Promise< Unit > | SwitchManifest (string manifestID) |
Promise< Unit > | ArchiveManifests (params string[] ids) |
Promise< Unit > | UnarchiveManifest (params string[] ids) |
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, string id, LocalContentManifest localContentManifest) |
void | Create< TContent > (TContent content, string assetPath=null, bool replace=true, LocalContentManifest localContentManifest=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 bool | AreTagsEqual (string[] firstContentTags, string[] secondContentTags) |
static string | ComputeChecksum (IContentObject content) |
static async Task | BakeContent () |
Checks if local content has changes. If no changes then it proceeds to baking. If there are local changes then displays a warning. Writes all content objects to streaming assets in either compressed or uncompressed form based on setting in Content Configuration. | |
Static Public Attributes | |
static IContentDelegate | OnContentDeleted |
static Action< string > | OnManifestChanged |
static Action< AvailableManifests > | OnManifestsListFetched |
static Action< IEnumerable< AvailableManifestModel > > | OnArchivedManifestsFetched |
Properties | |
ContentManager | ContentManager [get] |
Promise< Manifest > | OnManifest [get] |
Events | |
ContentDelegate | OnSelectionChanged |
static IContentDelegate | OnContentCreated |
static IContentRenamedDelegate | OnContentRenamed |
The purpose of this class is to
|
inline |
Implements Beamable.Editor.Content.IContentIO.
|
inline |
TContent | : | ContentObject | |
TContent | : | new() |
|
inline |
Delete a TContent item of type TContent
TContent |
content |
TContent | : | ContentObject | |
TContent | : | new() |
|
inline |
Delete a TContent item of type Type
type | |
content |
|
inline |
TContent | : | ContentObject |
|
inline |
TContent | : | ContentObject |
Implements Beamable.Editor.Content.IContentIO.
Implements Beamable.Editor.Content.IContentIO.
|
inline |
Implements Beamable.Editor.Content.IContentIO.
|
inline |
TContent | : | ContentObject | |
TContent | : | new() |
|
inline |
TContent | : | ContentObject | |
TContent | : | new() |
|
inline |
TContent | : | ContentObject | |
TContent | : | new() |
|
inline |
TContent | : | ContentObject | |
TContent | : | new() |