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; }
19namespace Scripting { struct ModuleDescriptor; }
20// clang-format on
21
22namespace Editor::ScriptModule {
23
24class ScriptDataStoreAfterEvents
25: public ::Scripting::WeakHandleFromThis<::Editor::ScriptModule::ScriptDataStoreAfterEvents> {
26public:
27 // ScriptDataStoreAfterEvents inner types declare
28 // clang-format off
30 // clang-format on
31
32 // ScriptDataStoreAfterEvents inner types define
35 ::Editor::ScriptModule::ScriptDataStoreAfterEvents> {
36 public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual void onFlushEditorDataStoreAfterEvents(::ScriptDeferredFlushTracker& deferredTracker) /*override*/;
40 // NOLINTEND
41
42 public:
43 // virtual function thunks
44 // NOLINTBEGIN
46
47
48 // NOLINTEND
49
50 public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55 };
56
57public:
58 // member variables
59 // NOLINTBEGIN
65 // NOLINTEND
66
67public:
68 // prevent constructor by default
69 ScriptDataStoreAfterEvents& operator=(ScriptDataStoreAfterEvents const&);
70 ScriptDataStoreAfterEvents(ScriptDataStoreAfterEvents const&);
71 ScriptDataStoreAfterEvents();
72
73public:
74 // member functions
75 // NOLINTBEGIN
77 ::HashedString const& dataTag,
78 ::Editor::DataStore::EventType payload,
79 ::Json::Value const& desc,
81 );
82
83 MCNAPI ::Editor::ScriptModule::ScriptDataStoreAfterEvents&
85
87
89 // NOLINTEND
90
91public:
92 // static functions
93 // NOLINTBEGIN
94 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
95
97 ::Scripting::ModuleDescriptor const& moduleToDocumentFor,
98 ::Json::Value& eventOrderArray
99 );
100 // NOLINTEND
101
102public:
103 // static variables
104 // NOLINTBEGIN
105 MCNAPI static ::ScriptModuleMinecraft::ScriptAfterEventMetadata<
108 // NOLINTEND
109
110public:
111 // destructor thunk
112 // NOLINTBEGIN
113 MCNAPI void $dtor();
114 // NOLINTEND
115};
116
117} // namespace Editor::ScriptModule
MCAPI void $onFlushEditorDataStoreAfterEvents(::ScriptDeferredFlushTracker &deferredTracker)
Definition ScriptDataStoreAfterEvents.h:25
MCAPI void _handleDataStorePayloadEvent(::HashedString const &dataTag, ::Editor::DataStore::EventType payload, ::Json::Value const &desc, ::Editor::DataStore::PayloadDescription const &)
MCAPI::Editor::ScriptModule::ScriptDataStoreAfterEvents & operator=(::Editor::ScriptModule::ScriptDataStoreAfterEvents &&rhs)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
static MCAPI ::ScriptModuleMinecraft::ScriptAfterEventMetadata< ::Editor::ScriptModule::ScriptDataStoreAfterEvents > const & mMetadata()
MCAPI void registerListeners(::Editor::Services::DataStoreServiceProvider &dataStoreService)
static MCAPI void generateOrderDocumentationForVersion(::Scripting::ModuleDescriptor const &moduleToDocumentFor, ::Json::Value &eventOrderArray)
Definition DataStoreServiceProvider.h:19
Definition HashedString.h:5
Definition Value.h:16
Definition ScriptDeferredFlushTracker.h:13
Definition IScriptScriptDeferredEventListener.h:8
Definition ModuleBindingBuilder.h:31
Definition WeakHandleFromThis.h:8
Definition PayloadDescription.h:12
Definition ModuleDescriptor.h:7
Definition Alias.h:14