Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
std::strong_ordering operator<=>(NetworkID
const
& other)
const
=
default
;
20
21
public
:
22
// prevent constructor by default
23
NetworkID();
24
25
public
:
26
// member functions
27
// NOLINTBEGIN
28
MCNAPI
explicit
NetworkID
(::std::string
const
& str);
29
30
MCNAPI
explicit
NetworkID
(
::Json::Value
const
& value);
31
32
MCAPI
bool
isValid()
const
;
33
34
MCNAPI ::std::string
toCorrelationId
()
const
;
35
36
#ifdef LL_PLAT_C
37
MCNAPI ::Json::Value toJson()
const
;
38
#endif
39
40
MCAPI ::std::string toString()
const
;
41
// NOLINTEND
42
43
public
:
44
// constructor thunks
45
// NOLINTBEGIN
46
MCNAPI
void
*
$ctor
(::std::string
const
& str);
47
48
MCNAPI
void
*
$ctor
(
::Json::Value
const
& value);
49
// NOLINTEND
50
};
51
52
}
// namespace NetherNet
Json::Value
Definition
Value.h:16
NetherNet::NetworkID::toCorrelationId
MCAPI::std::string toCorrelationId() const
NetherNet::NetworkID::$ctor
MCAPI void * $ctor(::std::string const &str)
NetherNet::NetworkID::$ctor
MCAPI void * $ctor(::Json::Value const &value)
NetherNet::NetworkID::NetworkID
MCAPI NetworkID(::Json::Value const &value)
NetherNet::NetworkID::NetworkID
MCAPI NetworkID(::std::string const &str)
src
mc
deps
nether_net
NetworkID.h
Generated on
for LeviLamina by
1.16.1