Show / Hide Table of Contents

Class SqPack

Inheritance
System.Object
SqPack
SqPackIndex
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 SqPack

Fields

| Improve this Doc View Source

CacheLock

Declaration
protected readonly object CacheLock
Field Value
Type Description
System.Object
| Improve this Doc View Source

FileCache

Declaration
protected readonly Dictionary<long, WeakReference<FileResource>> FileCache
Field Value
Type Description
System.Collections.Generic.Dictionary<System.Int64, System.WeakReference<FileResource>>

Properties

| Improve this Doc View Source

File

Where the actual file is located on disk

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

FullName

Returns the full path to the SqPack file

Declaration
public string FullName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Name

Returns the name of the SqPack file

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ShouldConvertEndianness

PC and PS4 are LE, PS3 is BE

Declaration
public bool ShouldConvertEndianness { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SqPackHeader

Declaration
public SqPackHeader SqPackHeader { get; }
Property Value
Type Description
SqPackHeader

Methods

| Improve this Doc View Source

GetCachedFile<T>(Int64)

Declaration
protected T GetCachedFile<T>(long offset)
    where T : FileResource
Parameters
Type Name Description
System.Int64 offset
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetFileMetadata(Int64)

Declaration
public SqPackFileInfo GetFileMetadata(long offset)
Parameters
Type Name Description
System.Int64 offset
Returns
Type Description
SqPackFileInfo
| Improve this Doc View Source

ReadFile<T>(Int64)

Declaration
public T ReadFile<T>(long offset)
    where T : FileResource
Parameters
Type Name Description
System.Int64 offset
Returns
Type Description
T
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
Back to top Generated by DocFX