LeviLamina
Loading...
Searching...
No Matches
TransportItemsGoalDefinition.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/deps/shared_types/actor/BaseGoalDefinition.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace SharedTypes::Legacy { struct BlockDescriptor; }
12namespace SharedTypes::Legacy { struct ItemDescriptor; }
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
16namespace SharedTypes::v1_21_100 {
17
18struct TransportItemsGoalDefinition : public ::SharedTypes::BaseGoalDefinition {
19public:
20 // TransportItemsGoalDefinition inner types define
21 enum class PlaceStrategy : int {
22 Any = 0,
23 WithMatching = 1,
24 WithMatchingOrEmpty = 2,
25 };
26
27 enum class SearchStrategy : int {
28 Nearest = 0,
29 Random = 1,
30 };
31
32 using BlockDescriptorVec = ::std::vector<::SharedTypes::Legacy::BlockDescriptor>;
33
34 using ItemDescriptorVec = ::std::vector<::SharedTypes::Legacy::ItemDescriptor>;
35
36public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::BlockDescriptor>> mSourceContainerTypes;
40 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::BlockDescriptor>> mDestinationContainerTypes;
41 ::ll::TypedStorage<4, 4, uint> mMaxStackSize;
42 ::ll::TypedStorage<4, 4, float> mInteractionTime;
43 ::ll::TypedStorage<1, 1, bool> mAllowSimultaneousInteraction;
44 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_100::TransportItemsGoalDefinition::SearchStrategy> mSearchStrategy;
45 ::ll::TypedStorage<4, 8, ::Vec2> mSearchDistance;
46 ::ll::TypedStorage<4, 4, uint> mMaxVisitedContainers;
47 ::ll::TypedStorage<4, 4, uint> mInitialCooldown;
48 ::ll::TypedStorage<4, 4, uint> mIdleCooldown;
49 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_100::TransportItemsGoalDefinition::PlaceStrategy> mPlaceStrategy;
50 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::ItemDescriptor>> mAllowedItems;
51 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::ItemDescriptor>> mDisallowedItems;
52 // NOLINTEND
53
54public:
55 // prevent constructor by default
56 TransportItemsGoalDefinition& operator=(TransportItemsGoalDefinition const&);
57 TransportItemsGoalDefinition(TransportItemsGoalDefinition const&);
58 TransportItemsGoalDefinition();
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI TransportItemsGoalDefinition(::SharedTypes::v1_21_100::TransportItemsGoalDefinition&&);
64
65 MCAPI ::SharedTypes::v1_21_100::TransportItemsGoalDefinition&
67
68 MCAPI ~TransportItemsGoalDefinition();
69 // NOLINTEND
70
71public:
72 // static functions
73 // NOLINTBEGIN
74 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
75 // NOLINTEND
76
77public:
78 // static variables
79 // NOLINTBEGIN
80 MCAPI static ::std::string_view const& NAME();
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94};
95
96} // namespace SharedTypes::v1_21_100
Definition Random.h:10
Definition BaseGoalDefinition.h:12
Definition BlockDescriptor.h:12
Definition ItemDescriptor.h:15
Definition TransportItemsGoalDefinition.h:18
Definition ReflectionCtx.h:11
Definition ctx.h:5