3 #include "KapMirror/Components/NetworkComponent.hpp"
6 namespace KapMirror::Experimental {
9 long long lastIntervalTime = 0;
16 int clientIntervalReceivedPackets = 0;
17 long clientIntervalReceivedBytes = 0;
18 int clientIntervalSentPackets = 0;
19 long clientIntervalSentBytes = 0;
22 int clientTotalReceivedPackets = 0;
23 int clientTotalSentPackets = 0;
26 long clientReceivedBytesTotal = 0;
27 long clientSentBytesTotal = 0;
31 int clientReceivedPacketsPerSecond = 0;
32 long clientReceivedBytesPerSecond = 0;
33 int clientSentPacketsPerSecond = 0;
34 long clientSentBytesPerSecond = 0;
41 int serverIntervalReceivedPackets = 0;
42 long serverIntervalReceivedBytes = 0;
43 int serverIntervalSentPackets = 0;
44 long serverIntervalSentBytes = 0;
47 int serverTotalReceivedPackets = 0;
48 int serverTotalSentPackets = 0;
51 long serverReceivedBytesTotal = 0;
52 long serverSentBytesTotal = 0;
56 int serverReceivedPacketsPerSecond = 0;
57 long serverReceivedBytesPerSecond = 0;
58 int serverSentPacketsPerSecond = 0;
59 long serverSentBytesPerSecond = 0;