MCPcopy Create free account
hub / github.com/ddnet/ddnet / AddWarning

Method AddWarning

src/engine/client/client.cpp:5144–5148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5142}
5143
5144void CClient::AddWarning(const SWarning &Warning)
5145{
5146 const std::unique_lock<std::mutex> Lock(m_WarningsMutex);
5147 m_vWarnings.emplace_back(Warning);
5148}
5149
5150std::optional<SWarning> CClient::CurrentWarning()
5151{

Callers 9

OnInitMethod · 0.45
OnMapLoadMethod · 0.45
OnMapLoadImplMethod · 0.45
OnInitMethod · 0.45
RunServerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected