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

Classes

struct  set_bonus_data_t
 

Public Types

using bonus_t = std::vector< set_bonus_data_t >
 
using bonus_type_t = std::vector< bonus_t >
 
using set_bonus_type_t = std::vector< bonus_type_t >
 
using bonus_count_t = std::vector< unsigned int >
 
using set_bonus_count_t = std::vector< bonus_count_t >
 

Public Member Functions

 set_bonus_t (player_t *p)
 
void initialize_items ()
 
void initialize ()
 
std::unique_ptr< expr_tcreate_expression (const player_t *, util::string_view type)
 
std::vector< const item_set_bonus_t * > enabled_set_bonus_data () const
 
const spell_data_tset (specialization_e spec, set_bonus_type_e set_bonus, set_bonus_e bonus) const
 
bool has_set_bonus (specialization_e spec, set_bonus_type_e set_bonus, set_bonus_e bonus) const
 
bool parse_set_bonus_option (util::string_view opt_str, set_bonus_type_e &set_bonus, set_bonus_e &bonus)
 
std::string to_string () const
 
std::string to_profile_string (const std::string &="\) const
 
std::string generate_set_bonus_options () const
 

Public Attributes

player_tactor
 
set_bonus_type_t set_bonus_spec_data
 
set_bonus_count_t set_bonus_spec_count
 

Static Public Attributes

static const unsigned N_BONUSES = 8
 

Friends

void sc_format_to (const set_bonus_t &, fmt::format_context::iterator)