mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Cleanup various headers to reduce compilation times (#6255)
* Cleanup various headers to reduce compilation times
This commit is contained in:
parent
816bca32ac
commit
85511a642f
51 changed files with 94 additions and 84 deletions
|
@ -563,6 +563,20 @@ void IncomingSplitBuffer::removeUnreliableTimedOuts(float dtime, float timeout)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
ConnectionCommand
|
||||
*/
|
||||
|
||||
void ConnectionCommand::send(u16 peer_id_, u8 channelnum_, NetworkPacket *pkt,
|
||||
bool reliable_)
|
||||
{
|
||||
type = CONNCMD_SEND;
|
||||
peer_id = peer_id_;
|
||||
channelnum = channelnum_;
|
||||
data = pkt->oldForgePacket();
|
||||
reliable = reliable_;
|
||||
}
|
||||
|
||||
/*
|
||||
Channel
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue