LeviLamina
Loading...
Searching...
No Matches
ActionBarContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result_deprecated.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 { class PayloadEventDispatcher; }
13namespace Editor::DataStore { struct PayloadDescription; }
14namespace Json { class Value; }
15// clang-format on
16
17namespace Editor::DataStore {
18
19class ActionBarContainer : public ::Editor::DataStore::Container {
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ActionBarContainer& operator=(ActionBarContainer const&);
29 ActionBarContainer(ActionBarContainer const&);
30 ActionBarContainer();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~ActionBarContainer() /*override*/ = default;
36
37 virtual void clear() /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
44
45 MCNAPI ::Scripting::Result_deprecated<void> _createItem(::std::string const& id, ::Json::Value const& payload);
46
47 MCNAPI void _onItemCreated(::std::string const& id);
48
49 MCNAPI void _onItemDestroyed(::std::string const& id);
50
51 MCNAPI void _onItemUpdated(::std::string const& id, ::std::string const& propName);
52
53 MCNAPI bool _removeItem(::std::string const& id);
54
55 MCNAPI ::Json::Value getDataPayload(::Editor::DataStore::PayloadDescription const& desc) const;
56
57 MCNAPI ::Scripting::Result_deprecated<void> handleDataEvent(
58 ::Editor::DataStore::EventType eventType,
59 ::Json::Value const& payload,
61 );
62 // NOLINTEND
63
64public:
65 // static variables
66 // NOLINTBEGIN
67 MCNAPI static ::std::add_lvalue_reference_t<char const[]> CATEGORY_CORE();
68
69 MCNAPI static ::std::add_lvalue_reference_t<char const[]> CATEGORY_EXPERIMENTAL();
70
71 MCNAPI static ::std::add_lvalue_reference_t<char const[]> CATEGORY_EXTENSION();
72
73 MCNAPI static ::std::add_lvalue_reference_t<char const[]> PROPERTY_CATEGORY();
74
75 MCNAPI static ::std::add_lvalue_reference_t<char const[]> TAG_DATA();
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCNAPI void* $ctor(::Editor::DataStore::PayloadEventDispatcher& dispatcher, bool isServer);
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCNAPI void $clear();
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
98
99} // namespace Editor::DataStore
static MCAPI ::std::add_lvalue_reference_t< char const[]> PROPERTY_CATEGORY()
MCAPI void * $ctor(::Editor::DataStore::PayloadEventDispatcher &dispatcher, bool isServer)
MCAPI bool _removeItem(::std::string const &id)
static MCAPI ::std::add_lvalue_reference_t< char const[]> CATEGORY_EXPERIMENTAL()
MCAPI ActionBarContainer(::Editor::DataStore::PayloadEventDispatcher &dispatcher, bool isServer)
MCAPI ::Scripting::Result_deprecated< void > _createItem(::std::string const &id, ::Json::Value const &payload)
MCAPI ::Scripting::Result_deprecated< void > handleDataEvent(::Editor::DataStore::EventType eventType, ::Json::Value const &payload, ::Editor::DataStore::PayloadDescription const &desc)
static MCAPI ::std::add_lvalue_reference_t< char const[]> CATEGORY_EXTENSION()
MCAPI::Json::Value getDataPayload(::Editor::DataStore::PayloadDescription const &desc) const
static MCAPI ::std::add_lvalue_reference_t< char const[]> CATEGORY_CORE()
MCAPI void _onItemCreated(::std::string const &id)
MCAPI void _onItemDestroyed(::std::string const &id)
MCAPI void _onItemUpdated(::std::string const &id, ::std::string const &propName)
static MCAPI ::std::add_lvalue_reference_t< char const[]> TAG_DATA()
Definition Container.h:7
Definition PayloadEventDispatcher.h:17
Definition Value.h:16
Definition PayloadDescription.h:12
Definition Alias.h:14