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
20public:
21 // member variables
22 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~EditorStructureManager() /*override*/;
41
42 // vIndex: 1
43 virtual ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadata>
44 getOrCreateJigsawStructureMetadata(::StructurePoolElement const& structurePoolElement) /*override*/;
45
46 // vIndex: 2
47 virtual ::StructureTemplate& getOrCreate(::std::string const& structureName) /*override*/;
48
49 // vIndex: 3
50 virtual ::StructureTemplate* getStructure(::std::string const& structureName) const /*override*/;
51
52 // vIndex: 4
53 virtual ::LegacyStructureTemplate& getOrCreateLegacy(::std::string const&) /*override*/;
54
55 // vIndex: 5
56 virtual bool readStructure(::StructureTemplate&) /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
63
64 MCNAPI bool containsStructure(::std::string const& structureName);
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCNAPI ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadata>
84
85 MCNAPI ::StructureTemplate& $getOrCreate(::std::string const& structureName);
86
87 MCNAPI ::StructureTemplate* $getStructure(::std::string const& structureName) const;
88
89 MCNAPI ::LegacyStructureTemplate& $getOrCreateLegacy(::std::string const&);
90
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
100
101} // namespace Editor::Services
Definition ServiceProviderCollection.h:7
Definition EditorStructureManager.h:19
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:33
Definition Alias.h:14