C# Class ARKBreedingStats.Form1

Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: cadon/ARKStatsExtractor

Public Properties

Property Type Description
overlay ARKOverlay

Public Methods

Method Description
Form1 ( ) : System
collectionChanged ( ) : void
doOCR ( string imageFilePath = "", bool manuallyTriggered = true ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

Private Methods

Method Description
CopyExtractionToClipboard ( ) : void
Form1_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
Form1_FormClosing ( object sender, FormClosingEventArgs e ) : void
Form1_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

NumericUpDownTestingTE_ValueChanged ( object sender, EventArgs e ) : void
OCRDebugLayoutPanel_DragDrop ( object sender, DragEventArgs e ) : void
OCRDebugLayoutPanel_DragEnter ( object sender, DragEventArgs e ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
add2Lib ( bool fromExtractor = true ) : void
aliveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
applyMultipliersToValues ( ) : void
assignCollectionClasses ( ) : void
bestBreedingPartnersToolStripMenuItem_Click ( object sender, EventArgs e ) : void
breedingValue ( int s, int r ) : double
btnFillValuesFromARK_Click ( object sender, EventArgs e ) : void
btnReadValuesFromArk_Click ( object sender, EventArgs e ) : void
btnTestOCR_Click ( object sender, EventArgs e ) : void
button2TamingCalc_Click ( object sender, EventArgs e ) : void
buttonDetBestBreeding_Click ( object sender, EventArgs e ) : void
buttonExtract_Click ( object sender, EventArgs e ) : void
buttonHelp_Click ( object sender, EventArgs e ) : void
buttonRecalculateTops_Click ( object sender, EventArgs e ) : void
calculateTopStats ( List creatures ) : void

calculates the top-stats in each species, sets the top-stat-flags in the creatures

cbbStatTestingRace_SelectedIndexChanged ( object sender, EventArgs e ) : void
checkBoxAlreadyBred_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxJustTamed_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxQuickWildCheck_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxShowDead_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxShowNeuteredCreatures_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxShowUnavailableCreatures_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxStatTestingBred_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxStatTestingTamed_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxToggleOverlay_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxWildTamedAuto_CheckedChanged ( object sender, EventArgs e ) : void
checkForUpdatedStatsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
checkForUpdates ( bool silentCheck = false ) : void
checkedListBoxOwner_ItemCheck ( object sender, System.Windows.Forms.ItemCheckEventArgs e ) : void
clearAll ( ) : void
comboBoxCreatures_SelectedIndexChanged ( object sender, EventArgs e ) : void
copyForARKChat ( bool breeding = true ) : void
createCreatureLVItem ( Creature cr, System.Windows.Forms.ListViewGroup g ) : System.Windows.Forms.ListViewItem
createOwnerList ( ) : void
createTimer ( string name, System.DateTime time ) : void
creatureBoxListView_FindParents ( object sender, Creature creature ) : void

this function is called if the user enters the settings of a creature. Finds the possible parents and saves them in the creatureBox

creatureInfoInput1_Add2Library_Clicked ( CreatureInfoInput sender ) : void
creatureInfoInputTester_Add2Library_Clicked ( CreatureInfoInput sender ) : void
creatureInfoInputTester_Save2Library_Clicked ( CreatureInfoInput sender ) : void
creatureInfoInput_ParentListRequested ( CreatureInfoInput sender ) : void
currentValuesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
deadToolStripMenuItem_Click ( object sender, EventArgs e ) : void
deleteSelectedCreatures ( ) : void
deleteSelectedToolStripMenuItem_Click ( object sender, EventArgs e ) : void
determineBestBreeding ( Creature chosenCreature = null ) : void
determineDinoRaceFromStats ( float stats, string name ) : List
editAllSelectedToolStripMenuItem_Click ( object sender, EventArgs e ) : void
editCreatureInTester ( Creature c, bool virtualCreature = false ) : void

Call this function with a creature c to put all its stats in the levelup-tester (and go to the tester-tab) to see what it could become

exportForSpreadsheet ( ) : void
extractLevels ( ) : bool
extractionFailed ( ) : void
filterLib ( ) : void

Call this list to set the listview to the current filters

findDuplicatesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
findParentSimilarities ( List parents, Creature creature ) : List[]
findParents ( Creature creature ) : List[]
forARKChatToolStripMenuItem_Click ( object sender, EventArgs e ) : void
forARKChatcurrentValuesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
forSpreadsheetToolStripMenuItem_Click ( object sender, EventArgs e ) : void
getCurrentDomLevels ( bool fromExtractor = true ) : int[]
getCurrentWildLevels ( bool fromExtractor = true ) : int[]
listBoxSpeciesLib_SelectedIndexChanged ( object sender, EventArgs e ) : void
listViewLibrary_KeyUp ( object sender, KeyEventArgs e ) : void
listViewLibrary_SelectedIndexChanged ( object sender, EventArgs e ) : void
listViewPossibilities_SelectedIndexChanged ( object sender, EventArgs e ) : void
listViewSpeciesBP_SelectedIndexChanged ( object sender, EventArgs e ) : void
listView_ColumnClick ( object sender, System.Windows.Forms.ColumnClickEventArgs e ) : void
loadAndAddToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadCollection ( bool add = false ) : void
loadCollectionFile ( string fileName, bool keepCurrentCreatures = false ) : void
loadToolStripMenuItem_Click ( object sender, EventArgs e ) : void
multiSetterToolStripMenuItem_Click ( object sender, EventArgs e ) : void
newCollection ( ) : void
newToolStripButton1_Click ( object sender, EventArgs e ) : void
newToolStripMenuItem_Click ( object sender, EventArgs e ) : void
numericUpDownImprintingBonusTester_ValueChanged ( object sender, EventArgs e ) : void
numericUpDown_Enter ( object sender, EventArgs e ) : void
onlinehelpToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripButton1_Click ( object sender, EventArgs e ) : void
quitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
radioButtonBPHighStats_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonBPTopStatsCn_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonBPTopStats_CheckedChanged ( object sender, EventArgs e ) : void
recalculateAllCreaturesValues ( ) : void
recalculateBreedingPlan ( ) : void
recalculateCreatureValues ( Creature c ) : void

call this function to recalculate all stat-values of Creature c according to its levels

saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveCollection ( ) : void
saveCollectionToFileName ( String fileName ) : void
saveNewCollection ( ) : void
saveToolStripButton1_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setActiveStat ( int stat ) : void
setCollectionChanged ( bool changed, string species = null ) : void
setCreatureValuesToExtractor ( Creature c, bool onlyWild = false ) : void
setPossibilitiesListview ( int s ) : void
setPossibility ( int s, int i, bool validateCombination = false ) : void
setStatus ( List cs, CreatureStatus s ) : void
setStatusOfSelected ( CreatureStatus s ) : void
setTesterEditCreature ( Creature c = null, bool virtualCreature = false ) : void
setTesterInputsTamed ( bool tamed ) : void
setUniqueTE ( ) : void
setWildSpeedLevelAccordingToOthers ( ) : void
settingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showBestBreedingPartner ( Creature c ) : void
showCreaturesInListView ( List creatures ) : void
showStatsInOverlay ( ) : void
showSumOfChosenLevels ( ) : void
statIOQuickWildLevelCheck ( StatIO sIO ) : void

Display the wild-levels, assuming it's a wild creature. Used for quick checking

statIOUpdateValue ( StatIO sIo ) : void

Updates the values in the testing-statIOs

statIO_Click ( object sender, EventArgs e ) : void
tabControl1_SelectedIndexChanged ( object sender, EventArgs e ) : void
toolStripButtonAddPlayer_Click ( object sender, EventArgs e ) : void
toolStripButtonAddTribe_Click ( object sender, EventArgs e ) : void
toolStripButtonClear_Click_1 ( object sender, EventArgs e ) : void
toolStripButtonCopy2Extractor_Click ( object sender, EventArgs e ) : void
toolStripButtonCopy2Tester_Click_1 ( object sender, EventArgs e ) : void
toolStripButtonExtract_Click ( object sender, EventArgs e ) : void
toolStripButtonSettings_Click ( object sender, EventArgs e ) : void
toolStripMenuItem2_Click ( object sender, EventArgs e ) : void
toolStripMenuItem3_Click ( object sender, EventArgs e ) : void
toolStripMenuItem4_Click ( object sender, EventArgs e ) : void
toolStripMenuItemEdit_Click ( object sender, EventArgs e ) : void
toolStripMenuItemRemove_Click ( object sender, EventArgs e ) : void
unavailableToolStripMenuItem_Click ( object sender, EventArgs e ) : void
updateAllTesterValues ( ) : void
updateCreatureListings ( int speciesIndex = -1 ) : void

This function should be called if the creatureCollection is changed, i.e. after loading a file or adding/removing a creature

updateCreatureValues ( Creature cr, bool creatureStatusChanged ) : void

Call this function to update the displayed values of a creature. Usually called after a creature was edited.

updateParentListInput ( CreatureInfoInput input ) : void
updateParents ( List creatures ) : void

Sets the parents according to the guids. Call after a file is loaded.

updateSpeciesComboboxes ( ) : void
updateTreeListSpecies ( List creatures ) : void

This function should be called if the creatureCollection is changed, i.e. after loading a file or adding/removing a creature. It updated the listed species in the treelist.

wildValuesToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Verwendete Ressourcen bereinigen.
protected Dispose ( bool disposing ) : void
disposing bool True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
return void

Form1() public method

public Form1 ( ) : System
return System

collectionChanged() public method

public collectionChanged ( ) : void
return void

doOCR() public method

public doOCR ( string imageFilePath = "", bool manuallyTriggered = true ) : void
imageFilePath string
manuallyTriggered bool
return void

Property Details

overlay public_oe property

public ARKOverlay overlay
return ARKOverlay