LeviLamina
Loading...
Searching...
No Matches
PeerRecordTable.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/nether_net/ContextProxy.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
NetherNet {
struct
NetworkID; }
11
namespace
rtc {
class
SocketAddress; }
12
// clang-format on
13
14
namespace
NetherNet {
15
16
class
PeerRecordTable
:
public
::NetherNet::ContextProxy
{
17
public
:
18
// PeerRecordTable inner types declare
19
// clang-format off
20
struct
PeerRecord
;
21
// clang-format on
22
23
// PeerRecordTable inner types define
24
struct
PeerRecord
{
25
public
:
26
// member variables
27
// NOLINTBEGIN
28
::ll::UntypedStorage<8, 8>
mUnk6d0d23;
29
::ll::UntypedStorage<8, 80>
mUnkabaa69;
30
// NOLINTEND
31
32
public
:
33
// prevent constructor by default
34
PeerRecord
& operator=(
PeerRecord
const
&);
35
PeerRecord
(
PeerRecord
const
&);
36
PeerRecord
();
37
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCAPI
~PeerRecord
();
42
// NOLINTEND
43
44
public
:
45
// destructor thunk
46
// NOLINTBEGIN
47
MCAPI
void
$dtor();
48
// NOLINTEND
49
};
50
51
public
:
52
// member variables
53
// NOLINTBEGIN
54
::ll::UntypedStorage<8, 96>
mUnkdc67f9;
55
// NOLINTEND
56
57
public
:
58
// prevent constructor by default
59
PeerRecordTable
& operator=(
PeerRecordTable
const
&);
60
PeerRecordTable
(
PeerRecordTable
const
&);
61
PeerRecordTable
();
62
63
public
:
64
// virtual functions
65
// NOLINTBEGIN
66
// vIndex: 0
67
virtual
~PeerRecordTable
()
/*override*/
=
default
;
68
// NOLINTEND
69
70
public
:
71
// member functions
72
// NOLINTBEGIN
73
MCAPI
bool
AddOrUpdate(
74
::NetherNet::NetworkID
networkID,
75
::rtc::SocketAddress
const
& address,
76
::std::chrono::steady_clock::time_point timeOfDiscovery
77
);
78
// NOLINTEND
79
80
public
:
81
// static functions
82
// NOLINTBEGIN
83
MCAPI static ::std::vector<::std::pair<::NetherNet::NetworkID, ::NetherNet::PeerRecordTable::PeerRecord>>
84
RemoveExpiredRecords(
85
::NetherNet::Utils::ThreadSafe
<
86
::std::map<::NetherNet::NetworkID, ::NetherNet::PeerRecordTable::PeerRecord>>::View
const
& exclusiveTable
87
);
88
// NOLINTEND
89
90
public
:
91
// destructor thunk
92
// NOLINTBEGIN
93
94
// NOLINTEND
95
96
public
:
97
// vftables
98
// NOLINTBEGIN
99
MCAPI
static
void
** $vftable();
100
// NOLINTEND
101
};
102
103
}
// namespace NetherNet
NetherNet::ContextProxy
Definition
ContextProxy.h:18
NetherNet::PeerRecordTable
Definition
PeerRecordTable.h:16
NetherNet::Utils::ThreadSafe
Definition
_HeaderOutputPredefine.h:230
rtc::SocketAddress
Definition
SocketAddress.h:12
NetherNet::NetworkID
Definition
NetworkID.h:7
NetherNet::PeerRecordTable::PeerRecord
Definition
PeerRecordTable.h:24
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
nether_net
PeerRecordTable.h
Generated on Sat Apr 26 2025 05:55:28 for LeviLamina by
1.12.0