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

Function SNetRegisterEventHandler

Source/storm/storm_net.cpp:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103bool SNetRegisterEventHandler(event_type evtype, SEVTHANDLER func)
104{
105#ifndef NONET
106 std::lock_guard<SdlMutex> lg(storm_net_mutex);
107#endif
108 return dvlnet_inst->SNetRegisterEventHandler(evtype, func);
109}
110
111bool SNetDestroy()
112{

Callers 1

RegisterNetEventHandlersFunction · 0.85

Calls 1

Tested by

no test coverage detected