10using EventData = std::any;
31using EventCallback = std::function<void(
const Event&)>;
Represents an event that can be emitted and listened to.
Definition Event.hpp:13
std::string objectID
Unique identifier for the object emitting the event.
Definition Event.hpp:18
int64_t timestamp
Timestamp of when the event was created (in milliseconds since epoch)
Definition Event.hpp:24
std::string name
Name of the event.
Definition Event.hpp:21
std::string id
Unique identifier for the event.
Definition Event.hpp:15
EventData data
Data associated with the event.
Definition Event.hpp:27