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
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<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
39public:
40 // destructor thunk
41 // NOLINTBEGIN
42
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48
49 // NOLINTEND
50};
51
52} // namespace Editor::Services
Definition DataStoreServiceProvider.h:19
Definition HashedString.h:5
Definition Value.h:16
Definition PayloadDescription.h:7