LeviLamina
Loading...
Searching...
No Matches
DialogueCommand.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 Actor;
12class CommandOrigin;
13class CommandOutput;
14class CommandRegistry;
15class Player;
16// clang-format on
17
18class DialogueCommand : public ::Command {
19public:
20 // DialogueCommand inner types define
21 enum class Action : int {
22 Open = 0,
23 Change = 1,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, ::DialogueCommand::Action> mAction;
30 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mNPCTarget;
31 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mPlayerTargets;
32 ::ll::TypedStorage<8, 32, ::std::string> mSceneName;
33 ::ll::TypedStorage<1, 1, bool> mHasPlayers;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void setup(::CommandRegistry& registry);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
52
53
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
62
63// clang-format off
64template <>
65MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::DialogueCommand::Action>();
66// clang-format on
Definition Actor.h:125
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition DialogueCommand.h:18
static MCAPI void ** $vftable()
Definition Player.h:137