docs.unity3d.com
    Show / Hide Table of Contents

    Class ArtifactCache

    Inheritance
    Object
    ArtifactCache
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Muse.Common
    Syntax
    public static class ArtifactCache

    Methods

    Clear()

    Declaration
    public static void Clear()

    Delete(IEnumerable<Artifact>)

    Delete the given artifacts from the cache.

    Declaration
    public static void Delete(IEnumerable<Artifact> artifacts)
    Parameters
    Type Name Description
    IEnumerable<Artifact> artifacts

    The artifacts to delete.

    Delete(Artifact[])

    Delete the given artifacts from the cache.

    Declaration
    public static void Delete(params Artifact[] artifacts)
    Parameters
    Type Name Description
    Artifact[] artifacts

    The artifacts to delete.

    Dispose()

    Dispose of the database so that it's content is saved to disk.

    Declaration
    public static void Dispose()

    Initialize()

    Declaration
    [RuntimeInitializeOnLoadMethod]
    public static void Initialize()

    IsInCache(Artifact)

    Declaration
    public static bool IsInCache(Artifact artifact)
    Parameters
    Type Name Description
    Artifact artifact
    Returns
    Type Description
    Boolean

    Read(Artifact)

    Declaration
    public static Object Read(Artifact artifact)
    Parameters
    Type Name Description
    Artifact artifact
    Returns
    Type Description
    Object

    ReadRawData(Artifact)

    Declaration
    public static byte[] ReadRawData(Artifact artifact)
    Parameters
    Type Name Description
    Artifact artifact
    Returns
    Type Description
    Byte[]

    Write(Artifact, Byte[])

    Declaration
    public static void Write(Artifact artifact, byte[] value)
    Parameters
    Type Name Description
    Artifact artifact
    Byte[] value
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023