MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / GetCustomEvent

Function GetCustomEvent

Source/interfac.cpp:242–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242interface_mode GetCustomEvent(uint32_t eventType)
243{
244 return static_cast<interface_mode>(eventType - CustomEventsBegin);
245}
246
247uint32_t CustomEventToSdlEvent(interface_mode eventType)
248{

Callers 2

GameEventHandlerFunction · 0.85
RecordMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected