LeviLamina
Loading...
Searching...
No Matches
TransportItemsGoalSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec2.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemDescriptor;
12// clang-format on
13
14struct TransportItemsGoalSettings {
15public:
16 // TransportItemsGoalSettings inner types define
17 enum class PlaceStrategy : int {
18 Any = 0,
19 WithMatching = 1,
20 WithMatchingOrEmpty = 2,
21 };
22
23 enum class SearchStrategy : int {
24 Nearest = 0,
25 Random = 1,
26 };
27
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mSourceContainerTypes;
32 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mDestinationContainerTypes;
33 ::ll::TypedStorage<4, 4, uint> mMaxStackSize;
34 ::ll::TypedStorage<4, 4, float> mInteractionTime;
35 ::ll::TypedStorage<1, 1, bool> mAllowSimultaneousInteraction;
36 ::ll::TypedStorage<4, 4, ::TransportItemsGoalSettings::SearchStrategy> mSearchStrategy;
37 ::ll::TypedStorage<4, 8, ::Vec2> mSearchDistance;
38 ::ll::TypedStorage<4, 4, uint> mMaxVisitedContainers;
39 ::ll::TypedStorage<4, 4, uint> mIdleCooldown;
40 ::ll::TypedStorage<4, 4, ::TransportItemsGoalSettings::PlaceStrategy> mPlaceStrategy;
41 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mAllowedItems;
42 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mDisallowedItems;
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 TransportItemsGoalSettings& operator=(TransportItemsGoalSettings const&);
48 TransportItemsGoalSettings(TransportItemsGoalSettings const&);
49 TransportItemsGoalSettings();
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI ::TransportItemsGoalSettings& operator=(::TransportItemsGoalSettings&&);
55
56 MCAPI ~TransportItemsGoalSettings();
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCAPI void $dtor();
63 // NOLINTEND
64};
Definition ItemDescriptor.h:25
Definition Random.h:10