SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Modules Pages
buff_creation::buff_creator_helper_t< T > Struct Template Reference
Inheritance diagram for buff_creation::buff_creator_helper_t< T >:
buff_creation::buff_creator_basics_t

Public Types

typedef T bufftype
 
typedef buff_creator_helper_t base_t
 

Public Member Functions

 buff_creator_helper_t (actor_pair_t q, const std::string &name, const spell_data_t *s=spell_data_t::nil(), const item_t *item=nullptr)
 
 buff_creator_helper_t (actor_pair_t q, uint32_t id, const std::string &name, const item_t *item=nullptr)
 
 buff_creator_helper_t (sim_t *sim, const std::string &name, const spell_data_t *s=spell_data_t::nil(), const item_t *item=nullptr)
 
bufftype & actors (actor_pair_t q)
 
bufftype & duration (timespan_t d)
 
bufftype & period (timespan_t d)
 
bufftype & default_value (double v)
 
bufftype & chance (double c)
 
bufftype & can_cancel (bool cc)
 
bufftype & max_stack (unsigned ms)
 
bufftype & cd (timespan_t t)
 
bufftype & reverse (bool r)
 
bufftype & quiet (bool q)
 
bufftype & activated (bool a)
 
bufftype & spell (const spell_data_t *s)
 
bufftype & add_invalidate (cache_e c)
 
bufftype & tick_behavior (buff_tick_behavior b)
 
bufftype & tick_zero (bool v)
 
bufftype & tick_time_behavior (buff_tick_time_behavior b)
 
bufftype & tick_time_callback (const buff_tick_time_callback_t &cb)
 
bufftype & tick_callback (const buff_tick_callback_t &cb)
 
bufftype & affects_regen (bool state)
 
bufftype & refresh_behavior (buff_refresh_behavior b)
 
bufftype & refresh_duration_callback (const buff_refresh_duration_callback_t &cb)
 
bufftype & stack_behavior (buff_stack_behavior b)
 
bufftype & rppm_freq (double f)
 
bufftype & rppm_mod (double m)
 
bufftype & rppm_scale (rppm_scale_e s)
 
bufftype & trigger_spell (const spell_data_t *s)
 
bufftype & stack_change_callback (const buff_stack_change_callback_t &cb)
 
- Public Member Functions inherited from buff_creation::buff_creator_basics_t
 buff_creator_basics_t (actor_pair_t, const std::string &name, const spell_data_t *=spell_data_t::nil(), const item_t *item=nullptr)
 
 buff_creator_basics_t (actor_pair_t, uint32_t id, const std::string &name, const item_t *item=nullptr)
 
 buff_creator_basics_t (sim_t *, const std::string &name, const spell_data_t *=spell_data_t::nil(), const item_t *item=nullptr)
 

Additional Inherited Members

- Protected Attributes inherited from buff_creation::buff_creator_basics_t
actor_pair_t _player
 
sim_t_sim
 
std::string _name
 
const spell_data_ts_data
 
const item_titem
 
double _chance
 
double _default_value
 
int _max_stack
 
timespan_t _duration
 
timespan_t _cooldown
 
timespan_t _period
 
int _quiet
 
int _reverse
 
int _activated
 
int _can_cancel
 
int _affects_regen
 
buff_tick_time_callback_t _tick_time_callback
 
buff_tick_behavior _tick_behavior
 
bool _initial_tick
 
buff_tick_time_behavior _tick_time_behavior
 
buff_refresh_behavior _refresh_behavior
 
buff_stack_behavior _stack_behavior
 
buff_tick_callback_t _tick_callback
 
buff_refresh_duration_callback_t _refresh_duration_callback
 
buff_stack_change_callback_t _stack_change_callback
 
double _rppm_freq
 
double _rppm_mod
 
rppm_scale_e _rppm_scale
 
const spell_data_t_trigger_data
 
std::vector< cache_e > _invalidate_list