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/serviceproviders/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
23class EditorProjectRegionService : public ::Editor::Services::IEditorService,
25public:
26 // member variables
27 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 EditorProjectRegionService& operator=(EditorProjectRegionService const&);
36 EditorProjectRegionService(EditorProjectRegionService const&);
37 EditorProjectRegionService();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~EditorProjectRegionService() /*override*/ = default;
43
44 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
45
46 virtual ::Scripting::Result_deprecated<void> ready() /*override*/;
47
48 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
49
50 virtual ::std::string_view getServiceName() const /*override*/;
51
52 virtual ::WeakRef<::Editor::ProjectRegion> createRegion(::Editor::ProjectRegionConfig const& config) /*override*/;
53
54 virtual ::Scripting::Result_deprecated<void> destroyRegion(::mce::UUID const& id) /*override*/;
55
56 virtual ::std::vector<::WeakRef<::Editor::ProjectRegion>> getAllRegions() const /*override*/;
57
58 virtual ::WeakRef<::Editor::ProjectRegion> getRegion(::mce::UUID const& id) const /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCNAPI void _handleDimensionChange(::DimensionType, ::DimensionType);
65
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCNAPI ::Scripting::Result_deprecated<void> $init();
73
74 MCNAPI ::Scripting::Result_deprecated<void> $ready();
75
76 MCNAPI ::Scripting::Result_deprecated<void> $quit();
77
78 MCNAPI ::std::string_view $getServiceName() const;
79
80 MCNAPI ::WeakRef<::Editor::ProjectRegion> $createRegion(::Editor::ProjectRegionConfig const& config);
81
82 MCNAPI ::Scripting::Result_deprecated<void> $destroyRegion(::mce::UUID const& id);
83
84 MCNAPI ::std::vector<::WeakRef<::Editor::ProjectRegion>> $getAllRegions() const;
85
86 MCNAPI ::WeakRef<::Editor::ProjectRegion> $getRegion(::mce::UUID const& id) const;
87
88
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftableForIEditorService();
95
97 // NOLINTEND
98};
99
100} // namespace Editor::Services
Definition Dimension.h:85
Definition ProjectRegion.h:27
Definition ServiceProviderCollection.h:7
Definition EditorProjectRegionServiceProvider.h:18
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