LeviLamina
Loading...
Searching...
No Matches
StructureTemplatePool.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/Projection.h"
7
8// auto generated forward declare list
9// clang-format off
10class Random;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 32, ::std::string> mName;
21 ::ll::TypedStorage<8, 24, ::std::vector<::StructurePoolElement const*>> mTemplates;
22 ::ll::TypedStorage<8, 32, ::std::string> mFallback;
23 // NOLINTEND
24
25public:
26 // member functions
27 // NOLINTBEGIN
29 ::std::string name,
30 ::std::string fallback,
31 ::std::vector<::std::pair<::StructurePoolElement const*, int>> const& templates
32 );
33
36 ::std::string_view name,
37 ::std::string_view fallback,
38 ::Projection projection,
39 ::std::initializer_list<::WeightedStructureTemplateRegistration> pieces
40 );
41
42 MCAPI ::std::vector<uint64> getShuffledTemplateIndexes(::Random& random) const;
43
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static ::std::unique_ptr<::StructureTemplatePool> create(
52 ::std::string_view name,
53 ::std::string_view fallback,
54 ::std::initializer_list<::WeightedStructureTemplateRegistration> pieces,
55 ::Projection projection
56 );
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(
63 ::std::string name,
64 ::std::string fallback,
65 ::std::vector<::std::pair<::StructurePoolElement const*, int>> const& templates
66 );
67
68 MCAPI void* $ctor(
70 ::std::string_view name,
71 ::std::string_view fallback,
72 ::Projection projection,
73 ::std::initializer_list<::WeightedStructureTemplateRegistration> pieces
74 );
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCAPI void $dtor();
81 // NOLINTEND
82};
Definition Random.h:16
Definition StructurePoolElement.h:35
Definition StructureTemplatePool.h:16
Definition StructureTemplateRegistrationContext.h:17
Definition WeightedStructureTemplateRegistration.h:14
Definition context.h:5