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/script_core/lifetime_registry/scripting/WeakHandleFromThis.h"
7#include "mc/editor/datastore/EventType.h"
8#include "mc/scripting/modules/minecraft/events/IScriptScriptDeferredEventListener.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
14namespace Editor::DataStore { struct PayloadDescription; }
15namespace Json { class Value; }
16namespace ScriptModuleMinecraft { struct ScriptAfterEventMetadata; }
17namespace Scripting { class ModuleBindingBuilder; }
18namespace Scripting { struct ModuleDescriptor; }
19// clang-format on
20
21namespace Editor::ScriptModule {
22
23class ScriptDataStoreAfterEvents
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 virtual void onFlushEditorDataStoreAfterEvents(::ScriptDeferredFlushTracker& deferredTracker) /*override*/;
39 // NOLINTEND
40
41 public:
42 // virtual function thunks
43 // NOLINTBEGIN
45
46
47 // NOLINTEND
48 };
49
50public:
51 // member variables
52 // NOLINTBEGIN
58 // NOLINTEND
59
60public:
61 // prevent constructor by default
62 ScriptDataStoreAfterEvents& operator=(ScriptDataStoreAfterEvents const&);
63 ScriptDataStoreAfterEvents(ScriptDataStoreAfterEvents const&);
64 ScriptDataStoreAfterEvents();
65
66public:
67 // member functions
68 // NOLINTBEGIN
70 ::HashedString const& dataTag,
71 ::Editor::DataStore::EventType,
72 ::Json::Value const& payload,
74 );
75
76 MCNAPI ::Editor::ScriptModule::ScriptDataStoreAfterEvents&
78 // NOLINTEND
79
80public:
81 // static functions
82 // NOLINTBEGIN
83 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
84
86 ::Scripting::ModuleDescriptor const& moduleToDocumentFor,
87 ::Json::Value& eventOrderArray
88 );
89 // NOLINTEND
90
91public:
92 // static variables
93 // NOLINTBEGIN
94 MCNAPI static ::ScriptModuleMinecraft::ScriptAfterEventMetadata const& mMetadata();
95 // NOLINTEND
96};
97
98} // 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 &desc)
MCAPI::Editor::ScriptModule::ScriptDataStoreAfterEvents & operator=(::Editor::ScriptModule::ScriptDataStoreAfterEvents &&rhs)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
static MCAPI ::ScriptModuleMinecraft::ScriptAfterEventMetadata const & mMetadata()
static MCAPI void generateOrderDocumentationForVersion(::Scripting::ModuleDescriptor const &moduleToDocumentFor, ::Json::Value &eventOrderArray)
Definition HashedString.h:5
Definition Value.h:16
Definition ScriptDeferredFlushTracker.h:13
Definition IScriptScriptDeferredEventListener.h:8
Definition ModuleBindingBuilder.h:22
Definition WeakHandleFromThis.h:8
Definition PayloadDescription.h:7
Definition ScriptAfterEventMetadata.h:16
Definition ModuleDescriptor.h:7
Definition Alias.h:14