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: 2
45 virtual ::Scripting::Result_deprecated<void> ready() /*override*/;
46
47 // vIndex: 4
48 virtual ::std::string_view getServiceName() const /*override*/;
49
50 // vIndex: 8
51 virtual ::std::string const& getPlayerSaveId() const /*override*/;
52
53 // vIndex: 7
54 virtual void
55 _removePersistData(::HashedString const& key, ::Editor::Services::PersistentDataType const dataType) /*override*/;
56
57 // vIndex: 8
58 virtual void _tick(::Editor::ServiceProviderCollection& serviceProvider) /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
65
67
68 MCNAPI void _saveDataOnLevel(::HashedString const& key, ::std::string value);
69
71 // NOLINTEND
72
73public:
74 // static variables
75 // NOLINTBEGIN
76 MCNAPI static ::std::string const& LEVEL_STORAGE_PERSISTDATA_KEY_SUFFIX();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCNAPI ::Scripting::Result_deprecated<void> $init();
83
84 MCNAPI ::Scripting::Result_deprecated<void> $quit();
85
86 MCNAPI ::Scripting::Result_deprecated<void> $ready();
87
88 MCNAPI ::std::string_view $getServiceName() const;
89
90 MCNAPI ::std::string const& $getPlayerSaveId() const;
91
92 MCNAPI void $_removePersistData(::HashedString const& key, ::Editor::Services::PersistentDataType const dataType);
93
94 MCNAPI void $_tick(::Editor::ServiceProviderCollection& serviceProvider);
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
101
102 MCNAPI static void** $vftableForIEditorService();
103 // NOLINTEND
104};
105
106} // 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 const & $getPlayerSaveId() const
MCAPI::std::string_view $getServiceName() const
MCAPI ::Scripting::Result_deprecated< void > $quit()
MCAPI ::Scripting::Result_deprecated< void > $ready()
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void _removePersistDataFromLevel(::HashedString const &key)
Definition HashedString.h:5
Definition Alias.h:14