Class Repository
Inheritance
System.Object
Repository
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()
Assembly: Lumina.dll
Syntax
Fields
|
Improve this Doc
View Source
CategoryIdToNameMap
Declaration
public static readonly Dictionary<byte, string> CategoryIdToNameMap
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Byte, System.String> |
|
|
Improve this Doc
View Source
CategoryNameToIdMap
Declaration
public static readonly Dictionary<string, byte> CategoryNameToIdMap
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Byte> |
|
Properties
|
Improve this Doc
View Source
Categories
A collection of dats assoicated with the current repository.
Declaration
public Dictionary<byte, List<Category>> Categories { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Byte, System.Collections.Generic.List<Category>> |
|
|
Improve this Doc
View Source
ExpansionId
Declaration
public int ExpansionId { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Name
Returns the name of the current dat category
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RootDir
Declaration
public DirectoryInfo RootDir { get; }
Property Value
Type |
Description |
System.IO.DirectoryInfo |
|
|
Improve this Doc
View Source
Version
Declaration
public string Version { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Declaration
public static string BuildDatStr(byte cat, int ex, int chunk, PlatformId platform, string type)
Parameters
Type |
Name |
Description |
System.Byte |
cat |
Dat category, see CategoryNameToIdMap
|
System.Int32 |
ex |
Expansion id
|
System.Int32 |
chunk |
Chunk id
|
PlatformId |
platform |
Current platform
|
System.String |
type |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FileExists(String, ParsedFilePath)
Declaration
public bool FileExists(string catName, ParsedFilePath path)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FindIndexes(Byte, Int32, Int32)
Brute force for index and index2 files
Declaration
public List<FileInfo> FindIndexes(byte cat, int ex, int chunk)
Parameters
Type |
Name |
Description |
System.Byte |
cat |
Current category id
|
System.Int32 |
ex |
Current expansion id
|
System.Int32 |
chunk |
The chunk id
|
Returns
Type |
Description |
System.Collections.Generic.List<System.IO.FileInfo> |
System.IO.FileInfo representing the index file found
|
|
Improve this Doc
View Source
GetFile<T>(Byte, ParsedFilePath)
Declaration
public T GetFile<T>(byte cat, ParsedFilePath path)
where T : FileResource
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
GetFile<T>(String, ParsedFilePath)
Declaration
public T GetFile<T>(string cat, ParsedFilePath path)
where T : FileResource
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public SqPackFileInfo? GetFileMetadata(byte cat, ParsedFilePath path)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public SqPackFileInfo? GetFileMetadata(string cat, ParsedFilePath path)
Parameters
Returns