LeviLamina
Loading...
Searching...
No Matches
CameraAimAssistCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7#include "mc/server/commands/CommandSelector.h"
8
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14class Player;
15// clang-format on
16
18public:
19 // CameraAimAssistCommand inner types define
20 enum class Action : uchar {
21 Set = 0,
22 Clear = 1,
23 };
24
25 enum class TargetMode : uchar {
26 Distance = 0,
27 Angle = 1,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mPlayerTargets;
34 ::ll::TypedStorage<8, 32, ::std::string> mPresetId;
35 ::ll::TypedStorage<4, 4, float> mViewAngleX;
36 ::ll::TypedStorage<4, 4, float> mViewAngleY;
37 ::ll::TypedStorage<4, 4, float> mDistance;
38 ::ll::TypedStorage<1, 1, ::CameraAimAssistCommand::TargetMode> mTargetMode;
39 ::ll::TypedStorage<1, 1, ::CameraAimAssistCommand::Action> mAction;
40 ::ll::TypedStorage<1, 1, bool> mShowDebugRender;
41 // NOLINTEND
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
47
48 virtual ~CameraAimAssistCommand() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void setup(::CommandRegistry& registry);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition CameraAimAssistCommand.h:17
static MCAPI void ** $vftable()
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Command.h:17
Definition Player.h:125