C# Class tsge.frmMain

Mostrar archivo Open project: Walkman100/TSGE

Public Properties

Property Type Description
m_SelectedBankSafeItem Label
m_SelectedEquipmentItem Label
m_SelectedInventoryItem Label

Public Methods

Method Description
frmMain ( ) : System

Default Constructor

Private Methods

Method Description
CreateFilteredItemList ( string nameFilter, int categoryFilter ) : IEnumerable

Creates a filtered item list.

CreateFilteredPrefixList ( int categoryFilter ) : IEnumerable

Creates a filtered item prefix list.

RefreshLoadedPlayer ( ) : void

Refreshes the non-bound UI items.

SetEquipmentListContext ( ) : void

Updates the equipment item list based on the selected slot and filter.

UpdateEquipmentLabel ( ItemLabel label, System.Item item ) : void

Updates the selected equipment label with the given item info.

aboutTSGEToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Displays the about form.

bankSafeItem_Click ( object sender, EventArgs e ) : void

Selects the hovered bank/safe label.

bankSafeItem_MouseEnter ( object sender, EventArgs e ) : void

Adjusts the hovered items background color.

bankSafeItem_MouseLeave ( object sender, EventArgs e ) : void

Adjusts the hovered items background color.

bankSafeItem_PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void

PreviewKeyDown event for bank and safe items to allow usage of hotkeys.

btnDeleteAllBankItems_Click ( object sender, EventArgs e ) : void

Deletes all items in the players bank.

btnDeleteAllBuffs_Click ( object sender, EventArgs e ) : void

Deletes all buffs.

btnDeleteAllSafeItems_Click ( object sender, EventArgs e ) : void

Deletes all the items in the players safe.

btnDeleteBuff_Click ( object sender, EventArgs e ) : void

Deletes the selected buff.

btnHackAllBankSafeStacks_Click ( object sender, EventArgs e ) : void

Hacks all the bank and safe item stack counts.

btnHackAllBuffDurations_Click ( object sender, EventArgs e ) : void

Hacks all the buff durations.

btnHackBuffDuration_Click ( object sender, EventArgs e ) : void

Hacks the buffs duration.

btnInventoryDeleteAllItems_Click ( object sender, EventArgs e ) : void

Deletes all inventory items.

btnInventoryDeleteItem_Click ( object sender, EventArgs e ) : void

Deletes the selected inventory item.

btnInventoryHackAllStacks_Click ( object sender, EventArgs e ) : void

Hacks all inventory item stacks.

btnInventoryMaxAllStacks_Click ( object sender, EventArgs e ) : void

Maxes all inventory item stacks.

btnLoadBankItems_Click ( object sender, EventArgs e ) : void

Imports a bank save file.

btnLoadBuffs_Click ( object sender, EventArgs e ) : void

Imports a saved buffs xml file.

btnLoadColorHair_Click ( object sender, EventArgs e ) : void

Imports a hair type and color profile.

btnLoadEquipmentSet_Click ( object sender, EventArgs e ) : void

Imports a saved equipment set.

btnLoadInventory_Click ( object sender, EventArgs e ) : void

Imports a saved inventory xml file.

btnLoadSafeItems_Click ( object sender, EventArgs e ) : void

Imports a safe save file.

btnMaxAllBankSafeStacks_Click ( object sender, EventArgs e ) : void

Maxes all bank and safe stack counts.

btnMaxAllBuffDurations_Click ( object sender, EventArgs e ) : void

Maxes all the buff durations.

btnMaxBuffDuration_Click ( object sender, EventArgs e ) : void

Maxes the selected buffs duration.

btnRandomColors_Click ( object sender, EventArgs e ) : void

Selects random colors.

btnRandomHair_Click ( object sender, EventArgs e ) : void

Selects a random hair file.

btnSaveBankItems_Click ( object sender, EventArgs e ) : void

Saves the players current bank items to an xml file.

btnSaveBuffs_Click ( object sender, EventArgs e ) : void

Saves the current buff list to an xml file.

btnSaveColorHair_Click ( object sender, EventArgs e ) : void

Exports the current players hair type and colors.

btnSaveEquipmentSet_Click ( object sender, EventArgs e ) : void

Saves the current players gear to an xml file.

btnSaveInventory_Click ( object sender, EventArgs e ) : void

Saves the current inventory to an xml file.

btnSaveSafeItems_Click ( object sender, EventArgs e ) : void

Saves the players current safe items into an xml file.

btnSelectHair_Click ( object sender, EventArgs e ) : void

Opens the hair selector.

cboBankSafeItemFilter_SelectedIndexChanged ( object sender, EventArgs e ) : void

Filters the bank/safe items list.

cboBankSafePrefixCategory_SelectedIndexChanged ( object sender, EventArgs e ) : void

Filters the bank/safe prefix list.

cboBankSafePrefix_SelectedIndexChanged ( object sender, EventArgs e ) : void

Updates the current items prefix.

cboEquipmentPrefixCategory_SelectedIndexChanged ( object sender, EventArgs e ) : void

Filters the equipment prefix list based on the selected category.

cboEquipmentPrefix_SelectedIndexChanged ( object sender, EventArgs e ) : void

Sets the equipment item prefix.

cboInvItemFilter_SelectedIndexChanged ( object sender, EventArgs e ) : void

Filters the item list based on the given selected category.

cboInventoryPrefixCategory_SelectedIndexChanged ( object sender, EventArgs e ) : void

Filters the prefix list based on the given selected category.

cboInventoryPrefix_SelectedIndexChanged ( object sender, EventArgs e ) : void

Updates the current items prefix.

checkForUpdatesToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Checks for updates.

equipmentItem_Click ( object sender, EventArgs e ) : void

Selects the hovered equipment label.

equipmentItem_MouseEnter ( object sender, EventArgs e ) : void

Adjusts the hovered items background color.

equipmentItem_MouseLeave ( object sender, EventArgs e ) : void

Adjusts the hovered items background color.

equipmentItem_PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void

PreviewKeyDown event for equipment items to allow usage of hotkeys.

exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Exits this appliction.

inventoryItem_Click ( object sender, EventArgs e ) : void

Selects the hovered inventory label.

inventoryItem_MouseEnter ( object sender, EventArgs e ) : void

Adjusts the hovered items background color.

inventoryItem_MouseLeave ( object sender, EventArgs e ) : void

Adjusts the hovered items background color.

inventoryItem_PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void

PreviewKeyDown event for inventory items to allow usage of hotkeys.

lstBankSafeItems_SelectedIndexChanged ( object sender, EventArgs e ) : void

Updates the current item.

lstBuffSelection_SelectedIndexChanged ( object sender, EventArgs e ) : void

Changes the players buff with the selected one.

lstEquipmentItems_SelectedIndexChanged ( object sender, EventArgs e ) : void

Selects and sets the equipment item.

lstInventoryItems_SelectedIndexChanged ( object sender, EventArgs e ) : void

Updates the current item.

newCharacterToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Creates a new player profile.

openToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Opens an existing profile.

pbEyesColor_Click ( object sender, EventArgs e ) : void

Adjusts the eyes color.

pbHairColor_Click ( object sender, EventArgs e ) : void

Adjusts the hair color.

pbPantsColor_Click ( object sender, EventArgs e ) : void

Adjusts the pants color

pbShirtColor_Click ( object sender, EventArgs e ) : void

Adjusts the shirt color.

pbShoesColor_Click ( object sender, EventArgs e ) : void

Adjusts the shoes color.

pbSkinColor_Click ( object sender, EventArgs e ) : void

Adjusts the skin color.

pbUndershirtColor_Click ( object sender, EventArgs e ) : void

Adjusts the undershirt color.

saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Saves a profile to the selected location.

saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Saves a profile to its known location.

tcMainTabControl_SelectedIndexChanged ( object sender, EventArgs e ) : void

Adjusts the form size for each tab.

tscboQuickSelect_DropDown ( object sender, EventArgs e ) : void

Fills the quick-select character box with known profiles.

tscboQuickSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Attempts to load the quick-selected character.

txtBankSafeFilter_TextChanged ( object sender, EventArgs e ) : void

Filters the bank/safe items list.

txtBankSafeStackCount_KeyPress ( object sender, KeyPressEventArgs e ) : void

Prevents the stack count from having non-numeric characters typed.

txtBankSafeStackCount_TextChanged ( object sender, EventArgs e ) : void

Updates the current items stack count with the entered amount.

txtEquipmentFilter_TextChanged ( object sender, EventArgs e ) : void

Filters the equipment item list.

txtInvItemFilter_TextChanged ( object sender, EventArgs e ) : void

Filters the inventory items list.

txtInventoryStackCount_KeyPress ( object sender, KeyPressEventArgs e ) : void

Prevents the stack count from having non-numeric characters typed.

txtInventoryStackCount_TextChanged ( object sender, EventArgs e ) : void

Updates the current items stack count with the entered amount.

Method Details

frmMain() public method

Default Constructor
public frmMain ( ) : System
return System

Property Details

m_SelectedBankSafeItem public_oe property

The currently selected bank/safe item.
public Label m_SelectedBankSafeItem
return Label

m_SelectedEquipmentItem public_oe property

The currently selected equipment item.
public Label m_SelectedEquipmentItem
return Label

m_SelectedInventoryItem public_oe property

The currently selected inventory item.
public Label m_SelectedInventoryItem
return Label