C# Class Terraria.IO.FileMetadata

ファイルを表示 Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
IsFavorite bool
Revision uint
Type System.IO.FileType

Public Methods

Method Description
FromCurrentSettings ( System.IO.FileType type ) : FileMetadata
IncrementAndWrite ( BinaryWriter writer ) : void
Read ( BinaryReader reader, System.IO.FileType expectedType ) : FileMetadata
Write ( BinaryWriter writer ) : void

Private Methods

Method Description
FileMetadata ( ) : System
Read ( BinaryReader reader ) : void

Method Details

FromCurrentSettings() public static method

public static FromCurrentSettings ( System.IO.FileType type ) : FileMetadata
type System.IO.FileType
return FileMetadata

IncrementAndWrite() public method

public IncrementAndWrite ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void

Read() public static method

public static Read ( BinaryReader reader, System.IO.FileType expectedType ) : FileMetadata
reader System.IO.BinaryReader
expectedType System.IO.FileType
return FileMetadata

Write() public method

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void

Property Details

IsFavorite public_oe property

public bool IsFavorite
return bool

Revision public_oe property

public uint Revision
return uint

Type public_oe property

public FileType,System.IO Type
return System.IO.FileType