跳到主要内容
版本:Next

Struct FileInfo

Namespace: ReadyM.Api.Saves
Assembly: ReadyM.Api.dll

Represents a file with a name and binary content, used for saving game data.

public readonly struct FileInfo

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

FileInfo(string, byte[])

Represents a file with a name and binary content, used for saving game data.

public FileInfo(string name, byte[] content)

Parameters

name string

content byte[]

Properties

Content

The binary content of the file.

public byte[] Content { get; }

Property Value

byte[]

Name

The name of the file.

public string Name { get; }

Property Value

string