C# Class KFreonLib.PCCObjects.ME2PCCObject

Inheritance: IPCCObject
Show file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
Exports List
Imports List
Names List
NumChunks int
PackageFlags uint
_HeaderOff int
fullname string
header byte[]
listsStream System.IO.MemoryStream
m System.IO.MemoryStream
pccFileName string

Private Properties

Property Type Description
IPCCObject string
LoadExports void
LoadHelper void
ReadExports void
ReadImports void
ReadNames void
getObjectName string

Public Methods

Method Description
AddName ( string newName ) : int
CreateTexture2D ( int expID, string pathBIOGame, uint hash ) : Textures.ITexture2D
Dispose ( ) : void
DumpPCC ( string path ) : void
FindExp ( string name ) : int
FindExp ( string name, string className ) : int
FollowLink ( int Link ) : string
GetClass ( int Index ) : string
GetName ( int Index ) : string
ME2PCCObject ( String path ) : System
ME2PCCObject ( String path, MemoryStream tempStream ) : System
SaveToFile ( string path ) : void
addExport ( IExportEntry entry ) : void
findName ( string name ) : int
getClassName ( int classname ) : string
getNameEntry ( int index ) : string
isExport ( int Index ) : bool
isImport ( int Index ) : bool
isName ( int Index ) : bool
saveToFile ( string newFileName = null, bool WriteToMemoryStream = false ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
IPCCObject ( int index ) : string
LoadExports ( ) : void
LoadHelper ( MemoryStream tempStream ) : void
ReadExports ( MemoryStream fs ) : void
ReadImports ( MemoryStream fs ) : void
ReadNames ( MemoryStream fs ) : void
getObjectName ( int index ) : string

Method Details

AddName() public method

public AddName ( string newName ) : int
newName string
return int

CreateTexture2D() public method

public CreateTexture2D ( int expID, string pathBIOGame, uint hash ) : Textures.ITexture2D
expID int
pathBIOGame string
hash uint
return Textures.ITexture2D

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DumpPCC() public method

public DumpPCC ( string path ) : void
path string
return void

FindExp() public method

public FindExp ( string name ) : int
name string
return int

FindExp() public method

public FindExp ( string name, string className ) : int
name string
className string
return int

FollowLink() public method

public FollowLink ( int Link ) : string
Link int
return string

GetClass() public method

public GetClass ( int Index ) : string
Index int
return string

GetName() public method

public GetName ( int Index ) : string
Index int
return string

ME2PCCObject() public method

public ME2PCCObject ( String path ) : System
path String
return System

ME2PCCObject() public method

public ME2PCCObject ( String path, MemoryStream tempStream ) : System
path String
tempStream System.IO.MemoryStream
return System

SaveToFile() public method

public SaveToFile ( string path ) : void
path string
return void

addExport() public method

public addExport ( IExportEntry entry ) : void
entry IExportEntry
return void

findName() public method

public findName ( string name ) : int
name string
return int

getClassName() public method

public getClassName ( int classname ) : string
classname int
return string

getNameEntry() public method

public getNameEntry ( int index ) : string
index int
return string

isExport() public method

public isExport ( int Index ) : bool
Index int
return bool

isImport() public method

public isImport ( int Index ) : bool
Index int
return bool

isName() public method

public isName ( int Index ) : bool
Index int
return bool

saveToFile() public method

public saveToFile ( string newFileName = null, bool WriteToMemoryStream = false ) : void
newFileName string
WriteToMemoryStream bool
return void

Property Details

Exports public property

public List Exports
return List

Imports public property

public List Imports
return List

Names public property

public List Names
return List

NumChunks public property

public int NumChunks
return int

PackageFlags public property

public uint PackageFlags
return uint

_HeaderOff public property

public int _HeaderOff
return int

fullname public property

public string fullname
return string

header public property

public byte[] header
return byte[]

listsStream public property

public MemoryStream,System.IO listsStream
return System.IO.MemoryStream

m public property

public MemoryStream,System.IO m
return System.IO.MemoryStream

pccFileName public property

public string pccFileName
return string