MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / RegNetEventCallback

Method RegNetEventCallback

src/plugin/net/src/AFCNetServerService.cpp:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101bool AFCNetServerService::RegNetEventCallback(NET_EVENT_FUNCTOR&& cb)
102{
103 net_event_callbacks_.push_back(std::forward<NET_EVENT_FUNCTOR>(cb));
104 return true;
105}
106
107void AFCNetServerService::OnNetMsg(const AFNetMsg* msg)
108{

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected