C# Class ME3Explorer.Texplorer2

Inheritance: System.Windows.Forms.Form
显示文件 Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
MainPictureBox System.Windows.Forms.PictureBox
Tree TreeDB

Private Properties

Property Type Description
AddBiggerButton_Click void
AddDLCToTree void
AddModJob void
AddTPFToolsJob void
AddToTree void
BeginLoadingTree void
BeginTreeScan void
CancelButton_Click void
ChangeButton_Click void
ChangeGameIndicators void
ChangeTreeIndicators void
Change_Changed void
CheckGameStates void
ClearDisplays void
CloseForm void
ConstructTree void
DateCheckFileList bool
DeepScanPCC bool
DetailsHideButton_Click void
DisappearPictureBox void
DisplayTextureProperties void
DrawPCCList void
ExportTree void
ExternalImageSelector string
ExtractButton_Click void
FirstTimeSetup bool
Form_Closing void
Game2Label_Click void
GetSelectedTexInd int
GetTexesRecursive void
ImportTree void
InitializeComponent void
LoadTreeFromFile bool
LowResButton_Click void
MainListView_DoubleClick void
MainListView_FocusLeave void
MainListView_MouseDown void
MainListView_SelectedIndexChanged void
MainPictureBox_Click void
MainTreeView_AfterCollapse void
MainTreeView_AfterExpand void
MainTreeView_AfterSelect void
NoRenderButton_Click void
OutputBoxPrintLn void
PCCBoxContext_Click void
PCCsCheckedListBox_SelectedIndexChanged void
PicturePanel_Click void
RegenerateButton_Click void
RegenerateThumbnail void
RegenerateThumbs bool
ResetSearchBox void
SaveFile bool
SaveProperties void
SaveTreeToCSV void
ScanPCCList ConcurrentBag
SearchBox_Enter void
SearchBox_Leave void
SearchBox_TextChanged void
SearchListBox_SelectedIndexChanged void
Search_KeyDown void
SetupGUI void
ShowContextPanel void
UpdateModifiedTex void
UpdatePCCList void
UpdateTexDetails void
UpdateThumbnailDisplays void
UpscaleButton_Click void
WriteDebug void
addDLCToTreeToolStripMenuItem_Click void
asFileToolStripMenuItem_Click void
changeCustomTFCToolStripMenuItem_Click void
dontShowFilesExpIDsToolStripMenuItem_Click void
importTreeToolStripMenuItem_Click void
rebuildDatabaseToolStripMenuItem_Click void
regenerateAllThumbnailsToolStripMenuItem_Click void
saveChangesToolStripMenuItem_Click void
searchToolStripMenuItem_Click void
selectedFolderToolStripMenuItem_Click void
showFilesExpIDsToolStripMenuItem_Click void
startTPFModeToolStripMenuItem_Click void
toggleTooltipsToolStripMenuItem_Click void
updateTOCsToolStripMenuItem_Click void
wikiArticleToolStripMenuItem_Click void

Public Methods

Method Description
GoToTex ( string name, string nodeName, int selectedIndex ) : void
InstallTexture ( string texname, List pccs, List IDs, byte imgdata ) : bool
ResetSearchAfterClose ( ) : void
SearchList_Click ( ListBox box ) : void
SearchLoad ( ) : List
SetupSearch ( ) : void
SetupToolTip ( Control control ) : ToolTip
SetupTree ( TreeDB &Tree, string pathCooked, int WhichGame, TreeView MainTreeView, string pathBIOGame ) : bool
Texplorer2 ( bool nowindow = false, int which = -1 ) : AmaroK86.ImageFormat
UpdateTOCs ( int WhichGame = 3 ) : void
removeTopTexture ( string texname, List pccs, List IDs ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddBiggerButton_Click ( object sender, EventArgs e ) : void
AddDLCToTree ( List pccs ) : void
AddModJob ( KFreonLib.Textures tex2D, string replacingfile ) : void
AddTPFToolsJob ( string replacingPath, uint hash ) : void
AddToTree ( string path, int exportID ) : void
BeginLoadingTree ( bool NoUser = false, bool ForceRebuild = false ) : void
BeginTreeScan ( ) : void
CancelButton_Click ( object sender, EventArgs e ) : void
ChangeButton_Click ( object sender, EventArgs e ) : void
ChangeGameIndicators ( int game, bool state ) : void
ChangeTreeIndicators ( int game, bool state ) : void
Change_Changed ( object sender, EventArgs e ) : void
CheckGameStates ( ) : void
ClearDisplays ( ) : void
CloseForm ( bool cleanup, bool unsaved ) : void
ConstructTree ( ) : void
DateCheckFileList ( List files, bool Basegame, long year = 2013, int month = 6 ) : bool
DeepScanPCC ( string filename ) : bool
DetailsHideButton_Click ( object sender, EventArgs e ) : void
DisappearPictureBox ( ) : void
DisplayTextureProperties ( KFreonLib.Textures tex2D, KFreonLib.Textures info ) : void
DrawPCCList ( int index ) : void
ExportTree ( ) : void
ExternalImageSelector ( KFreonLib.Textures tex2D ) : string
ExtractButton_Click ( object sender, EventArgs e ) : void
FirstTimeSetup ( ) : bool
Form_Closing ( object sender, FormClosingEventArgs e ) : void
Game2Label_Click ( object sender, EventArgs e ) : void
GetSelectedTexInd ( ) : int
GetTexesRecursive ( myTreeNode node, List temptexes ) : void
ImportTree ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadTreeFromFile ( string filename, int &status, bool AllowQuestions ) : bool
LowResButton_Click ( object sender, EventArgs e ) : void
MainListView_DoubleClick ( object sender, EventArgs e ) : void
MainListView_FocusLeave ( object sender, EventArgs e ) : void
MainListView_MouseDown ( object sender, MouseEventArgs e ) : void
MainListView_SelectedIndexChanged ( object sender, EventArgs e ) : void
MainPictureBox_Click ( object sender, EventArgs e ) : void
MainTreeView_AfterCollapse ( object sender, TreeViewEventArgs e ) : void
MainTreeView_AfterExpand ( object sender, TreeViewEventArgs e ) : void
MainTreeView_AfterSelect ( object sender, TreeViewEventArgs e ) : void
NoRenderButton_Click ( object sender, EventArgs e ) : void
OutputBoxPrintLn ( string message ) : void
PCCBoxContext_Click ( object sender, EventArgs e ) : void
PCCsCheckedListBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
PicturePanel_Click ( object sender, MouseEventArgs e ) : void
RegenerateButton_Click ( object sender, EventArgs e ) : void
RegenerateThumbnail ( TreeTexInfo tex, int index, bool FromFile ) : void
RegenerateThumbs ( List temptexes ) : bool
ResetSearchBox ( ) : void
SaveFile ( List Filenames, List ExpIDs, KFreonLib.Textures tex2D, int j ) : bool
SaveProperties ( ) : void
SaveTreeToCSV ( bool ShowFilesExpIDs ) : void
ScanPCCList ( bool isTree, List pccs = null ) : ConcurrentBag
SearchBox_Enter ( object sender, EventArgs e ) : void
SearchBox_Leave ( object sender, EventArgs e ) : void
SearchBox_TextChanged ( object sender, EventArgs e ) : void
SearchListBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
Search_KeyDown ( object sender, KeyEventArgs e ) : void
SetupGUI ( ) : void
ShowContextPanel ( bool state ) : void
UpdateModifiedTex ( KFreonLib.Textures tex2D, TreeTexInfo tex, int ind ) : void
UpdatePCCList ( bool SelectAll, TreeTexInfo current ) : void
UpdateTexDetails ( int index, TreeTexInfo &tex, KFreonLib.Textures &tex2D ) : void
UpdateThumbnailDisplays ( myTreeNode nod ) : void

Loads thumbnails from disk, generated during treescan.

UpscaleButton_Click ( object sender, EventArgs e ) : void
WriteDebug ( string line ) : void
addDLCToTreeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
asFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
changeCustomTFCToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dontShowFilesExpIDsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
importTreeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
rebuildDatabaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
regenerateAllThumbnailsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveChangesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
searchToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectedFolderToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showFilesExpIDsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
startTPFModeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
toggleTooltipsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
updateTOCsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
wikiArticleToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GoToTex() public method

public GoToTex ( string name, string nodeName, int selectedIndex ) : void
name string
nodeName string
selectedIndex int
return void

InstallTexture() public method

public InstallTexture ( string texname, List pccs, List IDs, byte imgdata ) : bool
texname string
pccs List
IDs List
imgdata byte
return bool

ResetSearchAfterClose() public method

public ResetSearchAfterClose ( ) : void
return void

SearchList_Click() public method

public SearchList_Click ( ListBox box ) : void
box ListBox
return void

SearchLoad() public method

public SearchLoad ( ) : List
return List

SetupSearch() public method

public SetupSearch ( ) : void
return void

SetupToolTip() public method

public SetupToolTip ( Control control ) : ToolTip
control Control
return ToolTip

SetupTree() public static method

public static SetupTree ( TreeDB &Tree, string pathCooked, int WhichGame, TreeView MainTreeView, string pathBIOGame ) : bool
Tree TreeDB
pathCooked string
WhichGame int
MainTreeView TreeView
pathBIOGame string
return bool

Texplorer2() public method

public Texplorer2 ( bool nowindow = false, int which = -1 ) : AmaroK86.ImageFormat
nowindow bool
which int
return AmaroK86.ImageFormat

UpdateTOCs() public static method

public static UpdateTOCs ( int WhichGame = 3 ) : void
WhichGame int
return void

removeTopTexture() public method

public removeTopTexture ( string texname, List pccs, List IDs ) : void
texname string
pccs List
IDs List
return void

Property Details

MainPictureBox public_oe property

public System.Windows.Forms.PictureBox MainPictureBox
return System.Windows.Forms.PictureBox

Tree public_oe property

public TreeDB Tree
return TreeDB