FormActMainAddCombatAction Method (Int32, Boolean, String, String, String, Dnum, DateTime, Int32, String, String) |
Runs the parsed data through the renaming checks(Data Correction tab), raises API events, notifies the Spell Timers window and adds the data to the current encounter
Namespace:
Advanced_Combat_Tracker
Assembly:
Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.2.285
Syntax public void AddCombatAction(
int SwingType,
bool Critical,
string Special,
string Attacker,
string theAttackType,
Dnum Damage,
DateTime Time,
int TimeSorter,
string Victim,
string theDamageType
)
Parameters
- SwingType
- Type: SystemInt32
The type of action. Use "(int)SwingTypeEnum.Melee" to set as auto-attack damage for instance. - Critical
- Type: SystemBoolean
If the action was critical - Special
- Type: SystemString
If the action was a bonus of some sort. IE, double, flurry, etc. - Attacker
- Type: SystemString
Source of the action - theAttackType
- Type: SystemString
The name of the action or attack - Damage
- Type: Advanced_Combat_TrackerDnum
The amount of damage affected by the action. - Time
- Type: SystemDateTime
The time of the action, rounded to the nearest second unless the log text specifies a better rounding. - TimeSorter
- Type: SystemInt32
A unique sequential number to give the action for sorting purposes. (Several actions can have the same time stamp, but happen in order) No other action currently in memory should have this specific number if you can help it. - Victim
- Type: SystemString
The destination of the action - theDamageType
- Type: SystemString
The type of damage the action does... IE, crushing, heat, healing, absorption, etc.
See Also