LeviLamina
Loading...
Searching...
No Matches
ConnectionRequest.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/edu/Role.h"
7#include "mc/deps/input/InputMode.h"
8#include "mc/network/BaseConnectionRequest.h"
9
10// auto generated forward declare list
11// clang-format off
12class WebToken;
15struct PlayerPartyInfo;
17namespace Social { struct Nonce; }
18// clang-format on
19
20class ConnectionRequest : public ::BaseConnectionRequest {
21public:
22 // prevent constructor by default
23 ConnectionRequest& operator=(ConnectionRequest const&);
24 ConnectionRequest();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~ConnectionRequest() /*override*/;
30
31 virtual bool _isAuthTypeWellFormed() const /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI ConnectionRequest(::ConnectionRequest const& other);
38
39 MCAPI ::std::string getDeviceModel() const;
40
41 MCAPI ::std::string getEduJoinerToHostNonce() const;
42
43 MCAPI ::std::string getEduSessionToken() const;
44
45 MCAPI ::std::string getEduTokenChain() const;
46
47 MCAPI ::std::optional<::Social::Nonce> getNonce() const;
48
49 MCAPI ::std::optional<::PlayerPartyInfo> getPartyInfo() const;
50
51 MCAPI bool isEduMode() const;
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57#ifdef LL_PLAT_C
58 MCAPI static ::ConnectionRequest create(
59 ::ConnectionAuthInfo const& authInfo,
60 ::std::string const& selfSignedId,
61 ::std::string const& serverAddress,
62 uint64 clientRandomId,
63 ::ConnectionSkinInfo const& skinInfo,
64 ::std::string const& deviceId,
65 ::InputMode currentInputMode,
66 int guiScale,
67 ::std::string const& languageCode,
68 bool isEditorMode,
69 bool isEduMode,
70 ::std::unique_ptr<::WebToken> eduTokenChain,
71 ::std::string eduSessionToken,
72 ::std::string eduJoinerToHostNonce,
73 ::edu::Role classRole,
74 ::std::string const& platformId,
75 ::std::string const& thirdPartyName,
76 ::std::string const& platformOnlineId,
77 ::std::string const& platformOfflineId,
78 ::std::optional<::PlayerPartyInfo> const& partyInfo,
79 bool compatibleWithClientSideChunkGen,
80 ::SyncedClientOptionsComponent const& options,
81 ::std::optional<::Social::Nonce> const& nonce
82 );
83#endif
84
85 MCAPI static ::ConnectionRequest fromString(::std::string const& str);
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCAPI void* $ctor(::ConnectionRequest const& other);
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCAPI void $dtor();
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103 MCAPI bool $_isAuthTypeWellFormed() const;
104
105
106 // NOLINTEND
107
108public:
109 // vftables
110 // NOLINTBEGIN
111 MCNAPI static void** $vftable();
112 // NOLINTEND
113};
static MCAPI void ** $vftable()
Definition WebToken.h:16
Definition ConnectionAuthInfo.h:5
Definition ConnectionSkinInfo.h:5
Definition PlayerPartyInfo.h:5
Definition Nonce.h:10
Definition SyncedClientOptionsComponent.h:10