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/ScriptAfterEventMetadata.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 // virtual function thunks
47 // NOLINTBEGIN
49 // NOLINTEND
50
51 public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56 };
57
58public:
59 // member variables
60 // NOLINTBEGIN
66 // NOLINTEND
67
68public:
69 // prevent constructor by default
73
74public:
75 // member functions
76 // NOLINTBEGIN
78
80 ::HashedString const& dataTag,
81 ::Editor::DataStore::EventType,
82 ::Json::Value const& payload,
84 );
85
86 MCNAPI ::Editor::ScriptModule::ScriptDataStoreAfterEvents&
88
90
92 // NOLINTEND
93
94public:
95 // static functions
96 // NOLINTBEGIN
97 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
98 // NOLINTEND
99
100public:
101 // static variables
102 // NOLINTBEGIN
103 MCNAPI static ::ScriptModuleMinecraft::ScriptAfterEventMetadata<
106 // NOLINTEND
107
108public:
109 // constructor thunks
110 // NOLINTBEGIN
112 // NOLINTEND
113
114public:
115 // destructor thunk
116 // NOLINTBEGIN
117 MCNAPI void $dtor();
118 // NOLINTEND
119};
120
121} // namespace Editor::ScriptModule
MCAPI void $onFlushEditorDataStoreAfterEvents(::ScriptDeferredFlushTracker &deferredTracker)
Definition ScriptDataStoreAfterEvents.h:24
MCAPI void _handleDataStorePayloadEvent(::HashedString const &dataTag, ::Editor::DataStore::EventType, ::Json::Value const &payload, ::Editor::DataStore::PayloadDescription const &)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
static MCAPI ::ScriptModuleMinecraft::ScriptAfterEventMetadata< ::Editor::ScriptModule::ScriptDataStoreAfterEvents > const & mMetadata()
MCAPI void registerListeners(::Editor::Services::DataStoreServiceProvider &dataStoreService)
MCAPI ScriptDataStoreAfterEvents(::Editor::ScriptModule::ScriptDataStoreAfterEvents &&)
MCAPI::Editor::ScriptModule::ScriptDataStoreAfterEvents & operator=(::Editor::ScriptModule::ScriptDataStoreAfterEvents &&)
MCAPI void * $ctor(::Editor::ScriptModule::ScriptDataStoreAfterEvents &&)
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