C# 클래스 KFreonLib.PCCObjects.ME3PCCObject

상속: IPCCObject
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DataStream System.IO.MemoryStream
Loaded bool
NumChunks int
header byte[]
listsStream System.IO.MemoryStream

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddName ( string newName ) : int
CreateTexture2D ( int expID, string pathBIOGame, uint hash ) : Textures.ITexture2D
Decompressor ( uint offset, int length ) : byte[]
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
ME3PCCObject ( ) : System
ME3PCCObject ( string filePath, MemoryStream stream, bool TablesOnly = false ) : System
ME3PCCObject ( string filePath, bool TablesOnly = false ) : System

ME3PCCObject class constructor. It also load namelist, importlist and exportinfo (not exportdata) from pcc file

ME3PCCObjectHelper ( MemoryStream tempStream, string filePath, bool TablesOnly ) : void
SaveToFile ( string path ) : void
addExport ( IExportEntry exportEntry ) : void
addName ( string name ) : void
addName2 ( string name ) : int
findName ( string nameToFind ) : int

Checks whether a name exists in the PCC and returns its index If it doesn't exist returns -1

getClassName ( int index ) : string
getNameEntry ( int index ) : string
getObjectClass ( int index ) : string
getObjectName ( int index ) : string
isExport ( int index ) : bool
isImport ( int index ) : bool
isName ( int index ) : bool
saveToCprFile ( string newFileName = null, bool saveCompress = false ) : void

save PCCObject to file.

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

save ME3PCCObject to file.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

AddName() 공개 메소드

public AddName ( string newName ) : int
newName string
리턴 int

CreateTexture2D() 공개 메소드

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

Decompressor() 공개 메소드

public Decompressor ( uint offset, int length ) : byte[]
offset uint
length int
리턴 byte[]

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DumpPCC() 공개 메소드

public DumpPCC ( string path ) : void
path string
리턴 void

FindExp() 공개 메소드

public FindExp ( string name ) : int
name string
리턴 int

FindExp() 공개 메소드

public FindExp ( string name, string className ) : int
name string
className string
리턴 int

FollowLink() 공개 메소드

public FollowLink ( int Link ) : string
Link int
리턴 string

GetClass() 공개 메소드

public GetClass ( int Index ) : string
Index int
리턴 string

GetName() 공개 메소드

public GetName ( int Index ) : string
Index int
리턴 string

ME3PCCObject() 공개 메소드

public ME3PCCObject ( ) : System
리턴 System

ME3PCCObject() 공개 메소드

public ME3PCCObject ( string filePath, MemoryStream stream, bool TablesOnly = false ) : System
filePath string
stream System.IO.MemoryStream
TablesOnly bool
리턴 System

ME3PCCObject() 공개 메소드

ME3PCCObject class constructor. It also load namelist, importlist and exportinfo (not exportdata) from pcc file
public ME3PCCObject ( string filePath, bool TablesOnly = false ) : System
filePath string
TablesOnly bool
리턴 System

ME3PCCObjectHelper() 공개 메소드

public ME3PCCObjectHelper ( MemoryStream tempStream, string filePath, bool TablesOnly ) : void
tempStream System.IO.MemoryStream
filePath string
TablesOnly bool
리턴 void

SaveToFile() 공개 메소드

public SaveToFile ( string path ) : void
path string
리턴 void

addExport() 공개 메소드

public addExport ( IExportEntry exportEntry ) : void
exportEntry IExportEntry
리턴 void

addName() 공개 메소드

public addName ( string name ) : void
name string
리턴 void

addName2() 공개 메소드

public addName2 ( string name ) : int
name string
리턴 int

findName() 공개 메소드

Checks whether a name exists in the PCC and returns its index If it doesn't exist returns -1
public findName ( string nameToFind ) : int
nameToFind string The name of the string to find
리턴 int

getClassName() 공개 메소드

public getClassName ( int index ) : string
index int
리턴 string

getNameEntry() 공개 메소드

public getNameEntry ( int index ) : string
index int
리턴 string

getObjectClass() 공개 메소드

public getObjectClass ( int index ) : string
index int
리턴 string

getObjectName() 공개 메소드

public getObjectName ( int index ) : string
index int
리턴 string

isExport() 공개 메소드

public isExport ( int index ) : bool
index int
리턴 bool

isImport() 공개 메소드

public isImport ( int index ) : bool
index int
리턴 bool

isName() 공개 메소드

public isName ( int index ) : bool
index int
리턴 bool

saveToCprFile() 공개 메소드

save PCCObject to file.
public saveToCprFile ( string newFileName = null, bool saveCompress = false ) : void
newFileName string set full path + file name.
saveCompress bool set true if you want a zlib compressed pcc file.
리턴 void

saveToFile() 공개 메소드

public saveToFile ( bool saveCompress ) : void
saveCompress bool
리턴 void

saveToFile() 공개 메소드

save ME3PCCObject to file.
public saveToFile ( string newFileName = null, bool WriteToMemoryStream = false ) : void
newFileName string set full path + file name.
WriteToMemoryStream bool
리턴 void

프로퍼티 상세

DataStream 공개적으로 프로퍼티

public MemoryStream,System.IO DataStream
리턴 System.IO.MemoryStream

Loaded 공개적으로 프로퍼티

public bool Loaded
리턴 bool

NumChunks 공개적으로 프로퍼티

public int NumChunks
리턴 int

header 공개적으로 프로퍼티

public byte[] header
리턴 byte[]

listsStream 공개적으로 프로퍼티

public MemoryStream,System.IO listsStream
리턴 System.IO.MemoryStream