Skip to content
LeviMC
English
AutoLightDark
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#include "mc/deps/shared_types/legacy/BlockDescriptor.h"
9
10// auto generated forward declare list
11// clang-format off
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 MCNAPI ::SharedTypes::v1_21_100::TransportItemsGoalDefinition&
65
67 // NOLINTEND
68
69public:
70 // static functions
71 // NOLINTBEGIN
72 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
73 // NOLINTEND
74
75public:
76 // static variables
77 // NOLINTBEGIN
78 MCNAPI static ::std::string_view const& NAME();
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCNAPI void $dtor();
85 // NOLINTEND
86};
87
88} // namespace SharedTypes::v1_21_100
Definition Random.h:10
Definition BaseGoalDefinition.h:12
Definition ItemDescriptor.h:15
Definition TransportItemsGoalDefinition.h:18
MCAPI::SharedTypes::v1_21_100::TransportItemsGoalDefinition & operator=(::SharedTypes::v1_21_100::TransportItemsGoalDefinition &&)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI ::std::string_view const & NAME()
Definition ReflectionCtx.h:11
Definition ctx.h:5