FormActMainAddCombatAction(Int32, Boolean, String, String, String, Dnum, DateTime, Int32, String, String) Method |
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_TrackerAssembly: Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.3.286
Syntaxpublic void AddCombatAction(
int SwingType,
bool Critical,
string Special,
string Attacker,
string theAttackType,
Dnum Damage,
DateTime Time,
int TimeSorter,
string Victim,
string theDamageType
)
Parameters
- SwingType Int32
- The type of action. Use "(int)SwingTypeEnum.Melee" to set as auto-attack damage for instance.
- Critical Boolean
- If the action was critical
- Special String
- If the action was a bonus of some sort. IE, double, flurry, etc.
- Attacker String
- Source of the action
- theAttackType String
- The name of the action or attack
- Damage Dnum
- The amount of damage affected by the action.
- Time DateTime
- The time of the action, rounded to the nearest second unless the log text specifies a better rounding.
- TimeSorter Int32
- 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 String
- The destination of the action
- theDamageType String
- The type of damage the action does... IE, crushing, heat, healing, absorption, etc.
See Also