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.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<void>
28
dispatchEvent(
::HashedString
const
&, ::Editor::DataStore::EventType,
::Json::Value
const
&,
::Editor::DataStore::PayloadDescription
const
&) = 0;
29
30
// vIndex: 2
31
virtual ::Json::Value getPayload(
::HashedString
const
&,
::Editor::DataStore::PayloadDescription
const
&)
const
= 0;
32
33
// vIndex: 3
34
virtual ::Bedrock::PubSub::Subscription
35
listenForEvent(::std::function<
36
void
(
::HashedString
const
&, ::Editor::DataStore::EventType,
::Json::Value
const
&,
::Editor::DataStore::PayloadDescription
const
&)>) = 0;
37
// NOLINTEND
38
39
public
:
40
// destructor thunk
41
// NOLINTBEGIN
42
43
// NOLINTEND
44
45
public
:
46
// virtual function thunks
47
// NOLINTBEGIN
48
49
// NOLINTEND
50
};
51
52
}
// 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 Sat Apr 26 2025 05:55:33 for LeviLamina by
1.12.0