C# Class ME3Explorer.Unreal.DLCPackage

Mostra file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
FileName string
Files FileEntryStruct[]
Header HeaderStruct
TOCHash byte[]

Public Methods

Method 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

Method Description
FindTOC ( ) : int

Method Details

AddFileQuick() public method

public AddFileQuick ( string filein, string path ) : void
filein string
path string
return void

BytesToString() public static method

public static BytesToString ( long byteCount ) : string
byteCount long
return string

CompareByteArray() public method

public CompareByteArray ( byte a1, byte a2 ) : bool
a1 byte
a2 byte
return bool

ComputeHash() public static method

public static ComputeHash ( string input ) : byte[]
input string
return byte[]

DLCPackage() public method

public DLCPackage ( string FileName ) : System
FileName string
return System

DecompressEntry() public method

public DecompressEntry ( int Index ) : MemoryStream
Index int
return System.IO.MemoryStream

DecompressEntry() public method

public DecompressEntry ( int Index, FileStream fs ) : MemoryStream
Index int
fs System.IO.FileStream
return System.IO.MemoryStream

DecompressEntryAsync() public method

public DecompressEntryAsync ( int index, Stream output ) : Task
index int
output Stream
return Task

DeleteEntries() public method

public DeleteEntries ( List Index ) : void
Index List
return void

DeleteEntry() public method

public DeleteEntry ( int Index ) : void
Index int
return void

FindFileEntry() public method

public FindFileEntry ( string fileName ) : int
fileName string
return int

GetBlocks() public method

public GetBlocks ( int Index ) : List
Index int
return List

Load() public method

public Load ( string FileName ) : void
FileName string
return void

ReBuild() public method

public ReBuild ( ) : void
return void

ReadFileNames() public method

public ReadFileNames ( ) : void
return void

ReplaceEntry() public method

public ReplaceEntry ( byte FileIN, int Index ) : void
FileIN byte
Index int
return void

ReplaceEntry() public method

public ReplaceEntry ( string filein, int Index ) : void
filein string
Index int
return void

Sanitize() public static method

public static Sanitize ( char c ) : char
c char
return char

Serialize() public method

public Serialize ( SerializingFile con ) : void
con SerializingFile
return void

ToTree() public method

public ToTree ( ) : TreeNode
return System.Windows.Forms.TreeNode

UpdateTOCbin() public method

public UpdateTOCbin ( bool Rebuild = false ) : List
Rebuild bool
return List

WriteString() public method

public WriteString ( MemoryStream m, string s ) : void
m System.IO.MemoryStream
s string
return void

Property Details

FileName public_oe property

public string FileName
return string

Files public_oe property

public FileEntryStruct[] Files
return FileEntryStruct[]

Header public_oe property

public HeaderStruct Header
return HeaderStruct

TOCHash public_oe static_oe property

public static byte[] TOCHash
return byte[]