LeviLamina
Loading...
Searching...
No Matches
SelectItemNode.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/bhave/BehaviorStatus.h"
7#include "mc/world/actor/bhave/node/BehaviorNode.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Item;
13// clang-format on
14
16public:
17 // SelectItemNode inner types define
18 enum class State : int {
19 Preconditions = 0,
20 MoveToolToHotbar = 1,
21 SelectToolInHotbar = 2,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 32, ::std::string> mItemName;
28 ::ll::TypedStorage<8, 8, ::Item const*> mItem;
29 ::ll::TypedStorage<4, 4, int> mItemSlot;
30 ::ll::TypedStorage<4, 4, ::SelectItemNode::State> mState;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::BehaviorStatus tick(::Actor&) /*override*/;
37
38 virtual void initializeFromDefinition(::Actor& owner) /*override*/;
39
40 virtual ~SelectItemNode() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46
47 // NOLINTEND
48};
Definition Actor.h:105
Definition BehaviorNode.h:17
Definition Item.h:69
Definition SelectItemNode.h:15