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

Public Member Functions

 spell_data_expr_t (dbc_t &dbc, util::string_view n, expr_data_e dt=DATA_SPELL, bool eq=false, expression::token_e t=expression::TOK_UNKNOWN)
 
 spell_data_expr_t (dbc_t &dbc, util::string_view n, double constant_value)
 
 spell_data_expr_t (dbc_t &dbc, util::string_view n, util::string_view constant_value)
 
 spell_data_expr_t (dbc_t &dbc, util::string_view n, std::vector< uint32_t > constant_value)
 
virtual int evaluate ()
 
const std::string & name ()
 
virtual std::vector< uint32_t > operator| (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator & (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator- (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator< (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator> (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator<= (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator>= (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator== (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > operator!= (const spell_data_expr_t &) const
 
virtual std::vector< uint32_t > in (const spell_data_expr_t &)
 
virtual std::vector< uint32_t > not_in (const spell_data_expr_t &)
 

Static Public Member Functions

static std::unique_ptr< spell_data_expr_tparse (sim_t *sim, util::string_view expr_str)
 
static std::unique_ptr< spell_data_expr_tcreate_spell_expression (dbc_t &dbc, util::string_view name_str)
 

Public Attributes

std::string name_str
 
dbc_tdbc
 
expr_data_e data_type
 
bool effect_query
 
expression::token_e result_tok
 
double result_num
 
std::vector< uint32_t > result_spell_list
 
std::string result_str