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.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 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 0
25 virtual ~ServerDataStoreService() /*override*/ = default;
26
27 // vIndex: 1
28 virtual ::Scripting::Result<void> init() /*override*/;
29
30 // vIndex: 4
31 virtual ::std::string_view getServiceName() const /*override*/;
32
33 // vIndex: 7
34 virtual ::Scripting::Result<void> _handleEvents(
35 ::HashedString const& dataTag,
36 ::Editor::DataStore::EventType,
37 ::Json::Value const&,
39 bool
40 ) /*override*/;
41
42 // vIndex: 8
43 virtual ::Json::Value
44 _getPayload(::HashedString const& dataTag, ::Editor::DataStore::PayloadDescription const&) const /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::Editor::ServiceProviderCollection& providers);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI ::Scripting::Result<void> $init();
69
70 MCAPI ::std::string_view $getServiceName() const;
71
72 MCAPI ::Scripting::Result<void> $_handleEvents(
73 ::HashedString const& dataTag,
74 ::Editor::DataStore::EventType,
75 ::Json::Value const&,
77 bool
78 );
79
80 MCFOLD ::Json::Value
81 $_getPayload(::HashedString const& dataTag, ::Editor::DataStore::PayloadDescription const&) const;
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCAPI static void** $vftableForDataStoreServiceProvider();
88
89 MCAPI static void** $vftableForIEditorService();
90 // NOLINTEND
91};
92
93} // namespace Editor::Services
Definition ServiceProviderCollection.h:7
Definition DataStoreService.h:25
Definition ServerDataStoreService.h:20
Definition HashedString.h:5
Definition Value.h:16
Definition PayloadDescription.h:7