![]() |
SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
Public Member Functions | |
item_cooldown_exists_expr_t (player_t &player, const std::vector< slot_e > &slots, util::string_view full_expression) | |
bool | is_constant () override |
double | evaluate () override |
![]() | |
item_effect_expr_t (player_t &player, const std::vector< slot_e > &slots, util::string_view full_expression) | |
![]() | |
item_effect_base_expr_t (player_t &player, const std::vector< slot_e > &slots, util::string_view full_expression) | |
![]() | |
const char * | name () const |
int | id () const |
double | eval () |
bool | success () |
bool | always_true () |
bool | always_false () |
virtual bool | is_analyze_expression () |
Public Attributes | |
double | v |
![]() | |
std::vector< std::unique_ptr< expr_t > > | exprs |
![]() | |
std::vector< const special_effect_t * > | effects |
![]() | |
expression::token_e | op_ |
Additional Inherited Members | |
![]() | |
static double | coerce (timespan_t t) |
template<typename T > | |
static double | coerce (T t) |
static std::unique_ptr< expr_t > | parse (action_t *, util::string_view expr_str, bool optimize=false) |
template<class T > | |
static std::unique_ptr< expr_t > | create_constant (util::string_view name, T value) |
static void | optimize_expression (std::unique_ptr< expr_t > &expression, bool analyze_further=false, int spacing=0) |
static void | optimize_expression (std::unique_ptr< expr_t > &expression, sim_t &sim) |
![]() | |
expr_t (util::string_view name, expression::token_e op=expression::TOK_UNKNOWN) | |