LeviLamina
Loading...
Searching...
No Matches
WebRTCNetworkPeer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/nether_net/NetworkID.h"
8#include "mc/network/Compressibility.h"
9#include "mc/network/NetworkPeer.h"
10
11// auto generated forward declare list
12// clang-format off
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::NetherNetConnector> const> mNetherNetConnector;
21 ::ll::TypedStorage<8, 24, ::NetherNet::NetworkID const> mPeerId;
22 ::ll::TypedStorage<8, 8, uint64 const> mSessionId;
23 ::ll::TypedStorage<8, 56, ::NetworkPeer::NetworkStatus> mNetherNetNetworkStatus;
24 ::ll::TypedStorage<4, 4, uint> mNumNetworkStatusUpdates;
25 ::ll::TypedStorage<8, 32, ::std::string> mPartialData;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~WebRTCNetworkPeer() /*override*/;
33
34 // vIndex: 1
35 virtual void
36 sendPacket(::std::string const& data, ::NetworkPeer::Reliability reliability, ::Compressibility) /*override*/;
37
38 // vIndex: 2
39 virtual ::NetworkPeer::DataStatus receivePacket(
40 ::std::string& outData,
41 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
42 ) /*override*/;
43
44 // vIndex: 3
45 virtual ::NetworkPeer::NetworkStatus getNetworkStatus() const /*override*/;
46
47 // vIndex: 4
48 virtual void update() /*override*/;
49
50 // vIndex: 6
51 virtual bool isLocal() const /*override*/;
52
53 // vIndex: 7
54 virtual bool isEncrypted() const /*override*/;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCNAPI void $sendPacket(::std::string const& data, ::NetworkPeer::Reliability reliability, ::Compressibility);
73
74 MCNAPI ::NetworkPeer::DataStatus $receivePacket(
75 ::std::string& outData,
76 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
77 );
78
79 MCNAPI ::NetworkPeer::NetworkStatus $getNetworkStatus() const;
80
81 MCNAPI void $update();
82
83 MCNAPI bool $isLocal() const;
84
85 MCNAPI bool $isEncrypted() const;
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition NetworkPeer.h:8
Definition WebRTCNetworkPeer.h:16
MCAPI void $update()
MCAPI bool $isLocal() const
MCAPI::NetworkPeer::DataStatus $receivePacket(::std::string &outData, ::std::shared_ptr<::std::chrono::steady_clock::time_point > const &timepointPtr)
MCAPI void _updateConnectionStatus()
MCAPI::NetworkPeer::NetworkStatus $getNetworkStatus() const
MCAPI bool $isEncrypted() const
MCAPI void $dtor()
MCAPI void $sendPacket(::std::string const &data, ::NetworkPeer::Reliability reliability, ::Compressibility)
static MCAPI void ** $vftable()
Definition NetherNetConnector.h:23