SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
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_t * | target () const |
double | x () const |
double | y () const |
hasted_with | hasted () const |
action_t * | action () 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_t & | target (player_t *p) |
ground_aoe_params_t & | action (action_t *a) |
ground_aoe_params_t & | x (double x) |
ground_aoe_params_t & | y (double y) |
ground_aoe_params_t & | hasted (hasted_with state) |
ground_aoe_params_t & | pulse_time (timespan_t t) |
ground_aoe_params_t & | start_time (timespan_t t) |
ground_aoe_params_t & | duration (timespan_t t) |
ground_aoe_params_t & | expiration_pulse (expiration_pulse_type state) |
ground_aoe_params_t & | n_pulses (unsigned n) |
ground_aoe_params_t & | expiration_callback (const param_cb_t &cb) |
ground_aoe_params_t & | state_callback (const state_cb_t &cb) |
Public Attributes | |
player_t * | target_ |
double | x_ |
double | y_ |
hasted_with | hasted_ |
action_t * | action_ |
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_ |