MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / RecycleMessage

Method RecycleMessage

Source/Engine/Networking/NetworkPeer.cpp:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void NetworkPeer::RecycleMessage(const NetworkMessage& message)
146{
147 ASSERT(message.IsValid());
148#ifdef BUILD_DEBUG
149 ASSERT(MessagePool.Contains(message.MessageId) == false);
150#endif
151
152 // Return the message id
153 MessagePool.Push(message.MessageId);
154}
155
156NetworkMessage NetworkPeer::BeginSendMessage()
157{

Callers 1

UpdateMethod · 0.80

Calls 3

IsValidMethod · 0.45
ContainsMethod · 0.45
PushMethod · 0.45

Tested by

no test coverage detected