SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
ground_aoe_params_t Struct Reference

Public Types

enum  hasted_with {
  NOTHING = 0, SPELL_HASTE, SPELL_SPEED, ATTACK_HASTE,
  ATTACK_SPEED
}
 
enum  expiration_pulse_type { NO_EXPIRATION_PULSE = 0, FULL_EXPIRATION_PULSE, PARTIAL_EXPIRATION_PULSE }
 
enum  state_type { EVENT_STARTED = 0, EVENT_CREATED, EVENT_DESTRUCTED, EVENT_STOPPED }
 
using param_cb_t = std::function< void(void)>
 
using state_cb_t = std::function< void(state_type, ground_aoe_event_t *)>
 

Public Member Functions

player_ttarget () const
 
double x () const
 
double y () const
 
hasted_with hasted () const
 
action_taction () const
 
timespan_t pulse_time () const
 
timespan_t start_time () const
 
timespan_t duration () const
 
expiration_pulse_type expiration_pulse () const
 
unsigned n_pulses () const
 
const param_cb_t & expiration_callback () const
 
const state_cb_t & state_callback () const
 
ground_aoe_params_ttarget (player_t *p)
 
ground_aoe_params_taction (action_t *a)
 
ground_aoe_params_tx (double x)
 
ground_aoe_params_ty (double y)
 
ground_aoe_params_thasted (hasted_with state)
 
ground_aoe_params_tpulse_time (timespan_t t)
 
ground_aoe_params_tstart_time (timespan_t t)
 
ground_aoe_params_tduration (timespan_t t)
 
ground_aoe_params_texpiration_pulse (expiration_pulse_type state)
 
ground_aoe_params_tn_pulses (unsigned n)
 
ground_aoe_params_texpiration_callback (const param_cb_t &cb)
 
ground_aoe_params_tstate_callback (const state_cb_t &cb)
 

Public Attributes

player_ttarget_
 
double x_
 
double y_
 
hasted_with hasted_
 
action_taction_
 
timespan_t pulse_time_
 
timespan_t start_time_
 
timespan_t duration_
 
expiration_pulse_type expiration_pulse_
 
unsigned n_pulses_
 
param_cb_t expiration_cb_
 
state_cb_t state_cb_