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