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
11namespace Json { class Value; }
12// clang-format on
13
14namespace NetherNet {
15
17: public ::std::variant<::std::monostate, ::NetherNet::P2P::NetworkID, ::NetherNet::Realms::NetworkID> {
18public:
19 // member functions
20 // NOLINTBEGIN
21 MCNAPI NetworkID();
22
23 MCNAPI explicit NetworkID(::std::string const& str);
24
25 MCNAPI explicit NetworkID(::Json::Value const& value);
26
27 MCNAPI uint64 getHash() const;
28
29 MCNAPI bool isValid() const;
30
31 MCNAPI ::std::string toCorrelationId() const;
32
33 MCNAPI ::Json::Value toJson() const;
34
35 MCNAPI ::std::string toString() const;
36 // NOLINTEND
37
38public:
39 // constructor thunks
40 // NOLINTBEGIN
41 MCNAPI void* $ctor();
42
43 MCNAPI void* $ctor(::std::string const& str);
44
45 MCNAPI void* $ctor(::Json::Value const& value);
46 // NOLINTEND
47};
48
49} // namespace NetherNet
Definition Value.h:16
MCAPI bool isValid() const
MCAPI::std::string toCorrelationId() const
MCAPI void * $ctor()
MCAPI void * $ctor(::std::string const &str)
MCAPI::std::string toString() const
MCAPI uint64 getHash() const
MCAPI void * $ctor(::Json::Value const &value)
MCAPI NetworkID(::Json::Value const &value)
MCAPI::Json::Value toJson() const
MCAPI NetworkID(::std::string const &str)