LeviLamina
Loading...
Searching...
No Matches
EditorProjectRegionService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/deps/game_refs/WeakRef.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/editor/EditorProjectRegionServiceProvider.h"
10#include "mc/editor/services/IEditorService.h"
11
12// auto generated forward declare list
13// clang-format off
14class Dimension;
15namespace Editor { class ProjectRegion; }
16namespace Editor { class ServiceProviderCollection; }
17namespace Editor { struct ProjectRegionConfig; }
18namespace mce { class UUID; }
19// clang-format on
20
21namespace Editor::Services {
22
25public:
26 // member variables
27 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~EditorProjectRegionService() /*override*/ = default;
44
45 // vIndex: 1
46 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
47
48 // vIndex: 2
49 virtual ::Scripting::Result_deprecated<void> ready() /*override*/;
50
51 // vIndex: 3
52 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
53
54 // vIndex: 4
55 virtual ::std::string_view getServiceName() const /*override*/;
56
57 // vIndex: 1
58 virtual ::WeakRef<::Editor::ProjectRegion> createRegion(::Editor::ProjectRegionConfig const& config) /*override*/;
59
60 // vIndex: 3
61 virtual ::Scripting::Result_deprecated<void> destroyRegion(::mce::UUID const& id) /*override*/;
62
63 // vIndex: 2
64 virtual ::std::vector<::WeakRef<::Editor::ProjectRegion>> getAllRegions() const /*override*/;
65
66 // vIndex: 4
67 virtual ::WeakRef<::Editor::ProjectRegion> getRegion(::mce::UUID const& id) const /*override*/;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
74
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI ::Scripting::Result_deprecated<void> $init();
82
83 MCNAPI ::Scripting::Result_deprecated<void> $ready();
84
85 MCNAPI ::Scripting::Result_deprecated<void> $quit();
86
87 MCNAPI ::std::string_view $getServiceName() const;
88
89 MCNAPI ::WeakRef<::Editor::ProjectRegion> $createRegion(::Editor::ProjectRegionConfig const& config);
90
91 MCNAPI ::Scripting::Result_deprecated<void> $destroyRegion(::mce::UUID const& id);
92
93 MCNAPI ::std::vector<::WeakRef<::Editor::ProjectRegion>> $getAllRegions() const;
94
95 MCNAPI ::WeakRef<::Editor::ProjectRegion> $getRegion(::mce::UUID const& id) const;
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftableForIEditorService();
102
104 // NOLINTEND
105};
106
107} // namespace Editor::Services
Definition AutomaticID.h:6
Definition Dimension.h:83
Definition ServiceProviderCollection.h:7
Definition EditorProjectRegionServiceProvider.h:18
Definition EditorProjectRegionService.h:24
static MCAPI void ** $vftableForIEditorService()
MCAPI ::Scripting::Result_deprecated< void > $quit()
MCAPI ::Scripting::Result_deprecated< void > $destroyRegion(::mce::UUID const &id)
MCAPI ::std::vector<::WeakRef<::Editor::ProjectRegion > > $getAllRegions() const
static MCAPI void ** $vftableForEditorProjectRegionServiceProvider()
MCAPI::std::string_view $getServiceName() const
MCAPI ::WeakRef<::Editor::ProjectRegion > $createRegion(::Editor::ProjectRegionConfig const &config)
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void tick(::Editor::ServiceProviderCollection &)
MCAPI ::WeakRef<::Editor::ProjectRegion > $getRegion(::mce::UUID const &id) const
MCAPI void _handleDimensionChange(::DimensionType, ::DimensionType)
MCAPI ::Scripting::Result_deprecated< void > $ready()
Definition IEditorService.h:11
Definition UUID.h:7
Definition ProjectRegionConfig.h:7
Definition Alias.h:14