C# Class ME3LibWV.PCCPackage

Show file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
Exports List
GeneralInfo MetaInfo
Header HeaderInfo
Imports List
Names List
Source Stream
verbose bool

Public Methods

Method Description
CloneEntry ( int uIndex ) : void
CopyArray ( byte buff ) : byte[]
FindClass ( string name ) : int
FindNameOrAdd ( string name ) : int
GetBiggestIndex ( ) : int
GetLinkList ( int uindex ) : int[]
GetName ( int index ) : string
GetObjectClass ( int uindex ) : string
GetObjectData ( int index ) : byte[]
GetObjectData ( int offset, int size ) : byte[]
GetObjectPath ( int uindex ) : string
PCCPackage ( ) : System
PCCPackage ( string pccpath, bool loadfull = true, bool verbosemode = false, bool closestream = false ) : System
ReadFloat ( Stream s ) : float
ReadInt ( Stream s ) : int
ReadUInt ( Stream s ) : uint
ReadUInt16 ( Stream s ) : ushort
ReadUString ( Stream s ) : string
Save ( string filePath = null ) : void
WriteUString ( string text, Stream s ) : void
getObjectName ( int uindex ) : string
isName ( int index ) : bool

Private Methods

Method Description
Load ( Stream s ) : void
ReadChunks ( Stream s ) : void
ReadExportTable ( ) : void
ReadHeader ( Stream s ) : void
ReadImportTable ( ) : void
ReadNameTable ( ) : void
UncompressBlock ( Stream s, uint CompSize, uint UnCompSize ) : byte[]
UncompressBlock ( int ChunkIdx, int BlockIdx ) : byte[]
UncompressRange ( uint offset, uint size ) : void

Method Details

CloneEntry() public method

public CloneEntry ( int uIndex ) : void
uIndex int
return void

CopyArray() public method

public CopyArray ( byte buff ) : byte[]
buff byte
return byte[]

FindClass() public method

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

FindNameOrAdd() public method

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

GetBiggestIndex() public method

public GetBiggestIndex ( ) : int
return int

GetLinkList() public method

public GetLinkList ( int uindex ) : int[]
uindex int
return int[]

GetName() public method

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

GetObjectClass() public method

public GetObjectClass ( int uindex ) : string
uindex int
return string

GetObjectData() public method

public GetObjectData ( int index ) : byte[]
index int
return byte[]

GetObjectData() public method

public GetObjectData ( int offset, int size ) : byte[]
offset int
size int
return byte[]

GetObjectPath() public method

public GetObjectPath ( int uindex ) : string
uindex int
return string

PCCPackage() public method

public PCCPackage ( ) : System
return System

PCCPackage() public method

public PCCPackage ( string pccpath, bool loadfull = true, bool verbosemode = false, bool closestream = false ) : System
pccpath string
loadfull bool
verbosemode bool
closestream bool
return System

ReadFloat() public method

public ReadFloat ( Stream s ) : float
s Stream
return float

ReadInt() public method

public ReadInt ( Stream s ) : int
s Stream
return int

ReadUInt() public method

public ReadUInt ( Stream s ) : uint
s Stream
return uint

ReadUInt16() public method

public ReadUInt16 ( Stream s ) : ushort
s Stream
return ushort

ReadUString() public method

public ReadUString ( Stream s ) : string
s Stream
return string

Save() public method

public Save ( string filePath = null ) : void
filePath string
return void

WriteUString() public method

public WriteUString ( string text, Stream s ) : void
text string
s Stream
return void

getObjectName() public method

public getObjectName ( int uindex ) : string
uindex int
return string

isName() public method

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

Property Details

Exports public property

public List Exports
return List

GeneralInfo public property

public MetaInfo GeneralInfo
return MetaInfo

Header public property

public HeaderInfo Header
return HeaderInfo

Imports public property

public List Imports
return List

Names public property

public List Names
return List

Source public property

public Stream Source
return Stream

verbose public property

public bool verbose
return bool