Click or drag to resize

FormSpellTimers Class

Summary description for FormSpellTimers.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsContainerControl
            System.Windows.FormsForm
              Advanced_Combat_TrackerFormSpellTimers

Namespace:  Advanced_Combat_Tracker
Assembly:  Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.2.285
Syntax
C#
public class FormSpellTimers : Form

The FormSpellTimers type exposes the following members.

Constructors
  NameDescription
Public methodFormSpellTimers
Initializes a new instance of the FormSpellTimers class
Top
Properties
  NameDescription
Public propertyAllowPanel2
Public propertyTimerDefs
Collection of spell timer objects that get loaded and saved by ACT
Public propertyTimerLookups
Cached lookups of spell timer objects for triggering timers during parsing. (Gets populated by RebuildSpellTreeView())
Public propertyTimerMods
Collection of active timer modifications.
Public propertyWhiteList
List of players that will trigger timers that are restricted to certain people
Top
Methods
  NameDescription
Public methodAddEditTimerDef
Adds a TimerData object to the TimerDefs collection, or replaces an existing object if the keys end up matching. Call RebuildSpellTreeView() after using this or the UI and TimerLookups won't be sync'ed
Public methodApplyTimerMod
Applies a recast mod to new timers
Public methodClearTimerDefs
Deletes all spell timer objects
Public methodDispellTimerMods
Removes all recast mods on a combatant (in case of dispell/cure)
Protected methodDispose
Clean up any resources being used.
(Overrides FormDispose(Boolean).)
Public methodExportControlTextXML(Stream)
Export the Text property of all Form controls to an XML stream
Public methodExportControlTextXML(String)
Exports the Text property of all Form controls to an XML file (the -exportcontroltext switch for ACT can demonstrate this)
Public methodGetRecastMods
Gets the current recast mod amount for the specified combatant
Public methodGetTimerFrames
Public methodGetTimerFrames(Int32)
Gets the timer frames currently visible in the spell timers windows
Public methodImportControlTextXML(Stream)
Imports an XML stream to replace the Text property of controls in this Form
Public methodImportControlTextXML(String)
Imports an XML file to replace the Text property of controls in this Form
Public methodNotifySpell(String, String, Boolean, String, Boolean)
Tells the Timer Window about a skill being used. Preset recast mods will take effect through this method automatically.
Public methodNotifySpell(String, String, Boolean, String, Boolean, DictionaryString, String)
Public methodRebuildSpellTreeView
Must be called after using AddEditTimerDef()... call only once per batch of objects
Public methodReinitDisplayPanel
Public methodRemoveTimerDef
Removes a TimerData object from the TimerDefs collection Call RebuildSpellTreeView() after using this or the UI and TimerLookups won't be sync'ed
Public methodRemoveTimerMods
Removes all recast mods owned by a combatant (in case of death)
Public methodSearchSpellTreeView
Displays the spell timers that match the SearchTerm in the TreeView UI
Public methodSyncWhiteList
Top
Events
  NameDescription
Public eventOnSpellTimerExpire
Called when a spell timer reaches zero
Public eventOnSpellTimerImageRefreshed
Occurs when the Spell Timers window changes images. This may occur after a window resize as well. The "sender" will be the picture box being drawn
Public eventOnSpellTimerNotify
Called when a spell timer is created, restarted, or has a DoT tick applied. In other words, any time the window is notified about a spell it is actively keeping track of. If you need to know if the event is called off of a start/restart or a DoT tick, check the MasterTimer property of the last SpellTimer in TimerFrame.SpellTimers.
Public eventOnSpellTimerRemoved
Called when a spell timer is removed from view; usually at -15 seconds
Public eventOnSpellTimerWarning
Called when a spell timer reaches its defined warning value; usually 10 seconds
Top
Fields
  NameDescription
Public fieldGenerateSpellTimerView
A replacable method which will alter display of the spell timer windows
Top
See Also