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
17class CameraAimAssistCommand : public ::Command {
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 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void setup(::CommandRegistry& registry);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
69
70// clang-format off
71template <>
72MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::CameraAimAssistCommand::Action>();
73template <>
74MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::CameraAimAssistCommand::TargetMode>();
75// clang-format on
Definition CameraAimAssistCommand.h:17
static MCAPI void ** $vftable()
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Player.h:137