LeviLamina
Loading...
Searching...
No Matches
ThirdPartyServer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace Core { class Path; }
12// clang-format on
13
14class ThirdPartyServer {
15public:
16 // ThirdPartyServer inner types declare
17 // clang-format off
18 struct AvailableGame;
19 // clang-format on
20
21 // ThirdPartyServer inner types define
22 struct AvailableGame {
23 public:
24 // member variables
25 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 AvailableGame& operator=(AvailableGame const&);
35 AvailableGame(AvailableGame const&);
36 AvailableGame();
37
38 public:
39 // member functions
40 // NOLINTBEGIN
41#ifdef LL_PLAT_C
42 MCNAPI ~AvailableGame();
43#endif
44 // NOLINTEND
45
46 public:
47 // destructor thunk
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCNAPI void $dtor();
51#endif
52 // NOLINTEND
53 };
54
55public:
56 // member variables
57 // NOLINTBEGIN
80 // NOLINTEND
81
82#ifdef LL_PLAT_S
83public:
84 // prevent constructor by default
85 ThirdPartyServer& operator=(ThirdPartyServer const&);
86 ThirdPartyServer(ThirdPartyServer const&);
87 ThirdPartyServer();
88
89#else // LL_PLAT_C
90public:
91 // prevent constructor by default
92 ThirdPartyServer& operator=(ThirdPartyServer const&);
93 ThirdPartyServer(ThirdPartyServer const&);
94
95#endif
96public:
97 // member functions
98 // NOLINTBEGIN
99#ifdef LL_PLAT_C
100 MCNAPI ThirdPartyServer();
101
102 MCNAPI void addAvailableGameToArray(
103 ::Core::Path const& imagePath,
104 ::std::string const& title,
105 ::std::string const& subtitle,
106 ::std::string const& description
107 );
108
109 MCNAPI void addScreenshotPath(::Core::Path const& imagePath);
110
111 MCNAPI int const getAvailableGameCount() const;
112
113 MCNAPI ::Core::PathBuffer<::std::string> const& getBadgePath() const;
114
115 MCNAPI ::Core::PathBuffer<::std::string> const& getBannerPath() const;
116
117 MCNAPI ::std::string const& getCreatorName() const;
118
119 MCNAPI ::std::string const& getDescription() const;
120
121 MCNAPI ::std::string const& getExperienceId() const;
122
123 MCNAPI ::std::string const& getGameDescriptionAt(uint gameIndex) const;
124
125 MCNAPI ::Core::PathBuffer<::std::string> const& getGameImagePathAt(uint gameIndex) const;
126
127 MCNAPI ::std::string const& getGameSubtitleAt(uint gameIndex) const;
128
129 MCNAPI ::std::string const& getGameTitleAt(uint gameIndex) const;
130
131 MCNAPI ::Core::PathBuffer<::std::string> const& getIconPath() const;
132
133 MCNAPI ::Core::PathBuffer<::std::string> const& getImagePath() const;
134
135 MCNAPI ::std::string const& getNews() const;
136
137 MCNAPI ::std::string const& getNewsTitle() const;
138
139 MCNAPI ::std::optional<uint> getOptionalRank() const;
140
141 MCNAPI ushort getPort() const;
142
143 MCNAPI ::std::string const& getProductId() const;
144
145 MCNAPI ::std::optional<::ExperiencePromotion> const& getPromotion() const;
146
147 MCNAPI int const getScreenshotCount() const;
148
149 MCNAPI ::Core::PathBuffer<::std::string> const& getScreenshotPathAt(uint screenshotIndex) const;
150
151 MCNAPI ::std::string const& getStorePageId() const;
152
153 MCNAPI ::std::string const& getTitle() const;
154
155 MCNAPI ::std::string const& getUrl() const;
156
157 MCNAPI bool hasRank() const;
158
159 MCNAPI bool isExperience() const;
160
161 MCNAPI void setBadgePath(::Core::Path const& badgePath);
162
163 MCNAPI void setBannerPath(::Core::Path const& bannerPath);
164
165 MCNAPI void setIconPath(::Core::Path const& iconPath);
166
167 MCNAPI void setImagePath(::Core::Path const& path);
168
169 MCNAPI ~ThirdPartyServer();
170#endif
171 // NOLINTEND
172
173public:
174 // constructor thunks
175 // NOLINTBEGIN
176#ifdef LL_PLAT_C
177 MCNAPI void* $ctor();
178#endif
179 // NOLINTEND
180
181public:
182 // destructor thunk
183 // NOLINTBEGIN
184#ifdef LL_PLAT_C
185 MCNAPI void $dtor();
186#endif
187 // NOLINTEND
188};
Definition Path.h:12
Definition ExperiencePromotion.h:5
Definition ThirdPartyServer.h:22
Definition Alias.h:14