LeviLamina
Loading...
Searching...
No Matches
IEditorService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8
9namespace Editor::Services {
10
11class IEditorService : public ::Bedrock::EnableNonOwnerReferences {
12public:
13 // IEditorService inner types define
14 enum class State : int {
15 Uninitialized = 0,
16 Initialized = 1,
17 Ready = 2,
18 };
19
20public:
21 // member variables
22 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 IEditorService& operator=(IEditorService const&);
30 IEditorService(IEditorService const&);
31 IEditorService();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~IEditorService() /*override*/;
37
38 virtual ::Scripting::Result_deprecated<void> init() = 0;
39
40 virtual ::Scripting::Result_deprecated<void> ready();
41
42 virtual ::Scripting::Result_deprecated<void> quit() = 0;
43
44 virtual ::std::string_view getServiceName() const = 0;
45
46 virtual bool isServiceInitialized() const;
47
48 virtual bool isServiceReady() const;
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCNAPI ::Scripting::Result_deprecated<void> $ready();
61
62 MCNAPI bool $isServiceInitialized() const;
63
64 MCNAPI bool $isServiceReady() const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
75
76} // namespace Editor::Services
Definition EnableNonOwnerReferences.h:7
MCAPI bool $isServiceReady() const
static MCAPI void ** $vftable()
MCAPI ::Scripting::Result_deprecated< void > $ready()
MCAPI bool $isServiceInitialized() const
Definition Alias.h:14