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#include "mc/network/NetworkSettingOptions.h"
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 32, ::std::string> mSendBuffer;
16 ::ll::TypedStorage<8, 32, ::std::string> mReceiveBuffer;
17 ::ll::TypedStorage<1, 1, bool> mCompressionEnabled;
18 ::ll::TypedStorage<1, 1, bool> mHybridCompressionEnabled;
19 ::ll::TypedStorage<4, 24, ::NetworkSettingOptions> mNetworkSettings;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 0
26 virtual ~CompressedNetworkPeer() /*override*/ = default;
27
28 // vIndex: 1
29 virtual void sendPacket(
30 ::std::string const& data,
31 ::NetworkPeer::Reliability reliability,
32 ::Compressibility compressible
33 ) /*override*/;
34
35 // vIndex: 2
36 virtual ::NetworkPeer::DataStatus receivePacket(
37 ::std::string& outData,
38 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
39 ) /*override*/;
40
41 // vIndex: 3
42 virtual ::NetworkPeer::NetworkStatus getNetworkStatus() const /*override*/;
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCNAPI void
49 $sendPacket(::std::string const& data, ::NetworkPeer::Reliability reliability, ::Compressibility compressible);
50
51 MCNAPI ::NetworkPeer::DataStatus $receivePacket(
52 ::std::string& outData,
53 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
54 );
55
56 MCNAPI ::NetworkPeer::NetworkStatus $getNetworkStatus() const;
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition CompressedNetworkPeer.h:11
MCAPI::NetworkPeer::DataStatus $receivePacket(::std::string &outData, ::std::shared_ptr<::std::chrono::steady_clock::time_point > const &timepointPtr)
static MCAPI void ** $vftable()
MCAPI void $sendPacket(::std::string const &data, ::NetworkPeer::Reliability reliability, ::Compressibility compressible)
MCAPI::NetworkPeer::NetworkStatus $getNetworkStatus() const
Definition NetworkPeer.h:8