LeviLamina
Loading...
Searching...
No Matches
StoredCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CurrentCmdVersion.h"
7
8// auto generated forward declare list
9// clang-format off
10class Command;
11// clang-format on
12
13namespace npc {
14
15struct StoredCommand {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, ::CurrentCmdVersion> version;
20 ::ll::TypedStorage<8, 32, ::std::string> rawCommand;
21 ::ll::TypedStorage<8, 8, ::Command*> command;
22 // NOLINTEND
23
24#ifdef LL_PLAT_S
25#else // LL_PLAT_C
26public:
27 // prevent constructor by default
28 StoredCommand();
29
30#endif
31public:
32 // member functions
33 // NOLINTBEGIN
34#ifdef LL_PLAT_C
35 MCAPI StoredCommand(::CurrentCmdVersion cmdVersion, ::std::string_view rawCmd);
36
37 MCAPI ~StoredCommand();
38#endif
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44#ifdef LL_PLAT_C
45 MCAPI void* $ctor(::CurrentCmdVersion cmdVersion, ::std::string_view rawCmd);
46#endif
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52#ifdef LL_PLAT_C
53 MCFOLD void $dtor();
54#endif
55 // NOLINTEND
56};
57
58} // namespace npc
Definition Command.h:17