MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / QueueOutgoingCommand

Method QueueOutgoingCommand

src/Nazara/Network/ENetPeer.cpp:1249–1258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1247 }
1248
1249 void ENetPeer::QueueOutgoingCommand(ENetProtocol& command, ENetPacketRef packet, UInt32 offset, UInt16 length)
1250 {
1251 OutgoingCommand outgoingCommand;
1252 outgoingCommand.command = command;
1253 outgoingCommand.fragmentLength = length;
1254 outgoingCommand.fragmentOffset = offset;
1255 outgoingCommand.packet = packet;
1256
1257 SetupOutgoingCommand(outgoingCommand);
1258 }
1259
1260 void ENetPeer::SetupOutgoingCommand(OutgoingCommand& outgoingCommand)
1261 {

Callers 3

ConnectMethod · 0.80
HandleConnectMethod · 0.80
ThrottleBandwidthMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected