LeviLamina
Loading...
Searching...
No Matches
MenuContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result.h"
7#include "mc/editor/datastore/EventType.h"
8#include "mc/editor/datastore/container/Container.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Editor::DataStore { struct PayloadDescription; }
13namespace Json { class Value; }
14// clang-format on
15
16namespace Editor::DataStore {
17
19public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 MenuContainer& operator=(MenuContainer const&);
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~MenuContainer() /*override*/ = default;
36
37 // vIndex: 1
38 virtual void clear() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCFOLD bool _createMenuItem(::std::string const& id, ::Json::Value const& payload);
45
46 MCAPI void _onMenuItemCreated(::std::string const& id);
47
48 MCAPI void _onMenuItemDestroyed(::std::string const& id);
49
50 MCAPI void _onMenuItemUpdated(::std::string const& id);
51
52 MCAPI bool _removeMenuItem(::std::string const& id);
53
54 MCFOLD ::Json::Value getDataPayload(::Editor::DataStore::PayloadDescription const& desc) const;
55
56 MCAPI ::Scripting::Result<void> handleDataEvent(
57 ::Editor::DataStore::EventType eventType,
58 ::Json::Value const& payload,
60 );
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCAPI static ::std::add_lvalue_reference_t<char const[]> TAG_DATA();
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCFOLD void $clear();
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCAPI static void** $vftable();
85 // NOLINTEND
86};
87
88} // namespace Editor::DataStore
Definition Container.h:7
Definition MenuContainer.h:18
Definition Value.h:16
Definition PayloadDescription.h:7
Definition Alias.h:14