Show / Hide Table of Contents

Class FileResource

Inheritance
System.Object
FileResource
ExcelDataFile
ExcelHeaderFile
ExcelListFile
ImcFile
LgbFile
TexFile
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lumina.Data
Assembly: Lumina.dll
Syntax
public class FileResource

Constructors

| Improve this Doc View Source

FileResource()

Declaration
public FileResource()

Properties

| Improve this Doc View Source

Data

Declaration
public byte[] Data { get; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

DataSpan

Declaration
public Span<byte> DataSpan { get; }
Property Value
Type Description
System.Span<System.Byte>
| Improve this Doc View Source

FileInfo

Declaration
public LuminaFileInfo FileInfo { get; }
Property Value
Type Description
LuminaFileInfo
| Improve this Doc View Source

FilePath

Declaration
public ParsedFilePath FilePath { get; }
Property Value
Type Description
ParsedFilePath
| Improve this Doc View Source

FileStream

Declaration
public MemoryStream FileStream { get; }
Property Value
Type Description
System.IO.MemoryStream
| Improve this Doc View Source

Reader

Declaration
public BinaryReader Reader { get; }
Property Value
Type Description
System.IO.BinaryReader

Methods

| Improve this Doc View Source

GetFileHash()

Declaration
public string GetFileHash()
Returns
Type Description
System.String
| Improve this Doc View Source

LoadFile()

Called once the files are read out from the dats. Used to further parse the file into usable data structures.

Declaration
public virtual void LoadFile()
| Improve this Doc View Source

SaveFile(String)

Declaration
public virtual void SaveFile(string path)
Parameters
Type Name Description
System.String path
  • Improve this Doc
  • View Source
Back to top Generated by DocFX