LeviLamina
Loading...
Searching...
No Matches
CommandOutputSender.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandPermissionLevel.h"
7
8// auto generated forward declare list
9// clang-format off
11class CommandOrigin;
12class CommandOutput;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 0
33 virtual ~CommandOutputSender() = default;
34
35 // vIndex: 1
36 virtual void send(::CommandOrigin const& origin, ::CommandOutput const& output);
37
38 // vIndex: 2
39 virtual void registerOutputCallback(::std::function<void(::AutomationCmdOutput&)> const& callback);
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI void
46 sendToAdmins(::CommandOrigin const& origin, ::CommandOutput const& output, ::CommandPermissionLevel opPermLevel);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCFOLD static ::std::vector<::std::string> translate(::std::vector<::std::string> const& in);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI void $send(::CommandOrigin const& origin, ::CommandOutput const& output);
65
66 MCFOLD void $registerOutputCallback(::std::function<void(::AutomationCmdOutput&)> const& callback);
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition AutomationCmdOutput.h:5
Definition CommandOrigin.h:32
Definition CommandOutputSender.h:15
Definition CommandOutput.h:19
Definition Alias.h:14