C# Class ME3Explorer.Unreal.DLCPackage

Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Свойство Type Description
FileName string
Files FileEntryStruct[]
Header HeaderStruct
TOCHash byte[]

Méthodes publiques

Méthode Description
AddFileQuick ( string filein, string path ) : void
BytesToString ( long byteCount ) : string
CompareByteArray ( byte a1, byte a2 ) : bool
ComputeHash ( string input ) : byte[]
DLCPackage ( string FileName ) : System
DecompressEntry ( int Index ) : MemoryStream
DecompressEntry ( int Index, FileStream fs ) : MemoryStream
DecompressEntryAsync ( int index, Stream output ) : Task
DeleteEntries ( List Index ) : void
DeleteEntry ( int Index ) : void
FindFileEntry ( string fileName ) : int
GetBlocks ( int Index ) : List
Load ( string FileName ) : void
ReBuild ( ) : void
ReadFileNames ( ) : void
ReplaceEntry ( byte FileIN, int Index ) : void
ReplaceEntry ( string filein, int Index ) : void
Sanitize ( char c ) : char
Serialize ( SerializingFile con ) : void
ToTree ( ) : TreeNode
UpdateTOCbin ( bool Rebuild = false ) : List
WriteString ( MemoryStream m, string s ) : void

Private Methods

Méthode Description
FindTOC ( ) : int

Method Details

AddFileQuick() public méthode

public AddFileQuick ( string filein, string path ) : void
filein string
path string
Résultat void

BytesToString() public static méthode

public static BytesToString ( long byteCount ) : string
byteCount long
Résultat string

CompareByteArray() public méthode

public CompareByteArray ( byte a1, byte a2 ) : bool
a1 byte
a2 byte
Résultat bool

ComputeHash() public static méthode

public static ComputeHash ( string input ) : byte[]
input string
Résultat byte[]

DLCPackage() public méthode

public DLCPackage ( string FileName ) : System
FileName string
Résultat System

DecompressEntry() public méthode

public DecompressEntry ( int Index ) : MemoryStream
Index int
Résultat System.IO.MemoryStream

DecompressEntry() public méthode

public DecompressEntry ( int Index, FileStream fs ) : MemoryStream
Index int
fs System.IO.FileStream
Résultat System.IO.MemoryStream

DecompressEntryAsync() public méthode

public DecompressEntryAsync ( int index, Stream output ) : Task
index int
output Stream
Résultat Task

DeleteEntries() public méthode

public DeleteEntries ( List Index ) : void
Index List
Résultat void

DeleteEntry() public méthode

public DeleteEntry ( int Index ) : void
Index int
Résultat void

FindFileEntry() public méthode

public FindFileEntry ( string fileName ) : int
fileName string
Résultat int

GetBlocks() public méthode

public GetBlocks ( int Index ) : List
Index int
Résultat List

Load() public méthode

public Load ( string FileName ) : void
FileName string
Résultat void

ReBuild() public méthode

public ReBuild ( ) : void
Résultat void

ReadFileNames() public méthode

public ReadFileNames ( ) : void
Résultat void

ReplaceEntry() public méthode

public ReplaceEntry ( byte FileIN, int Index ) : void
FileIN byte
Index int
Résultat void

ReplaceEntry() public méthode

public ReplaceEntry ( string filein, int Index ) : void
filein string
Index int
Résultat void

Sanitize() public static méthode

public static Sanitize ( char c ) : char
c char
Résultat char

Serialize() public méthode

public Serialize ( SerializingFile con ) : void
con SerializingFile
Résultat void

ToTree() public méthode

public ToTree ( ) : TreeNode
Résultat System.Windows.Forms.TreeNode

UpdateTOCbin() public méthode

public UpdateTOCbin ( bool Rebuild = false ) : List
Rebuild bool
Résultat List

WriteString() public méthode

public WriteString ( MemoryStream m, string s ) : void
m System.IO.MemoryStream
s string
Résultat void

Property Details

FileName public_oe property

public string FileName
Résultat string

Files public_oe property

public FileEntryStruct[] Files
Résultat FileEntryStruct[]

Header public_oe property

public HeaderStruct Header
Résultat HeaderStruct

TOCHash public_oe static_oe property

public static byte[] TOCHash
Résultat byte[]