LeviLamina
Loading...
Searching...
No Matches
JigsawStructureRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class Experiments;
16namespace SharedTypes::v1_21_20 { struct JigsawStructureData; }
17namespace br::worldgen { class StructureRegistry; }
18namespace br::worldgen { class StructureSetRegistry; }
19// clang-format on
20
22public:
23 // JigsawStructureRegistry inner types define
24 using JigsawPoolLookupMap = ::std::unordered_map<::std::string, ::std::unique_ptr<::StructureTemplatePool>>;
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::StructureTemplatePool>>>
30 mJigsawPoolLookupMap;
31 ::ll::TypedStorage<8, 152, ::JigsawStructureBlockRulesRegistry> mJigsawBlockRulesRegistry;
32 ::ll::TypedStorage<8, 88, ::JigsawStructureBlockTagRulesRegistry> mJigsawBlockTagRulesRegistry;
33 ::ll::TypedStorage<8, 88, ::JigsawStructureActorRulesRegistry> mJigsawActorRulesRegistry;
34 ::ll::TypedStorage<8, 88, ::JigsawStructureElementRegistry> mJigsawElementRegistry;
35 ::ll::TypedStorage<8, 72, ::br::worldgen::StructureRegistry> mStructureRegistry;
36 ::ll::TypedStorage<8, 72, ::br::worldgen::StructureSetRegistry> mStructureSetRegistry;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SharedTypes::v1_21_20::JigsawStructureData>> mJigsawStructureData;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
44
45 MCAPI void initialize(
46 ::StructureSpawnRegistry& structureSpawnRegistry,
47 ::BaseGameVersion const& baseGameVersion,
48 ::Experiments const& experiments,
50 );
51
52 MCAPI ::StructureTemplatePool const* lookupByName(::std::string const& name) const;
53
54 MCAPI void registerPool(::std::unique_ptr<::StructureTemplatePool>&& pool);
55
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor();
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70};
Definition BaseGameVersion.h:13
Definition Experiments.h:14
Definition IWorldRegistriesProvider.h:26
Definition JigsawStructureActorRulesRegistry.h:10
Definition JigsawStructureBlockRulesRegistry.h:11
Definition JigsawStructureBlockTagRulesRegistry.h:10
Definition JigsawStructureElementRegistry.h:10
Definition JigsawStructureRegistry.h:21
Definition StructureSpawnRegistry.h:14
Definition StructureTemplatePool.h:16