#include <event_dispatcher.h>
Public Types | |
typedef std::function< void(const NetGameEvent &, Params...) | CallbackClass) |
Public Member Functions | |
bool | dispatch (const NetGameEvent &game_event, Params... params) |
Dispatches the event object. | |
CallbackClass & | func_event (const std::string &name) |
typedef std::function< void(const NetGameEvent &, Params...) clan::NetGameEventDispatcher< Params >::CallbackClass) |
|
inline |
Dispatches the event object.
References clan::NetGameEvent::get_name().
|
inline |