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
11class HashedString;
12namespace Bedrock::PubSub { class Subscription; }
13namespace Editor::DataStore { struct PayloadDescription; }
14namespace Json { class Value; }
15// clang-format on
16
17namespace Editor::Services {
18
20public:
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&,
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&,
44 )>
45 ) = 0;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51
52 // NOLINTEND
53};
54
55} // namespace Editor::Services
Definition DataStoreServiceProvider.h:19
Definition HashedString.h:5
Definition Value.h:16
Definition PayloadDescription.h:7