LeviLamina
Loading...
Searching...
No Matches
ActionContainer.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
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ActionContainer& operator=(ActionContainer const&);
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~ActionContainer() /*override*/ = default;
37
38 // vIndex: 1
39 virtual void clear() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI void _onControlActionCreated(::std::string const& id);
46
47 MCAPI void _onControlActionDestroyed(::Json::Value const& payload);
48
49 MCAPI ::Json::Value getControlActionPayload(::Editor::DataStore::PayloadDescription const& desc) const;
50
51 MCAPI ::Scripting::Result<void> handleControlActionEvent(
52 ::Editor::DataStore::EventType eventType,
53 ::Json::Value const& payload,
55 );
56
57 MCAPI ::Scripting::Result<void> handleInvokeEvent(
58 ::Editor::DataStore::EventType eventType,
59 ::Json::Value const& payload,
61 );
62 // NOLINTEND
63
64public:
65 // static variables
66 // NOLINTBEGIN
67 MCAPI static ::std::add_lvalue_reference_t<char const[]> TAG_CONTROL_DATA();
68
69 MCAPI static ::std::add_lvalue_reference_t<char const[]> TAG_INVOKE();
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI void $clear();
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCAPI static void** $vftable();
88 // NOLINTEND
89};
90
91} // namespace Editor::DataStore
Definition ActionContainer.h:18
Definition Container.h:7
Definition Value.h:16
Definition PayloadDescription.h:7
Definition Alias.h:14