void RemoteClient::ResendBlockIfOnWire(v3s16 p) { // if this block is on wire, mark it for sending again as soon as possible if (m_blocks_sending.find(p) != m_blocks_sending.end()) { SetBlockNotSent(p); } }
void RemoteClient::SetBlocksNotSent(std::map<v3s16, MapBlock*> &blocks) { for(std::map<v3s16, MapBlock*>::iterator i = blocks.begin(); i != blocks.end(); ++i) { v3s16 p = i->first; SetBlockNotSent(p); } }
void RemoteClient::SetBlockDeleted(v3s16 p) { SetBlockNotSent(p); m_blocks_sent.erase(p); }
void RemoteClient::ResendBlockIfOnWire(v3s16 p) { // if this block is on wire, mark it for sending again as soon as possible SetBlockNotSent(p); }