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