Show / Hide Table of Contents

Class LegacyMultiplayLocalStorageCryptor

v0.0.21以前のマルチプレイ拡張のキャッシュフォーマットのマイグレーションを行う

Inheritance
Object
LegacyMultiplayLocalStorageCryptor
UnityLegacyMultiplayLocalStorageCryptor
Implements
IFileReadWrite
IFileRead
IFileWrite
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Pixiv.VroidSdk.Crypt
Assembly: Pixiv.VroidSdk.dll
Syntax
public class LegacyMultiplayLocalStorageCryptor : IFileReadWrite, IFileRead, IFileWrite

Constructors

LegacyMultiplayLocalStorageCryptor(PasswordGenerator)

コンストラクタ

Declaration
public LegacyMultiplayLocalStorageCryptor(PasswordGenerator generator)
Parameters
Type Name Description
PasswordGenerator generator

ファイルの復号用パスワードのジェネレータ

Methods

IsFileExist(String)

ファイルが存在するかチェックする

Declaration
public bool IsFileExist(string path)
Parameters
Type Name Description
String path
Returns
Type Description
Boolean

ファイルの有無

Load(String)

ファイルを読み込む

Declaration
public byte[] Load(string path)
Parameters
Type Name Description
String path
Returns
Type Description
Byte[]

復号されたバイナリ

Exceptions
Type Condition
FileNotFoundException

ファイルが存在しない

Save(String, Byte[])

ファイルを特定の場所に保存する

Declaration
public void Save(string filePath, byte[] data)
Parameters
Type Name Description
String filePath

書き込むファイル名

Byte[] data

書き込むバイナリ

Implements

IFileReadWrite
IFileRead
IFileWrite
In This Article
Back to top Generated by DocFX