LeviLamina
Loading...
Searching...
No Matches
ActionContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace npc { struct CommandAction; }
8namespace npc { struct UrlAction; }
9// clang-format on
10
11namespace npc {
12
13struct ActionContainer {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 24, ::std::vector<::std::variant<::npc::CommandAction, ::npc::UrlAction>>> mActions;
18 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> mButtons;
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 ActionContainer& operator=(ActionContainer const&);
24 ActionContainer(ActionContainer const&);
25 ActionContainer();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI ::npc::ActionContainer& operator=(::npc::ActionContainer&&);
31
32 MCAPI void push(::std::variant<::npc::CommandAction, ::npc::UrlAction>&& action);
33
34 MCAPI_C void remove(uint64 index);
35
36 MCAPI void reset(::std::vector<::std::variant<::npc::CommandAction, ::npc::UrlAction>>&& data);
37
38 MCAPI ~ActionContainer();
39 // NOLINTEND
40
41public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCAPI void $dtor();
45 // NOLINTEND
46};
47
48} // namespace npc
Definition ActionContainer.h:13
Definition CommandAction.h:17
Definition UrlAction.h:11