C# Class KFreonLib.TreeDB

Datei anzeigen Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
TreeAddTask System.Threading.Tasks.Task
TreePath string

Public Methods

Method Description
AddNode ( myTreeNode node ) : void
AddPCCs ( List files ) : bool
AddTex ( TreeTexInfo tex, string PackName, string filename ) : void

Adds texture to tree with duplicate checks

BlindAddTex ( TreeTexInfo tex ) : void
Clear ( bool complete = false ) : void
Clone ( ) : TreeDB
ExportToCSV ( string fileName, bool ShowFilesExpIDs ) : void
GetNode ( int index ) : myTreeNode
GetNodesAsList ( ) : List
GetPCC ( int index ) : string
GetPCCsAsList ( ) : List
GetTex ( int index ) : TreeTexInfo
GetTreeAsList ( ) : List
PerformTreeComparison ( ) : void
ReadFromFile ( string TreeName, string mainpath, string thumbpath, int &status, Form invokeObject = null ) : bool
ReplaceTex ( int index, TreeTexInfo tex ) : bool
TreeDB ( List given, TreeView &textree, int WhichGame, string pathbio ) : KFreonLib.GUI
TreeDB ( TreeView &textree, int WhichGame, string pathbio ) : KFreonLib.GUI
WriteToFile ( string treeName, string mainpath ) : void

Private Methods

Method Description
Compare ( TreeTexInfo tex, int i, string PackName, string filename ) : bool
Contains ( TreeTexInfo tex, string PackName, string filename ) : TreeTexInfo
setup ( TreeView &textree, int WhichGame, string pathbio ) : void

Method Details

AddNode() public method

public AddNode ( myTreeNode node ) : void
node KFreonLib.GUI.myTreeNode
return void

AddPCCs() public method

public AddPCCs ( List files ) : bool
files List
return bool

AddTex() public method

Adds texture to tree with duplicate checks
public AddTex ( TreeTexInfo tex, string PackName, string filename ) : void
tex KFreonLib.Textures.TreeTexInfo Texture to add
PackName string
filename string
return void

BlindAddTex() public method

public BlindAddTex ( TreeTexInfo tex ) : void
tex KFreonLib.Textures.TreeTexInfo
return void

Clear() public method

public Clear ( bool complete = false ) : void
complete bool
return void

Clone() public method

public Clone ( ) : TreeDB
return TreeDB

ExportToCSV() public method

public ExportToCSV ( string fileName, bool ShowFilesExpIDs ) : void
fileName string
ShowFilesExpIDs bool
return void

GetNode() public method

public GetNode ( int index ) : myTreeNode
index int
return KFreonLib.GUI.myTreeNode

GetNodesAsList() public method

public GetNodesAsList ( ) : List
return List

GetPCC() public method

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

GetPCCsAsList() public method

public GetPCCsAsList ( ) : List
return List

GetTex() public method

public GetTex ( int index ) : TreeTexInfo
index int
return KFreonLib.Textures.TreeTexInfo

GetTreeAsList() public method

public GetTreeAsList ( ) : List
return List

PerformTreeComparison() public method

public PerformTreeComparison ( ) : void
return void

ReadFromFile() public method

public ReadFromFile ( string TreeName, string mainpath, string thumbpath, int &status, Form invokeObject = null ) : bool
TreeName string
mainpath string
thumbpath string
status int
invokeObject System.Windows.Forms.Form
return bool

ReplaceTex() public method

public ReplaceTex ( int index, TreeTexInfo tex ) : bool
index int
tex KFreonLib.Textures.TreeTexInfo
return bool

TreeDB() public method

public TreeDB ( List given, TreeView &textree, int WhichGame, string pathbio ) : KFreonLib.GUI
given List
textree System.Windows.Forms.TreeView
WhichGame int
pathbio string
return KFreonLib.GUI

TreeDB() public method

public TreeDB ( TreeView &textree, int WhichGame, string pathbio ) : KFreonLib.GUI
textree System.Windows.Forms.TreeView
WhichGame int
pathbio string
return KFreonLib.GUI

WriteToFile() public method

public WriteToFile ( string treeName, string mainpath ) : void
treeName string
mainpath string
return void

Property Details

TreeAddTask public_oe property

public Task,System.Threading.Tasks TreeAddTask
return System.Threading.Tasks.Task

TreePath public_oe property

public string TreePath
return string