Advanced Combat Tracker Plugin API
FormSpellTimers Class
NamespacesAdvanced_Combat_TrackerFormSpellTimers
Summary description for FormSpellTimers.
Declaration Syntax
C#Visual Basic
public class FormSpellTimers : Form
Public Class FormSpellTimers
	Inherits Form
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
FormSpellTimers()()()()
Initializes a new instance of the FormSpellTimers class

AddEditTimerDef(TimerData)
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

AllowPanel2
ApplyTimerMod(String, String, String, Single, Int32)
Applies a recast mod to new timers

ClearTimerDefs()()()()
Deletes all spell timer objects

DispellTimerMods(String)
Removes all recast mods on a combatant (in case of dispell/cure)

Dispose(Boolean)
Clean up any resources being used.
(Overrides Form.Dispose(Boolean).)
ExportControlTextXML(Stream)
Export the Text property of all Form controls to an XML stream

ExportControlTextXML(String)
Exports the Text property of all Form controls to an XML file (the -exportcontroltext switch for ACT can demonstrate this)

GenerateSpellTimerView
A replacable method which will alter display of the spell timer windows

GetRecastMods(String)
Gets the current recast mod amount for the specified combatant

GetTimerFrames()()()()
GetTimerFrames(Int32)
Gets the timer frames currently visible in the spell timers windows

ImportControlTextXML(String)
Imports an XML file to replace the Text property of controls in this Form

ImportControlTextXML(Stream)
Imports an XML stream to replace the Text property of controls in this Form

NotifySpell(String, String, Boolean, String, Boolean)
Tells the Timer Window about a skill being used. Preset recast mods will take effect through this method automatically.

NotifySpell(String, String, Boolean, String, Boolean, Dictionary<(Of <<'(String, String>)>>))
OnSpellTimerExpire
Called when a spell timer reaches zero

OnSpellTimerImageRefreshed
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

OnSpellTimerNotify
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.

OnSpellTimerRemoved
Called when a spell timer is removed from view; usually at -15 seconds

OnSpellTimerWarning
Called when a spell timer reaches its defined warning value; usually 10 seconds

RebuildSpellTreeView()()()()
Must be called after using AddEditTimerDef()... call only once per batch of objects

ReinitDisplayPanel()()()()
RemoveTimerDef(TimerData)
Removes a TimerData object from the TimerDefs collection Call RebuildSpellTreeView() after using this or the UI and TimerLookups won't be sync'ed

RemoveTimerMods(String)
Removes all recast mods owned by a combatant (in case of death)

SearchSpellTreeView(String)
Displays the spell timers that match the SearchTerm in the TreeView UI

SyncWhiteList()()()()
TimerDefs
Collection of spell timer objects that get loaded and saved by ACT

TimerLookups
Cached lookups of spell timer objects for triggering timers during parsing. (Gets populated by RebuildSpellTreeView())

TimerMods
Collection of active timer modifications.

WhiteList
List of players that will trigger timers that are restricted to certain people

Inheritance Hierarchy
Object
MarshalByRefObject
 Component
  Control
   ScrollableControl
    ContainerControl
     Form
      FormSpellTimers

Assembly: Advanced Combat Tracker (Module: Advanced Combat Tracker.exe) Version: 3.3.0.254