LeviLamina
Loading...
Searching...
No Matches
ScriptDataStoreAfterEvents.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/WeakHandleFromThis.h"
7#include "mc/editor/datastore/EventType.h"
8#include "mc/scripting/modules/minecraft/events/IScriptScriptDeferredEventListener.h"
9#include "mc/scripting/modules/minecraft/events/metadata/ScriptAsyncEventMetadata.h"
10
11// auto generated forward declare list
12// clang-format off
13class HashedString;
15namespace Editor::DataStore { struct PayloadDescription; }
16namespace Editor::Services { class DataStoreServiceProvider; }
17namespace Json { class Value; }
18namespace Scripting { class ModuleBindingBuilder; }
19// clang-format on
20
21namespace Editor::ScriptModule {
22
24: public ::Scripting::WeakHandleFromThis<::Editor::ScriptModule::ScriptDataStoreAfterEvents> {
25public:
26 // ScriptDataStoreAfterEvents inner types declare
27 // clang-format off
29 // clang-format on
30
31 // ScriptDataStoreAfterEvents inner types define
34 ::Editor::ScriptModule::ScriptDataStoreAfterEvents> {
35 public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 6
39 virtual void onFlushEditorDataStoreAfterEvents(::ScriptDeferredFlushTracker& deferredTracker) /*override*/;
40
41 // vIndex: 0
42 virtual ~ScriptDataStoreAfterEventsDeferredEventListener() /*override*/ = default;
43 // NOLINTEND
44
45 public:
46 // destructor thunk
47 // NOLINTBEGIN
48
49 // NOLINTEND
50
51 public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $onFlushEditorDataStoreAfterEvents(::ScriptDeferredFlushTracker& deferredTracker);
55 // NOLINTEND
56
57 public:
58 // vftables
59 // NOLINTBEGIN
60 MCAPI static void** $vftable();
61 // NOLINTEND
62 };
63
64public:
65 // member variables
66 // NOLINTBEGIN
72 // NOLINTEND
73
74public:
75 // prevent constructor by default
79
80public:
81 // member functions
82 // NOLINTBEGIN
84
85 MCAPI void
86 _handleDataStorePayloadEvent(::HashedString const& dataTag, ::Editor::DataStore::EventType, ::Json::Value const& payload, ::Editor::DataStore::PayloadDescription const&);
87
88 MCAPI ::Editor::ScriptModule::ScriptDataStoreAfterEvents&
90
91 MCAPI void registerListeners(::Editor::Services::DataStoreServiceProvider& dataStoreService);
92
94 // NOLINTEND
95
96public:
97 // static functions
98 // NOLINTBEGIN
99 MCAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
100 // NOLINTEND
101
102public:
103 // static variables
104 // NOLINTBEGIN
105 MCAPI static ::ScriptModuleMinecraft::ScriptAsyncEventMetadata<
107 mMetadata();
108 // NOLINTEND
109
110public:
111 // constructor thunks
112 // NOLINTBEGIN
114 // NOLINTEND
115
116public:
117 // destructor thunk
118 // NOLINTBEGIN
119 MCAPI void $dtor();
120 // NOLINTEND
121};
122
123} // namespace Editor::ScriptModule
Definition ScriptDataStoreAfterEvents.h:24
Definition DataStoreServiceProvider.h:19
Definition HashedString.h:5
Definition Value.h:16
Definition ScriptDeferredFlushTracker.h:5
Definition IScriptScriptDeferredEventListener.h:8
Definition ModuleBindingBuilder.h:30
Definition WeakHandleFromThis.h:8
Definition PayloadDescription.h:7
Definition Alias.h:14