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 // member functions
28 // NOLINTBEGIN
29 MCAPI CommandOutputMessage();
30
31 MCAPI CommandOutputMessage(::CommandOutputMessage&& rhs);
32
33 MCAPI CommandOutputMessage(::CommandOutputMessage const& rhs);
34
35 MCFOLD ::std::string const& getMessageId() const;
36
37 MCFOLD ::std::vector<::std::string> const& getParams() const;
38
39 MCFOLD ::CommandOutputMessageType getType() const;
40
41#ifdef LL_PLAT_S
42 MCAPI ::std::string getUserMessage() const;
43#endif
44
45 MCAPI ::CommandOutputMessage& operator=(::CommandOutputMessage&& rhs);
46
47 MCAPI ::CommandOutputMessage& operator=(::CommandOutputMessage const& rhs);
48
49 MCAPI bool operator==(::CommandOutputMessage const& other) const;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static bool _mSuccessfulGetter(::CommandOutputMessage const& payload);
56
57 MCAPI static void _mSuccessfulSetter(::CommandOutputMessage& payload, bool success);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCFOLD void* $ctor();
64
65 MCAPI void* $ctor(::CommandOutputMessage&& rhs);
66
67 MCAPI void* $ctor(::CommandOutputMessage const& rhs);
68 // NOLINTEND
69};