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

Function RegisterNetEventHandlers

Source/multi.cpp:428–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428void RegisterNetEventHandlers()
429{
430 for (auto eventType : EventTypes) {
431 if (!SNetRegisterEventHandler(eventType, HandleEvents)) {
432 app_fatal(StrCat("SNetRegisterEventHandler:\n", SDL_GetError()));
433 }
434 }
435}
436
437void UnregisterNetEventHandlers()
438{

Callers 1

InitMultiFunction · 0.85

Calls 3

SNetRegisterEventHandlerFunction · 0.85
app_fatalFunction · 0.85
StrCatFunction · 0.85

Tested by

no test coverage detected