LeviLamina
Loading...
Searching...
No Matches
DataStoreServiceProvider.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/runtime/Result_deprecated.h"
7
#include "mc/editor/datastore/EventType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
HashedString
;
12
namespace
Bedrock::PubSub {
class
Subscription; }
13
namespace
Editor::DataStore {
struct
PayloadDescription; }
14
namespace
Json {
class
Value; }
15
// clang-format on
16
17
namespace
Editor::Services {
18
19
class
DataStoreServiceProvider
{
20
public
:
21
// virtual functions
22
// NOLINTBEGIN
23
// vIndex: 0
24
virtual
~DataStoreServiceProvider
() =
default
;
25
26
// vIndex: 1
27
virtual ::Scripting::Result_deprecated<void> dispatchEvent(
28
::HashedString
const
&,
29
::Editor::DataStore::EventType,
30
::Json::Value
const
&,
31
::Editor::DataStore::PayloadDescription
const
&
32
) = 0;
33
34
// vIndex: 2
35
virtual ::Json::Value getPayload(
::HashedString
const
&,
::Editor::DataStore::PayloadDescription
const
&)
const
= 0;
36
37
// vIndex: 3
38
virtual ::Bedrock::PubSub::Subscription listenForEvent(
39
::std::function<
void
(
40
::HashedString
const
&,
41
::Editor::DataStore::EventType,
42
::Json::Value
const
&,
43
::Editor::DataStore::PayloadDescription
const
&
44
)>
45
) = 0;
46
// NOLINTEND
47
48
public
:
49
// virtual function thunks
50
// NOLINTBEGIN
51
52
// NOLINTEND
53
};
54
55
}
// namespace Editor::Services
Editor::Services::DataStoreServiceProvider
Definition
DataStoreServiceProvider.h:19
HashedString
Definition
HashedString.h:5
Json::Value
Definition
Value.h:16
Editor::DataStore::PayloadDescription
Definition
PayloadDescription.h:7
src
mc
editor
serviceproviders
DataStoreServiceProvider.h
Generated on Fri Jun 13 2025 05:04:30 for LeviLamina by
1.12.0