Class Artifact<T>
Implements
Inherited Members
Namespace: Unity.Muse.Common
Assembly: solution.dll
Syntax
[Serializable]
public abstract class Artifact<T> : Artifact, IEquatable<Artifact>
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Name | Description |
|---|---|
| Artifact(string, uint) |
Properties
| Name | Description |
|---|---|
| FileExtension | |
| IsCached |
Methods
| Name | Description |
|---|---|
| ConstructFromData(byte[]) | |
| CreateFromData(byte[], bool) | Takes binary data and will attempt to deserialize it into its concrete Unity representation. Concrete implementations will throw exceptions or handle malformed incoming data |
| GetArtifact(ArtifactCreationDelegate, bool) | Will download the artifact, or load it from the cache on your current machine, if it exists. |
| GetArtifactData() | |
| ReadFromCache(out byte[]) | Will return the deserialized Unity representation of the cached artifact from the local machine. |
| ReadFromCacheRaw() | |
| SetArtifactData(ArtifactData) | |
| WriteToCache(byte[]) | Writes the serialized Unity representation of this artifact to the GeneratedArtifactCache on the local machine. |