class

Event

Module
Events
Header
#include "Events/Event.h"
Namespace
Mowo

Properties

TypeNameDescription
boolhandledDefault false.

Constructors

SignatureNameDescription
virtual ~Event() = default~Event

Public functions

ReturnsNameDescription
uint32_tRegisterEventTypeRegistration 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_tGetTypeID
EventCategoryGetCategory
std::stringToString
boolIsInCategory

Function details

~Event

C++
virtual ~Event() = default

RegisterEventType

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 = 0

GetTypeID

C++
virtual uint32_t GetTypeID() const = 0

GetCategory

C++
virtual EventCategory GetCategory() const = 0

ToString

C++
virtual std::string ToString() const

IsInCategory

C++
bool IsInCategory(EventCategory category) const
Generated from Events/Event.h via events.json · Oct 26, 2026Version 1.0.0