LeviLamina
Loading...
Searching...
No Matches
NetworkID.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/nether_net/p2p/NetworkID.h"
7
#include "mc/deps/nether_net/realms/NetworkID.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
namespace
Json {
class
Value
; }
12
// clang-format on
13
14
namespace
NetherNet {
15
16
struct
NetworkID
17
:
public
::std::variant<::std::monostate, ::NetherNet::P2P::NetworkID, ::NetherNet::Realms::NetworkID> {
18
public
:
19
// prevent constructor by default
20
NetworkID();
21
22
public
:
23
// member functions
24
// NOLINTBEGIN
25
MCNAPI
explicit
NetworkID
(::std::string
const
& str);
26
27
MCNAPI uint64
getHash
()
const
;
28
29
MCNAPI
bool
isValid
()
const
;
30
31
MCNAPI ::Json::Value
toJson
()
const
;
32
33
MCNAPI ::std::string
toString
()
const
;
34
// NOLINTEND
35
36
public
:
37
// constructor thunks
38
// NOLINTBEGIN
39
MCNAPI
void
*
$ctor
(::std::string
const
& str);
40
// NOLINTEND
41
};
42
43
}
// namespace NetherNet
Json::Value
Definition
Value.h:16
NetherNet::NetworkID::isValid
MCAPI bool isValid() const
NetherNet::NetworkID::$ctor
MCAPI void * $ctor(::std::string const &str)
NetherNet::NetworkID::toString
MCAPI::std::string toString() const
NetherNet::NetworkID::getHash
MCAPI uint64 getHash() const
NetherNet::NetworkID::toJson
MCAPI::Json::Value toJson() const
NetherNet::NetworkID::NetworkID
MCAPI NetworkID(::std::string const &str)
src
mc
deps
nether_net
NetworkID.h
Generated on
for LeviLamina by
1.16.1