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

Method BroadcastProgress

src/UI/Window.cpp:740–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738
739
740void cWindow::BroadcastProgress(int a_Progressbar, int a_Value)
741{
742 cCSLock Lock(m_CS);
743 for (cPlayerList::iterator itr = m_OpenedBy.begin(); itr != m_OpenedBy.end(); ++itr)
744 {
745 (*itr)->GetClientHandle()->SendWindowProperty(*this, a_Progressbar, a_Value);
746 } // for itr - m_OpenedBy[]
747}
748
749
750

Callers

nothing calls this directly

Calls 4

beginMethod · 0.80
endMethod · 0.80
GetClientHandleMethod · 0.80
SendWindowPropertyMethod · 0.45

Tested by

no test coverage detected