C# Class ME3Explorer.Packages.MEPackage

Inheritance: INotifyPropertyChanged, IDisposable
ファイルを表示 Open project: ME3Explorer/ME3Explorer Class Usage Examples

Protected Properties

Property Type Description
header byte[]
imports List
names List
namesAdded uint

Public Methods

Method Description
Dispose ( ) : void

Doesn't neccesarily dispose the object. Will only do so once this has been called by every place that uses it. Recommend using the using block.

FindNameOrAdd ( string name ) : int
RegisterTool ( GenericWindow gen ) : void
RegisterUse ( ) : void
Release ( System wpfWindow = null, System winForm = null ) : void
addImport ( ImportEntry importEntry ) : void
addName ( string name ) : void
findName ( string nameToFind ) : int

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

getImport ( int index ) : ImportEntry
getNameEntry ( int index ) : string
isImport ( int index ) : bool
isName ( int index ) : bool
replaceName ( int idx, string newName ) : void
setNames ( List list ) : void

Protected Methods

Method Description
AfterSave ( ) : void
exportChanged ( object sender, PropertyChangedEventArgs e ) : void
importChanged ( object sender, PropertyChangedEventArgs e ) : void
updateTools ( PackageChange change, int index ) : void

Private Methods

Method Description
ReleaseGenericWindow ( GenericWindow gen ) : void

Method Details

AfterSave() protected method

protected AfterSave ( ) : void
return void

Dispose() public method

Doesn't neccesarily dispose the object. Will only do so once this has been called by every place that uses it. Recommend using the using block.
public Dispose ( ) : void
return void

FindNameOrAdd() public method

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

RegisterTool() public method

public RegisterTool ( GenericWindow gen ) : void
gen GenericWindow
return void

RegisterUse() public method

public RegisterUse ( ) : void
return void

Release() public method

public Release ( System wpfWindow = null, System winForm = null ) : void
wpfWindow System
winForm System
return void

addImport() public method

public addImport ( ImportEntry importEntry ) : void
importEntry ImportEntry
return void

addName() public method

public addName ( string name ) : void
name string
return void

exportChanged() protected method

protected exportChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
return void

findName() public method

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
return int

getImport() public method

public getImport ( int index ) : ImportEntry
index int
return ImportEntry

getNameEntry() public method

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

importChanged() protected method

protected importChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e PropertyChangedEventArgs
return void

isImport() public method

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

isName() public method

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

replaceName() public method

public replaceName ( int idx, string newName ) : void
idx int
newName string
return void

setNames() public method

public setNames ( List list ) : void
list List
return void

updateTools() protected method

protected updateTools ( PackageChange change, int index ) : void
change PackageChange
index int
return void

Property Details

header protected_oe property

protected byte[] header
return byte[]

imports protected_oe property

protected List imports
return List

names protected_oe property

protected List names
return List

namesAdded protected_oe property

protected uint namesAdded
return uint