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

Method SendTo

src/Map.cpp:590–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588
589
590void cMap::SendTo(cClientHandle & a_Client)
591{
592 a_Client.SendMapInfo(m_ID, m_Scale);
593
594 for (unsigned int i = 0; i < m_Width; ++i)
595 {
596 const Byte* Colors = &m_Data[i * m_Height];
597
598 a_Client.SendMapColumn(m_ID, i, 0, Colors, m_Height);
599 }
600
601 a_Client.SendMapDecorators(m_ID, m_Decorators);
602}
603
604
605

Callers 4

SendBlockToMethod · 0.45
BroadcastBlockEntityMethod · 0.45
SendBlockEntityMethod · 0.45
AuthenticateMethod · 0.45

Calls 3

SendMapInfoMethod · 0.45
SendMapColumnMethod · 0.45
SendMapDecoratorsMethod · 0.45

Tested by

no test coverage detected