SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
priestspace::buffs::priest_buff_t< Base > Struct Template Reference

This is a template for common code between priest buffs. More...

#include <sc_priest.hpp>

Inheritance diagram for priestspace::buffs::priest_buff_t< Base >:

Public Types

using base_t = priest_buff_t
 

Public Member Functions

 priest_buff_t (priest_td_t &td, util::string_view name, const spell_data_t *s=spell_data_t::nil(), const item_t *item=nullptr)
 
 priest_buff_t (priest_t &p, util::string_view name, const spell_data_t *s=spell_data_t::nil(), const item_t *item=nullptr)
 

Protected Member Functions

priest_tpriest ()
 
const priest_tpriest () const
 

Detailed Description

template<typename Base = buff_t>
struct priestspace::buffs::priest_buff_t< Base >

This is a template for common code between priest buffs.

The template is instantiated with any type of buff ( buff_t, debuff_t, absorb_buff_t, etc. ) as the 'Base' class. Make sure you keep the inheritance hierarchy and use base_t in the derived class, don't skip it and call buff_t/absorb_buff_t/etc. directly.