class
Event
- Module
- Events
- Header
#include "Events/Event.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
bool | handled | Default false. |
Constructors
| Signature | Name | Description |
|---|---|---|
virtual ~Event() = default | ~Event |
Public functions
| Returns | Name | Description |
|---|---|---|
uint32_t | RegisterEventType | Registration lives in the Events DLL and is keyed by name, so one event type resolves to one id no matter which module first touches it. |
const char* | GetName | |
uint32_t | GetTypeID | |
EventCategory | GetCategory | |
std::string | ToString | |
bool | IsInCategory |
Function details
~Event
C++
virtual ~Event() = defaultRegisterEventType
C++
static uint32_t RegisterEventType(const char* name)Registration lives in the Events DLL and is keyed by name, so one event type resolves to one id no matter which module first touches it. A module-local counter can't: MOWO_EVENT's id is a function-local static, and a module that dllexports the event class gets its own copy seeded in its own call order.
GetName
C++
virtual const char* GetName() const = 0GetTypeID
C++
virtual uint32_t GetTypeID() const = 0GetCategory
C++
virtual EventCategory GetCategory() const = 0ToString
C++
virtual std::string ToString() constIsInCategory
C++
bool IsInCategory(EventCategory category) constGenerated from Events/Event.h via events.json · Oct 26, 2026Version 1.0.0