C# Class ME3Explorer.Packages.MEPackage

Inheritance: INotifyPropertyChanged, IDisposable
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Protected Properties

Свойство Type Description
header byte[]
imports List
names List
namesAdded uint

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode Description
ReleaseGenericWindow ( GenericWindow gen ) : void

Method Details

AfterSave() protected méthode

protected AfterSave ( ) : void
Résultat void

Dispose() public méthode

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
Résultat void

FindNameOrAdd() public méthode

public FindNameOrAdd ( string name ) : int
name string
Résultat int

RegisterTool() public méthode

public RegisterTool ( GenericWindow gen ) : void
gen GenericWindow
Résultat void

RegisterUse() public méthode

public RegisterUse ( ) : void
Résultat void

Release() public méthode

public Release ( System wpfWindow = null, System winForm = null ) : void
wpfWindow System
winForm System
Résultat void

addImport() public méthode

public addImport ( ImportEntry importEntry ) : void
importEntry ImportEntry
Résultat void

addName() public méthode

public addName ( string name ) : void
name string
Résultat void

exportChanged() protected méthode

protected exportChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
Résultat void

findName() public méthode

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
Résultat int

getImport() public méthode

public getImport ( int index ) : ImportEntry
index int
Résultat ImportEntry

getNameEntry() public méthode

public getNameEntry ( int index ) : string
index int
Résultat string

importChanged() protected méthode

protected importChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e PropertyChangedEventArgs
Résultat void

isImport() public méthode

public isImport ( int index ) : bool
index int
Résultat bool

isName() public méthode

public isName ( int index ) : bool
index int
Résultat bool

replaceName() public méthode

public replaceName ( int idx, string newName ) : void
idx int
newName string
Résultat void

setNames() public méthode

public setNames ( List list ) : void
list List
Résultat void

updateTools() protected méthode

protected updateTools ( PackageChange change, int index ) : void
change PackageChange
index int
Résultat void

Property Details

header protected_oe property

protected byte[] header
Résultat byte[]

imports protected_oe property

protected List imports
Résultat List

names protected_oe property

protected List names
Résultat List

namesAdded protected_oe property

protected uint namesAdded
Résultat uint