LeviLamina
Loading...
Searching...
No Matches
WorldTemplateInfo.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
13namespace mce { class UUID; }
14// clang-format on
15
16struct WorldTemplateInfo {
17public:
18 // member variables
19 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 WorldTemplateInfo& operator=(WorldTemplateInfo const&);
26 WorldTemplateInfo(WorldTemplateInfo const&);
27 WorldTemplateInfo();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI explicit WorldTemplateInfo(::WorldTemplateData&& data);
33
34 MCNAPI WorldTemplateInfo(::WorldTemplatePackManifest const& manifest, ::PackAccessStrategy const* accessStrategy);
35
36#ifdef LL_PLAT_C
37 MCNAPI ::std::string const& getAuthors() const;
38
39 MCNAPI ::std::string const& getDescription() const;
40
41 MCNAPI ::std::string const& getGameType() const;
42
43 MCNAPI ::std::string getIdAsString() const;
44#endif
45
46 MCNAPI ::mce::UUID getKey() const;
47
48 MCNAPI ::WorldTemplatePackManifest const& getPackManifest() const;
49
50#ifdef LL_PLAT_C
51 MCNAPI ::std::string const& getVersion() const;
52
53 MCNAPI ::std::string const& getWorldIconAllowListPath() const;
54
55 MCNAPI ::Core::PathBuffer<::std::string> const& getWorldIconPath() const;
56#endif
57
58 MCNAPI ::std::string const& getWorldName() const;
59
60 MCNAPI ::Core::PathBuffer<::std::string> const& getWorldPath() const;
61
62#ifdef LL_PLAT_C
63 MCNAPI uint64 getWorldSize() const;
64
65 MCNAPI bool isPremium() const;
66#endif
67
68 MCNAPI bool isVirtualCatalogItem() const;
69
70#ifdef LL_PLAT_C
71 MCNAPI bool isWorldIconOverridden() const;
72#endif
73
75 // NOLINTEND
76
77public:
78 // static functions
79 // NOLINTBEGIN
80 MCNAPI static ::WorldTemplateData
82
83 MCNAPI static ::WorldTemplateInfo const& getInvalid();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCNAPI void* $ctor(::WorldTemplateData&& data);
90
91 MCNAPI void* $ctor(::WorldTemplatePackManifest const& manifest, ::PackAccessStrategy const* accessStrategy);
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCNAPI void $dtor();
98 // NOLINTEND
99};
Definition PackAccessStrategy.h:26
Definition WorldTemplatePackManifest.h:9
Definition UUID.h:7
Definition WorldTemplateData.h:5
MCAPI::WorldTemplatePackManifest const & getPackManifest() const
MCAPI void * $ctor(::WorldTemplatePackManifest const &manifest, ::PackAccessStrategy const *accessStrategy)
MCAPI void $dtor()
MCAPI bool isVirtualCatalogItem() const
MCAPI WorldTemplateInfo(::WorldTemplateData &&data)
MCAPI void * $ctor(::WorldTemplateData &&data)
static MCAPI ::WorldTemplateData buildTemplateData(::WorldTemplatePackManifest const &manifest, ::PackAccessStrategy const *accessStrategy)
MCAPI::std::string const & getWorldName() const
MCAPI WorldTemplateInfo(::WorldTemplatePackManifest const &manifest, ::PackAccessStrategy const *accessStrategy)
MCAPI ~WorldTemplateInfo()
MCAPI::mce::UUID getKey() const
static MCAPI ::WorldTemplateInfo const & getInvalid()
MCAPI ::Core::PathBuffer<::std::string > const & getWorldPath() const
Definition Alias.h:14