SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
anonymous_namespace{sc_priest.cpp}::final::insanity_end_event_t Struct Reference

Simple insanity expiration event that kicks the actor out of Voidform. More...

Inheritance diagram for anonymous_namespace{sc_priest.cpp}::final::insanity_end_event_t:
event_t noncopyable

Public Member Functions

 insanity_end_event_t (priest_t &actor_, const timespan_t &duration_)
void execute () override
- Public Member Functions inherited from event_t
 event_t (sim_t &s, actor_t *a=nullptr)
 event_t (actor_t &p)
 event_t (sim_t &s, timespan_t delta_time)
 event_t (actor_t &a, timespan_t delta_time)
timespan_t occurs ()
timespan_t remains ()
void schedule (timespan_t delta_time)
 Schedule event on the event manager.
void reschedule (timespan_t new_time)
sim_tsim ()
const sim_tsim () const
rng::rng_trng ()
rng::rng_trng () const
virtual const char * name () const

Public Attributes

priest_t & actor
- Public Attributes inherited from event_t
sim_t_sim
event_tnext
timespan_t time
timespan_t reschedule_time
unsigned id
bool canceled
bool recycled
bool scheduled
actor_tactor

Additional Inherited Members

- Static Public Member Functions inherited from event_t
template<class T >
static void cancel (T &e)
static void cancel (event_t *&e)
- Static Protected Member Functions inherited from event_t
static void * operator new (std::size_t size, sim_t &sim)
 Placement-new operator for creating events. Do not use in user-code.
static void operator delete (void *, sim_t &)
static void operator delete (void *)
static void * operator new (std::size_t)

Detailed Description

Simple insanity expiration event that kicks the actor out of Voidform.