LeviLamina
Loading...
Searching...
No Matches
IRequestAction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class CompoundTag;
8class Dimension;
9class ServerLevel;
10// clang-format on
11
12class IRequestAction {
13public:
14 // IRequestAction inner types define
15 enum class RequestActionType : uchar {
17 TestAction = 1,
20 };
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, ::IRequestAction::RequestActionType> mActionType;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 IRequestAction();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~IRequestAction();
36
37 virtual void execute(::ServerLevel& level, ::Dimension& dimension) = 0;
38
39 virtual void serialize(::CompoundTag& tag);
40
41 virtual bool operator==(::IRequestAction const& action) const;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI explicit IRequestAction(::IRequestAction::RequestActionType const& actionType);
48
49 MCAPI bool operator!=(::IRequestAction const& action) const;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static bool isValidTag(::CompoundTag const& tag);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::IRequestAction::RequestActionType const& actionType);
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCFOLD void $dtor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI void $serialize(::CompoundTag& tag);
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition CompoundTag.h:23
Definition Dimension.h:88
Definition FunctionAction.h:17
static MCAPI void ** $vftable()
Definition JigsawStructurePostprocessAction.h:23
Definition ServerLevel.h:59
Definition StructureAnimationAction.h:18
Definition TestAction.h:14