LeviLamina
Loading...
Searching...
No Matches
ServerDataStoreService.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#include "mc/editor/services/datastore/DataStoreService.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13namespace Editor { class ServiceProviderCollection; }
14namespace Editor::DataStore { struct PayloadDescription; }
15namespace Json { class Value; }
16// clang-format on
17
18namespace Editor::Services {
19
21public:
22 // prevent constructor by default
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 0
29 virtual ~ServerDataStoreService() /*override*/ = default;
30
31 // vIndex: 1
32 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
33
34 // vIndex: 4
35 virtual ::std::string_view getServiceName() const /*override*/;
36
37 // vIndex: 7
38 virtual ::Scripting::Result_deprecated<void> _handleEvents(
39 ::HashedString const& dataTag,
40 ::Editor::DataStore::EventType,
41 ::Json::Value const&,
43 bool
44 ) /*override*/;
45
46 // vIndex: 8
47 virtual ::Json::Value
48 _getPayload(::HashedString const& dataTag, ::Editor::DataStore::PayloadDescription const&) const /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCNAPI ::Scripting::Result_deprecated<void> $init();
67
68 MCNAPI ::std::string_view $getServiceName() const;
69
70 MCNAPI ::Scripting::Result_deprecated<void> $_handleEvents(
71 ::HashedString const& dataTag,
72 ::Editor::DataStore::EventType,
73 ::Json::Value const&,
75 bool
76 );
77
78 MCNAPI ::Json::Value
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
86
87 MCNAPI static void** $vftableForIEditorService();
88 // NOLINTEND
89};
90
91} // namespace Editor::Services
Definition ServiceProviderCollection.h:7
Definition DataStoreService.h:25
Definition ServerDataStoreService.h:20
MCAPI::Json::Value $_getPayload(::HashedString const &dataTag, ::Editor::DataStore::PayloadDescription const &) const
MCAPI ServerDataStoreService(::Editor::ServiceProviderCollection &providers)
static MCAPI void ** $vftableForIEditorService()
MCAPI ::Scripting::Result_deprecated< void > $_handleEvents(::HashedString const &dataTag, ::Editor::DataStore::EventType, ::Json::Value const &, ::Editor::DataStore::PayloadDescription const &, bool)
static MCAPI void ** $vftableForDataStoreServiceProvider()
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void * $ctor(::Editor::ServiceProviderCollection &providers)
MCAPI::std::string_view $getServiceName() const
Definition HashedString.h:5
Definition Value.h:16
Definition PayloadDescription.h:7