LeviLamina
Loading...
Searching...
No Matches
EditorServerPersistenceService.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/services/persistence/EditorPersistenceService.h"
8#include "mc/editor/services/persistence/PersistentDataType.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13namespace Editor { class ServiceProviderCollection; }
14// clang-format on
15
16namespace Editor::Services {
17
19public:
20 // member variables
21 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~EditorServerPersistenceService() /*override*/ = default;
37
38 // vIndex: 1
39 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
40
41 // vIndex: 3
42 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
43
44 // vIndex: 4
45 virtual ::std::string_view getServiceName() const /*override*/;
46
47 // vIndex: 7
48 virtual void
49 _removePersistData(::HashedString const& key, ::Editor::Services::PersistentDataType const dataType) /*override*/;
50
51 // vIndex: 8
52 virtual void _tick(::Editor::ServiceProviderCollection& serviceProvider) /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
59
61
62 MCNAPI void _saveDataOnLevel(::HashedString const& key, ::std::string value);
63
65 // NOLINTEND
66
67public:
68 // static variables
69 // NOLINTBEGIN
70 MCNAPI static ::std::string const& LEVEL_STORAGE_PERSISTDATA_KEY_SUFFIX();
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCNAPI ::Scripting::Result_deprecated<void> $init();
77
78 MCNAPI ::Scripting::Result_deprecated<void> $quit();
79
80 MCNAPI ::std::string_view $getServiceName() const;
81
82 MCNAPI void $_removePersistData(::HashedString const& key, ::Editor::Services::PersistentDataType const dataType);
83
84 MCNAPI void $_tick(::Editor::ServiceProviderCollection& serviceProvider);
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
91
92 MCNAPI static void** $vftableForIEditorService();
93 // NOLINTEND
94};
95
96} // namespace Editor::Services
Definition ServiceProviderCollection.h:7
Definition EditorPersistenceService.h:23
Definition EditorServerPersistenceService.h:18
MCAPI void _saveDataOnLevel(::HashedString const &key, ::std::string value)
static MCAPI void ** $vftableForEditorPersistenceServiceProvider()
MCAPI void $_removePersistData(::HashedString const &key, ::Editor::Services::PersistentDataType const dataType)
static MCAPI ::std::string const & LEVEL_STORAGE_PERSISTDATA_KEY_SUFFIX()
MCAPI void $_tick(::Editor::ServiceProviderCollection &serviceProvider)
MCAPI::std::string_view $getServiceName() const
MCAPI ::Scripting::Result_deprecated< void > $quit()
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void _removePersistDataFromLevel(::HashedString const &key)
Definition HashedString.h:5
Definition Alias.h:14