mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Lint fix
This commit is contained in:
parent
ad7daf7b52
commit
43951cf646
@ -52,8 +52,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
void runTimeouts(float dtime);
|
void runTimeouts(float dtime);
|
||||||
void rawSend(const BufferedPacket &packet);
|
void rawSend(const BufferedPacket &packet);
|
||||||
bool rawSendAsPacket(
|
bool rawSendAsPacket(session_t peer_id, u8 channelnum, SharedBuffer<u8> data,
|
||||||
session_t peer_id, u8 channelnum, SharedBuffer<u8> data, bool reliable);
|
bool reliable);
|
||||||
|
|
||||||
void processReliableCommand(ConnectionCommand &c);
|
void processReliableCommand(ConnectionCommand &c);
|
||||||
void processNonReliableCommand(ConnectionCommand &c);
|
void processNonReliableCommand(ConnectionCommand &c);
|
||||||
@ -108,7 +108,8 @@ private:
|
|||||||
// If found, sets peer_id and dst
|
// If found, sets peer_id and dst
|
||||||
bool getFromBuffers(session_t &peer_id, SharedBuffer<u8> &dst);
|
bool getFromBuffers(session_t &peer_id, SharedBuffer<u8> &dst);
|
||||||
|
|
||||||
bool checkIncomingBuffers(Channel *channel, session_t &peer_id, SharedBuffer<u8> &dst);
|
bool checkIncomingBuffers(
|
||||||
|
Channel *channel, session_t &peer_id, SharedBuffer<u8> &dst);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Processes a packet with the basic header stripped out.
|
Processes a packet with the basic header stripped out.
|
||||||
@ -119,7 +120,7 @@ private:
|
|||||||
reliable: true if recursing into a reliable packet
|
reliable: true if recursing into a reliable packet
|
||||||
*/
|
*/
|
||||||
SharedBuffer<u8> processPacket(Channel *channel, SharedBuffer<u8> packetdata,
|
SharedBuffer<u8> processPacket(Channel *channel, SharedBuffer<u8> packetdata,
|
||||||
session_t peer_id, u8 channelnum, bool reliable);
|
session_t peer_id, u8 channelnum, bool reliable);
|
||||||
|
|
||||||
SharedBuffer<u8> handlePacketType_Control(Channel *channel,
|
SharedBuffer<u8> handlePacketType_Control(Channel *channel,
|
||||||
SharedBuffer<u8> packetdata, Peer *peer, u8 channelnum,
|
SharedBuffer<u8> packetdata, Peer *peer, u8 channelnum,
|
||||||
|
Loading…
Reference in New Issue
Block a user