LeviLamina
Loading...
Searching...
No Matches
SummonCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandPositionFloat.h"
7#include "mc/server/commands/CommandSelector.h"
8#include "mc/server/commands/RelativeFloat.h"
9#include "mc/server/commands/ServerCommand.h"
10#include "mc/util/rotation_command_utils/FacingResult.h"
11
12// auto generated forward declare list
13// clang-format off
14class Actor;
15class CommandOrigin;
16class CommandOutput;
17class CommandRegistry;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::ActorDefinitionIdentifier const*> mActorId;
26 ::ll::TypedStorage<4, 16, ::CommandPositionFloat> mPosition;
27 ::ll::TypedStorage<8, 32, ::std::string> mEventName;
28 ::ll::TypedStorage<8, 32, ::std::string> mActorName;
29 ::ll::TypedStorage<1, 1, bool> mNameSet;
30 ::ll::TypedStorage<4, 8, ::RelativeFloat> mYRot;
31 ::ll::TypedStorage<4, 8, ::RelativeFloat> mXRot;
32 ::ll::TypedStorage<1, 1, bool> mIsUsingRotation;
33 ::ll::TypedStorage<1, 1, bool> mFacingIsPosition;
34 ::ll::TypedStorage<4, 4, ::RotationCommandUtils::FacingResult> mHaveFacing;
35 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mFacingEntity;
36 ::ll::TypedStorage<4, 16, ::CommandPositionFloat> mFacingPos;
37 // NOLINTEND
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
43
44 virtual void postExecute(::Actor&) const;
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void setup(::CommandRegistry& registry);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
57
58 MCFOLD void $postExecute(::Actor&) const;
59
60
61 // NOLINTEND
62};
Definition Actor.h:113
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition ServerCommand.h:22
Definition SummonCommand.h:21
Definition ActorDefinitionIdentifier.h:15