LeviLamina
Loading...
Searching...
No Matches
CommandOutputMessage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandOutputMessageType.h"
7
8class CommandOutputMessage {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::CommandOutputMessageType mType;
13 ::std::string mMessageId;
14 ::std::vector<::std::string> mParams;
15 // NOLINTEND
16
17 CommandOutputMessage(
18 ::CommandOutputMessageType type,
19 ::std::string messageId,
20 ::std::vector<::std::string> params = {}
21 )
22 : mType(type),
23 mMessageId(std::move(messageId)),
24 mParams(std::move(params)) {}
25
26public:
27 CommandOutputMessage& operator=(CommandOutputMessage const&) = default;
28 CommandOutputMessage(CommandOutputMessage const&) = default;
29 CommandOutputMessage() = default;
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI bool operator==(::CommandOutputMessage const& other) const;
35 // NOLINTEND
36};