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
20class ServerDataStoreService : public ::Editor::Services::DataStoreService {
21public:
22 // prevent constructor by default
23 ServerDataStoreService();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~ServerDataStoreService() /*override*/ = default;
29
30 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
31
32 virtual ::std::string_view getServiceName() const /*override*/;
33
34 virtual ::Scripting::Result_deprecated<void> _handleEvents(
35 ::HashedString const& dataTag,
36 ::Editor::DataStore::EventType,
37 ::Json::Value const&,
39 bool
40 ) /*override*/;
41
42 virtual ::Json::Value
43 _getPayload(::HashedString const& dataTag, ::Editor::DataStore::PayloadDescription const&) const /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCNAPI ::Scripting::Result_deprecated<void> $init();
62
63 MCNAPI ::std::string_view $getServiceName() const;
64
65 MCNAPI ::Scripting::Result_deprecated<void> $_handleEvents(
66 ::HashedString const& dataTag,
67 ::Editor::DataStore::EventType,
68 ::Json::Value const&,
70 bool
71 );
72
73 MCNAPI ::Json::Value
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
83
84 MCNAPI static void** $vftableForIEditorService();
85 // NOLINTEND
86};
87
88} // namespace Editor::Services
Definition ServiceProviderCollection.h:7
Definition DataStoreService.h:25
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