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/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, 24, ::Bedrock::NotNullNonOwnerPtr<::NetherNetConnector> const> mNetherNetConnector;
20 ::ll::TypedStorage<8, 8, uint64 const> mPeerId;
21 ::ll::TypedStorage<8, 8, uint64 const> mSessionId;
22 ::ll::TypedStorage<8, 56, ::NetworkPeer::NetworkStatus> mNetherNetNetworkStatus;
23 ::ll::TypedStorage<4, 4, uint> mNumNetworkStatusUpdates;
24 ::ll::TypedStorage<8, 32, ::std::string> mPartialData;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 0
31 virtual ~WebRTCNetworkPeer() /*override*/;
32
33 // vIndex: 1
34 virtual void
35 sendPacket(::std::string const& data, ::NetworkPeer::Reliability reliability, ::Compressibility) /*override*/;
36
37 // vIndex: 2
38 virtual ::NetworkPeer::DataStatus receivePacket(
39 ::std::string& outData,
40 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
41 ) /*override*/;
42
43 // vIndex: 3
44 virtual ::NetworkPeer::NetworkStatus getNetworkStatus() const /*override*/;
45
46 // vIndex: 4
47 virtual void update() /*override*/;
48
49 // vIndex: 6
50 virtual bool isLocal() const /*override*/;
51
52 // vIndex: 7
53 virtual bool isEncrypted() const /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI void _updateConnectionStatus();
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI void $sendPacket(::std::string const& data, ::NetworkPeer::Reliability reliability, ::Compressibility);
72
73 MCAPI ::NetworkPeer::DataStatus $receivePacket(
74 ::std::string& outData,
75 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
76 );
77
78 MCAPI ::NetworkPeer::NetworkStatus $getNetworkStatus() const;
79
80 MCAPI void $update();
81
82 MCFOLD bool $isLocal() const;
83
84 MCFOLD bool $isEncrypted() const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition NetworkPeer.h:8
Definition WebRTCNetworkPeer.h:15
Definition NetherNetConnector.h:23