MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / isMessageTooOld

Method isMessageTooOld

source/network/ChatEventMessage.cpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool EventMessage::isMessageTooOld(float maxTimeDisplay) const
48{
49 return mClockCreation.getElapsedTime().asSeconds() > maxTimeDisplay;
50}
51
52std::string EventMessage::getMessageAsString()
53{

Callers 1

updateMessagesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected