MCPcopy Create free account
hub / github.com/Norbyte/bg3se / GetFreeMessage

Method GetFreeMessage

BG3Extender/Extender/Server/ServerNetworking.cpp:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136net::ExtenderMessage * NetworkManager::GetFreeMessage(UserId userId)
137{
138 if (userId && !CanSendExtenderMessages(userId.GetPeerId())) {
139 ERR("Attempted to send extender message to user %d that does not understand extender protocol!", userId.Id);
140 return nullptr;
141 }
142
143 return GetFreeMessage();
144}
145
146net::ExtenderMessage * NetworkManager::GetFreeMessage()
147{

Callers 1

Calls 1

GetPeerIdMethod · 0.80

Tested by

no test coverage detected