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
#include "mc/deps/nether_net/NetworkID.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
namespace
webrtc {
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>
mUnkc826b3;
30
// NOLINTEND
31
32
public
:
33
// prevent constructor by default
34
PeerRecord& operator=(PeerRecord
const
&);
35
PeerRecord(PeerRecord
const
&);
36
PeerRecord();
37
};
38
39
public
:
40
// member variables
41
// NOLINTBEGIN
42
::ll::UntypedStorage<8, 96>
mUnkdc67f9;
43
// NOLINTEND
44
45
public
:
46
// prevent constructor by default
47
PeerRecordTable& operator=(PeerRecordTable
const
&);
48
PeerRecordTable(PeerRecordTable
const
&);
49
PeerRecordTable();
50
51
public
:
52
// virtual functions
53
// NOLINTBEGIN
54
virtual
~PeerRecordTable()
/*override*/
=
default
;
55
// NOLINTEND
56
57
public
:
58
// member functions
59
// NOLINTBEGIN
60
MCNAPI
bool
AddOrUpdate
(
61
::NetherNet::NetworkID
networkID,
62
::webrtc::SocketAddress
const
& address,
63
::std::chrono::steady_clock::time_point timeOfDiscovery
64
);
65
66
MCNAPI
bool
Find
(
::NetherNet::NetworkID
networkID,
::webrtc::SocketAddress
* pOut);
67
// NOLINTEND
68
};
69
70
}
// namespace NetherNet
NetherNet::ContextProxy
Definition
ContextProxy.h:18
NetherNet::PeerRecordTable::Find
MCAPI bool Find(::NetherNet::NetworkID networkID, ::webrtc::SocketAddress *pOut)
NetherNet::PeerRecordTable::AddOrUpdate
MCAPI bool AddOrUpdate(::NetherNet::NetworkID networkID, ::webrtc::SocketAddress const &address, ::std::chrono::steady_clock::time_point timeOfDiscovery)
webrtc::SocketAddress
Definition
SocketAddress.h:11
NetherNet::NetworkID
Definition
NetworkID.h:17
NetherNet::PeerRecordTable::PeerRecord
Definition
PeerRecordTable.h:24
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
nether_net
lan
PeerRecordTable.h
Generated on
for LeviLamina by
1.16.1