LeviLamina
Loading...
Searching...
No Matches
BreakDoorAnnotationComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/Difficulty.h"
7#include "mc/legacy/ActorUniqueID.h"
8#include "mc/world/level/BlockPos.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class EntityContext;
14class Mob;
15class Path;
16// clang-format on
17
18class BreakDoorAnnotationComponent {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mBreakTicks;
23 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::Difficulty> mMinDifficulty;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mTargetID;
25 ::ll::TypedStorage<4, 4, int> mBreakingTime;
26 ::ll::TypedStorage<4, 16, ::std::optional<::BlockPos>> mObstructionPos;
27 ::ll::TypedStorage<8, 8, uint64> mLastPathIndex;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI BreakDoorAnnotationComponent();
34
35 MCAPI void _cleanUp(::Mob& mob);
36
37 MCAPI bool _shouldBreakDoor(::Mob& mob);
38
39 MCAPI bool canMobBreakDoor(::Mob& mob, ::Path const& path) const;
40
41 MCAPI void clearProgress(::Mob& mob);
42
43 MCAPI void initFromDefinition(::Actor& owner);
44
45 MCAPI void obstructionCheck(::Mob& mob);
46
47 MCAPI void onComponentRemoved(::EntityContext& entity);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor();
54 // NOLINTEND
55};
Definition Actor.h:125
Definition EntityContext.h:17
Definition Mob.h:57
Definition Path.h:16