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(OwnedWorldTemplateData const&);
36 OwnedWorldTemplateData();
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI OwnedWorldTemplateData(::World::OwnedWorldTemplateData&&);
42
43 MCAPI ::std::string const& getCreator() const;
44
45 MCAPI ::World::OwnedWorldTemplateData& operator=(::World::OwnedWorldTemplateData const&);
46
47 MCAPI ~OwnedWorldTemplateData();
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::std::string
54 _formatPackKeyword(::std::string const& rawName, ::WorldTemplatePackManifest const& manifest);
55
56 MCAPI static ::World::OwnedWorldTemplateData fromStoreCatalogItem(::StoreCatalogItem const& itemData);
57
58 MCAPI static ::World::OwnedWorldTemplateData fromWorldTemplateInfo(
59 ::WorldTemplateInfo const& templateData,
60 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager
61 );
62 // NOLINTEND
63
64public:
65 // static variables
66 // NOLINTBEGIN
67 MCAPI static ::std::add_lvalue_reference_t<char const[]> DEFAULT_UNKNOWN_ID();
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(::World::OwnedWorldTemplateData&&);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCFOLD void $dtor();
80 // NOLINTEND
81};
82
83} // namespace World
Definition WorldTemplatePackManifest.h:8
Definition WorldTemplateInfo.h:12
Definition OwnedWorldTemplateData.h:7