C# Класс ME3Explorer.Packages.ME2Package

Наследование: MEPackage, IMEPackage
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ME2Package System

Открытые методы

Метод Описание
Initialize ( ) : ME2Package>.Func
ReadExports ( MemoryStream fs ) : void
ReadImports ( MemoryStream fs ) : void
ReadNames ( MemoryStream fs ) : void
addExport ( IExportEntry exportEntry ) : void
addExport ( ME2ExportEntry exportEntry ) : void
appendSave ( string newFileName ) : void

This method is an alternate way of saving PCCs Instead of reconstructing the PCC from the data taken, it instead copies across the existing data, appends new exports, updates the export list, changes the namelist location and updates the value in the header

getClassName ( int index ) : string
getEntry ( int index ) : IEntry

gets Export or Import entry

getExport ( int index ) : IExportEntry
getObjectClass ( int index ) : string
getObjectName ( int index ) : string
isExport ( int Index ) : bool
save ( ) : void

save PCC to same file by reconstruction if possible, append if not

save ( string path ) : void

save PCC by reconstruction if possible, append if not

saveByReconstructing ( string path ) : void

save PCCObject to file by reconstruction from data

Защищенные методы

Метод Описание
AfterSave ( ) : void

Приватные методы

Метод Описание
ME2Package ( string path ) : System

Описание методов

AfterSave() защищенный Метод

protected AfterSave ( ) : void
Результат void

Initialize() публичный статический Метод

public static Initialize ( ) : ME2Package>.Func
Результат ME2Package>.Func

ReadExports() публичный Метод

public ReadExports ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Результат void

ReadImports() публичный Метод

public ReadImports ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Результат void

ReadNames() публичный Метод

public ReadNames ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Результат void

addExport() публичный Метод

public addExport ( IExportEntry exportEntry ) : void
exportEntry IExportEntry
Результат void

addExport() публичный Метод

public addExport ( ME2ExportEntry exportEntry ) : void
exportEntry ME2ExportEntry
Результат void

appendSave() публичный Метод

This method is an alternate way of saving PCCs Instead of reconstructing the PCC from the data taken, it instead copies across the existing data, appends new exports, updates the export list, changes the namelist location and updates the value in the header
public appendSave ( string newFileName ) : void
newFileName string The filename to write to
Результат void

getClassName() публичный Метод

public getClassName ( int index ) : string
index int
Результат string

getEntry() публичный Метод

gets Export or Import entry
public getEntry ( int index ) : IEntry
index int unreal index
Результат IEntry

getExport() публичный Метод

public getExport ( int index ) : IExportEntry
index int
Результат IExportEntry

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

save() публичный Метод

save PCC to same file by reconstruction if possible, append if not
public save ( ) : void
Результат void

save() публичный Метод

save PCC by reconstruction if possible, append if not
public save ( string path ) : void
path string full path + file name.
Результат void

saveByReconstructing() публичный Метод

save PCCObject to file by reconstruction from data
public saveByReconstructing ( string path ) : void
path string full path + file name.
Результат void