mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Replace NetworkPacket pointers to references
This commit is contained in:
parent
74d34da6cb
commit
083c8c734e
8 changed files with 256 additions and 295 deletions
|
@ -400,7 +400,7 @@ public:
|
|||
std::vector<std::string> getPlayerNames();
|
||||
|
||||
/* send message to client */
|
||||
void send(u16 peer_id, u8 channelnum, NetworkPacket* pkt, bool reliable, bool deletepkt=true);
|
||||
void send(u16 peer_id, u8 channelnum, NetworkPacket* pkt, bool reliable);
|
||||
|
||||
/* send to all clients */
|
||||
void sendToAll(u16 channelnum, NetworkPacket* pkt, bool reliable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue