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 // vIndex: 1
37 virtual ::BehaviorStatus tick(::Actor&) /*override*/;
38
39 // vIndex: 2
40 virtual void initializeFromDefinition(::Actor& owner) /*override*/;
41
42 // vIndex: 0
43 virtual ~SelectItemNode() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49
50 // NOLINTEND
51};
Definition Actor.h:102
Definition BehaviorNode.h:17
Definition Item.h:66
Definition SelectItemNode.h:15