MCPcopy Create free account
hub / github.com/cuberite/cuberite / SendTo

Method SendTo

src/Scoreboard.cpp:186–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185
186void cObjective::SendTo(cClientHandle & a_Client)
187{
188 a_Client.SendScoreboardObjective(m_Name, m_DisplayName, 0);
189
190 for (cScoreMap::const_iterator it = m_Scores.begin(); it != m_Scores.end(); ++it)
191 {
192 a_Client.SendScoreUpdate(m_Name, it->first, it->second, 0);
193 }
194}
195
196
197

Callers

nothing calls this directly

Calls 6

beginMethod · 0.80
endMethod · 0.80
SendScoreUpdateMethod · 0.45
SendDisplayObjectiveMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected