LeviLamina
Loading...
Searching...
No Matches
OwnedWorldTemplateData.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#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class IEntitlementManager;
12class StoreCatalogItem;
15// clang-format on
16
17namespace World {
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 32, ::std::string> mLocalId;
24 ::ll::TypedStorage<8, 32, ::std::string> mMarketplaceId;
25 ::ll::TypedStorage<8, 32, ::std::string> mName;
26 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mThumbnailPath;
27 ::ll::TypedStorage<1, 1, bool> mIsLocked;
28 ::ll::TypedStorage<1, 1, bool> mIsInstalled;
29 ::ll::TypedStorage<1, 1, bool> mIsPremium;
30 ::ll::TypedStorage<8, 32, ::std::string> mCreator;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 OwnedWorldTemplateData();
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI OwnedWorldTemplateData(::World::OwnedWorldTemplateData const&);
41
42 MCAPI ::std::string const& getCreator() const;
43
44 MCAPI ::World::OwnedWorldTemplateData& operator=(::World::OwnedWorldTemplateData const&);
45
46 MCAPI ::World::OwnedWorldTemplateData& operator=(::World::OwnedWorldTemplateData&&);
47
48 MCAPI ~OwnedWorldTemplateData();
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static ::std::string
55 _formatPackKeyword(::std::string const& rawName, ::WorldTemplatePackManifest const& manifest);
56
57 MCAPI static ::World::OwnedWorldTemplateData fromStoreCatalogItem(::StoreCatalogItem const& itemData);
58
59 MCAPI static ::World::OwnedWorldTemplateData fromWorldTemplateInfo(
60 ::WorldTemplateInfo const& templateData,
61 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager
62 );
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static ::std::add_lvalue_reference_t<char const[]> DEFAULT_UNKNOWN_ID();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(::World::OwnedWorldTemplateData const&);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCFOLD void $dtor();
81 // NOLINTEND
82};
83
84} // namespace World
Definition WorldTemplatePackManifest.h:9
Definition WorldTemplateInfo.h:16
Definition OwnedWorldTemplateData.h:7