LeviLamina
Loading...
Searching...
No Matches
CompressedNetworkPeer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/network/NetworkSettingOptions.h"
5
6// auto generated inclusion list
7#include "mc/network/Compressibility.h"
8#include "mc/network/NetworkPeer.h"
9
10// auto generated forward declare list
11// clang-format off
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 32, ::std::string> mSendBuffer;
20 ::ll::TypedStorage<8, 32, ::std::string> mReceiveBuffer;
21 ::ll::TypedStorage<1, 1, bool> mCompressionEnabled;
22 ::ll::TypedStorage<1, 1, bool> mHybridCompressionEnabled;
23 ::ll::TypedStorage<4, 24, ::NetworkSettingOptions> mNetworkSettings;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ~CompressedNetworkPeer() /*override*/ = default;
31
32 // vIndex: 1
33 virtual void sendPacket(
34 ::std::string const& data,
35 ::NetworkPeer::Reliability reliability,
36 ::Compressibility compressible
37 ) /*override*/;
38
39 // vIndex: 2
40 virtual ::NetworkPeer::DataStatus receivePacket(
41 ::std::string& outData,
42 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
43 ) /*override*/;
44
45 // vIndex: 3
46 virtual ::NetworkPeer::NetworkStatus getNetworkStatus() const /*override*/;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI void
59 $sendPacket(::std::string const& data, ::NetworkPeer::Reliability reliability, ::Compressibility compressible);
60
61 MCAPI ::NetworkPeer::DataStatus $receivePacket(
62 ::std::string& outData,
63 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
64 );
65
66 MCFOLD ::NetworkPeer::NetworkStatus $getNetworkStatus() const;
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition CompressedNetworkPeer.h:15
Definition NetworkPeer.h:8
Definition NetworkSettingOptions.h:9