Show / Hide Table of Contents

Class LegacyCacheMigrator

Carry out migration for cache format v0.0.21 and earlier

Inheritance
Object
LegacyCacheMigrator
UnityLegacyCacheMigrator
Implements
ICacheMigrator<CachedDownloadLicenseFile>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Pixiv.VroidSdk.Cache.Migrate
Assembly: Pixiv.VroidSdk.dll
Syntax
public class LegacyCacheMigrator : ICacheMigrator<CachedDownloadLicenseFile>

Constructors

LegacyCacheMigrator(String, String)

Constructor

Declaration
public LegacyCacheMigrator(string prefix, string persistentDataPath)
Parameters
Type Name Description
String prefix

Directory name to store model file

String persistentDataPath

The corresponding data path of Application.persistentDataPath on Unity

Methods

Migrate(IFileReadWriteDelete, ICacheStorage<CachedDownloadLicenseFile>)

Migrate

Declaration
public void Migrate(IFileReadWriteDelete fileReadWrite, ICacheStorage<CachedDownloadLicenseFile> storage)
Parameters
Type Name Description
IFileReadWriteDelete fileReadWrite

Module to read and write cache data

ICacheStorage<CachedDownloadLicenseFile> storage

Implements

ICacheMigrator<TValue>
In This Article
Back to top Generated by DocFX