LeviLamina
Loading...
Searching...
No Matches
NetworkPacketRecorder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/File.h"
7#include "mc/network/Compressibility.h"
8#include "mc/network/NetworkPeer.h"
9
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastPacketTime;
15 ::ll::TypedStorage<1, 1, bool> mRecordingToFile;
16 ::ll::TypedStorage<8, 16, ::Core::File> mFile;
17 ::ll::TypedStorage<1, 1, bool> mIncludeSentPackets;
18 ::ll::TypedStorage<1, 1, bool> mIncludeReceivedPackets;
19 ::ll::TypedStorage<1, 1, bool> mToBase64;
20 ::ll::TypedStorage<8, 24, ::std::vector<int>> mAllowList;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual void sendPacket(::std::string const&, ::NetworkPeer::Reliability, ::Compressibility) /*override*/;
27
28 virtual ::NetworkPeer::NetworkStatus getNetworkStatus() const /*override*/;
29
30 virtual ::NetworkPeer::DataStatus
31 _receivePacket(::std::string&, ::std::shared_ptr<::std::chrono::steady_clock::time_point> const&) /*override*/;
32
33 virtual ~NetworkPacketRecorder() /*override*/ = default;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39
40 // NOLINTEND
41};
Definition NetworkPacketRecorder.h:10
Definition NetworkPeer.h:8