LeviLamina
Loading...
Searching...
No Matches
EditorStructureManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/IStructureTemplateManager.h"
7
8// auto generated forward declare list
9// clang-format off
13namespace Editor { class ServiceProviderCollection; }
14namespace SharedTypes::v1_21_80 { struct JigsawStructureMetadata; }
15// clang-format on
16
17namespace Editor::Services {
18
19class EditorStructureManager : public ::IStructureTemplateManager {
20public:
21 // member variables
22 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 EditorStructureManager& operator=(EditorStructureManager const&);
33 EditorStructureManager(EditorStructureManager const&);
34 EditorStructureManager();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~EditorStructureManager() /*override*/;
40
41 virtual ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadata>
42 getOrCreateJigsawStructureMetadata(::StructurePoolElement const& structurePoolElement) /*override*/;
43
44 virtual ::StructureTemplate& getOrCreate(::std::string const& structureName) /*override*/;
45
46 virtual ::StructureTemplate* getStructure(::std::string const& structureName) const /*override*/;
47
48 virtual ::LegacyStructureTemplate& getOrCreateLegacy(::std::string const&) /*override*/;
49
50 virtual bool readStructure(::StructureTemplate&) /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
57
58 MCNAPI bool containsStructure(::std::string const& structureName);
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCNAPI void $dtor();
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCNAPI ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadata>
78
79 MCNAPI ::StructureTemplate& $getOrCreate(::std::string const& structureName);
80
81 MCNAPI ::StructureTemplate* $getStructure(::std::string const& structureName) const;
82
83 MCNAPI ::LegacyStructureTemplate& $getOrCreateLegacy(::std::string const&);
84
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
96
97} // namespace Editor::Services
Definition ServiceProviderCollection.h:7
MCAPI void * $ctor(::Editor::ServiceProviderCollection &providers)
MCAPI bool containsStructure(::std::string const &structureName)
MCAPI::LegacyStructureTemplate & $getOrCreateLegacy(::std::string const &)
MCAPI EditorStructureManager(::Editor::ServiceProviderCollection &providers)
MCAPI ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadata > $getOrCreateJigsawStructureMetadata(::StructurePoolElement const &structurePoolElement)
MCAPI::StructureTemplate * $getStructure(::std::string const &structureName) const
MCAPI bool $readStructure(::StructureTemplate &)
MCAPI::StructureTemplate & $getOrCreate(::std::string const &structureName)
Definition IStructureTemplateManager.h:16
Definition LegacyStructureTemplate.h:25
Definition StructurePoolElement.h:39
Definition StructureTemplate.h:35
Definition JigsawStructureMetadata.h:16
Definition Alias.h:14