LeviLamina
Loading...
Searching...
No Matches
SculkShriekerBlockActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/events/gameevents/VibrationListener.h"
7#include "mc/world/level/block/actor/BlockActor.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
13class BlockSource;
14class CompoundTag;
15class DataLoadHelper;
16class ILevel;
17class Player;
18class SaveContext;
19// clang-format on
20
22public:
23 // SculkShriekerBlockActor inner types declare
24 // clang-format off
25 struct QueuedResponse;
26 // clang-format on
27
28 // SculkShriekerBlockActor inner types define
30 public:
31 // member variables
32 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 QueuedResponse& operator=(QueuedResponse const&);
41 };
42
43public:
44 // member variables
45 // NOLINTBEGIN
46 ::ll::TypedStorage<8, 200, ::VibrationListener> mVibrationListener;
47 ::ll::TypedStorage<8, 80, ::std::optional<::gsl::final_action<::std::function<void()>>>> mListenerRegistration;
48 ::ll::TypedStorage<4, 8, ::std::optional<::SculkShriekerBlockActor::QueuedResponse>> mQueuedResponse;
49 // NOLINTEND
50
51public:
52 // prevent constructor by default
54
55public:
56 // virtual functions
57 // NOLINTBEGIN
58 // vIndex: 8
59 virtual void tick(::BlockSource& region) /*override*/;
60
61 // vIndex: 14
62 virtual void onRemoved(::BlockSource& region) /*override*/;
63
64 // vIndex: 1
65 virtual void load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
66
67 // vIndex: 2
68 virtual bool save(::CompoundTag& tag, ::SaveContext const& saveContext) const /*override*/;
69
70 // vIndex: 0
71 virtual ~SculkShriekerBlockActor() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCNAPI explicit SculkShriekerBlockActor(::BlockPos const& pos);
78
79 MCNAPI void tryRespond(::BlockSource& region, ::BlockPos const& pos);
80
81 MCNAPI bool tryShriek(::BlockSource& region, ::BlockPos pos, ::Player& provokingPlayer);
82 // NOLINTEND
83
84public:
85 // static functions
86 // NOLINTBEGIN
87 MCNAPI static bool _canRespond(::BlockSource const& region, ::BlockPos const& pos);
88
89 MCNAPI static ::Player* tryGetPlayerInHierarchy(::Actor* actor);
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
95 MCNAPI void* $ctor(::BlockPos const& pos);
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101 MCNAPI void $tick(::BlockSource& region);
102
103 MCNAPI void $onRemoved(::BlockSource& region);
104
105 MCNAPI void $load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
106
107 MCNAPI bool $save(::CompoundTag& tag, ::SaveContext const& saveContext) const;
108 // NOLINTEND
109
110public:
111 // vftables
112 // NOLINTBEGIN
113 MCNAPI static void** $vftable();
114 // NOLINTEND
115};
Definition Actor.h:103
Definition BlockActor.h:32
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition ILevel.h:205
Definition Player.h:119
Definition SaveContext.h:5
Definition SculkShriekerBlockActor.h:21
MCAPI bool tryShriek(::BlockSource &region, ::BlockPos pos, ::Player &provokingPlayer)
MCAPI SculkShriekerBlockActor(::BlockPos const &pos)
MCAPI void * $ctor(::BlockPos const &pos)
MCAPI void $onRemoved(::BlockSource &region)
static MCAPI ::Player * tryGetPlayerInHierarchy(::Actor *actor)
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
static MCAPI bool _canRespond(::BlockSource const &region, ::BlockPos const &pos)
static MCAPI void ** $vftable()
MCAPI void tryRespond(::BlockSource &region, ::BlockPos const &pos)
MCAPI void $tick(::BlockSource &region)
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
Definition SculkShriekerBlockActor.h:29
Definition Alias.h:14