C# Class entity.MetaEditor2.RestoreSelection

Mostra file Open project: troymac1ure/Entity Class Usage Examples

Public Methods

Method Description
RestoreSelection ( Map map, HaloMap meta, string &filename ) : System

Initializes a new instance of the CustomPluginEditor class.

setControl ( string offset ) : void

Set the selected value to position @ offset

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CreateTree ( object ifps, string path ) : TreeNode[]

Creates a tree listing of all tags & reflexives (called recursively)

InitializeComponent ( ) : void

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

RestoreSelection_FormClosed ( object sender, FormClosedEventArgs e ) : void

The RestoreSelection form closed.

btnSelectAll_Click ( object sender, EventArgs e ) : void
btnSelectNone_Click ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void

The button 5_ click.

button6_Click ( object sender, EventArgs e ) : void

The button 6_ click.

cbSourceReflexiveNumber_SelectedIndexChanged ( object sender, EventArgs e ) : void
checkRestoreValues ( TreeNodeCollection nodes ) : void
compareValues ( int source, int dest ) : string
getDataFromBinaryStream ( BinaryReader br, string type ) : string
getOffset ( Stream stream, int baseOffset, int objOffset ) : int
lbIndices_MouseMove ( object sender, System e ) : void
lbIndices_SelectedIndexChanged ( object sender, EventArgs e ) : void
loadValues ( TreeNode tn, ListBox lb ) : void
savetagTypeBtn_Click ( object sender, EventArgs e ) : void

The button 1_ click.

tvDestTags_AfterSelect ( object sender, TreeViewEventArgs e ) : void
tvSourceTags_AfterSelect ( object sender, TreeViewEventArgs e ) : void
verifyReflexives ( BinaryReader br, TreeNodeCollection tnc, int baseOffset ) : TreeNode[]

Checks the stream against the treenodes and builds a new tree, removing any zero count reflexives

verifyReflexivesRecursive ( BinaryReader br, TreeNodeCollection tnc, int baseOffset ) : TreeNodeCollection

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

RestoreSelection() public method

Initializes a new instance of the CustomPluginEditor class.
public RestoreSelection ( Map map, HaloMap meta, string &filename ) : System
map Map The map.
meta HaloMap
filename string
return System

setControl() public method

Set the selected value to position @ offset
public setControl ( string offset ) : void
offset string value listings seperated by backslash (\) markers. Ex: 120\16\4
return void