SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
gain_t Struct Reference
Inheritance diagram for gain_t:
noncopyable

Public Member Functions

 gain_t (util::string_view n)
 
void add (resource_e rt, double amount, double overflow_=0.0)
 
void merge (const gain_t &other)
 
void analyze (size_t iterations)
 
const std::string & name () const
 

Public Attributes

std::array< double, RESOURCE_MAX > actual
 
std::array< double, RESOURCE_MAX > overflow
 
std::array< double, RESOURCE_MAX > count
 
const std::string name_str