LeviLamina
Loading...
Searching...
No Matches
ServerFeatureFlagPlayerService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/EditorFeatureFlagService.h"
7#include "mc/common/editor/FeatureFlagCategory.h"
8#include "mc/common/editor/FeatureFlagSource.h"
9#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace Editor::Network { class FeatureFlagBulkSyncPayload; }
14// clang-format on
15
16namespace Editor::Services {
17
18class ServerFeatureFlagPlayerService : public ::Editor::Services::EditorFeatureFlagService {
19public:
20 // member variables
21 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 ServerFeatureFlagPlayerService& operator=(ServerFeatureFlagPlayerService const&);
31 ServerFeatureFlagPlayerService(ServerFeatureFlagPlayerService const&);
32 ServerFeatureFlagPlayerService();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~ServerFeatureFlagPlayerService() /*override*/;
38
39 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
40
41 virtual ::Scripting::Result_deprecated<void> ready() /*override*/;
42
43 virtual ::Scripting::Result_deprecated<void> preStartTick() /*override*/;
44
45 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
46
47 virtual ::std::string_view getServiceName() const /*override*/;
48
49 virtual ::Scripting::Result_deprecated<void> setFlag(::std::string const& name, bool value) /*override*/;
50
51 virtual ::Scripting::Result_deprecated<void> registerFlag(
52 ::std::string const& name,
53 bool defaultValue,
54 ::Editor::FeatureFlagCategory category,
55 ::Editor::FeatureFlagSource source,
56 ::std::string const& description,
57 bool readOnly
58 ) /*override*/;
59
60 virtual bool isHost() const /*override*/;
61
62 virtual void
63 _handleFeatureFlagBulkSyncPayload(::Editor::Network::FeatureFlagBulkSyncPayload const& payload) /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCNAPI void _sendFlagChangedToClient(::std::string const& name, bool value, ::Editor::FeatureFlagCategory category);
70
72 // NOLINTEND
73
74public:
75 // static variables
76 // NOLINTBEGIN
77 MCNAPI static ::std::string_view const& ServiceName();
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCNAPI void $dtor();
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCNAPI ::Scripting::Result_deprecated<void> $init();
90
91 MCNAPI ::Scripting::Result_deprecated<void> $ready();
92
93 MCNAPI ::Scripting::Result_deprecated<void> $preStartTick();
94
95 MCNAPI ::Scripting::Result_deprecated<void> $quit();
96
97 MCNAPI ::std::string_view $getServiceName() const;
98
99 MCNAPI ::Scripting::Result_deprecated<void> $setFlag(::std::string const& name, bool value);
100
101 MCNAPI ::Scripting::Result_deprecated<void> $registerFlag(
102 ::std::string const& name,
103 bool defaultValue,
104 ::Editor::FeatureFlagCategory category,
105 ::Editor::FeatureFlagSource source,
106 ::std::string const& description,
107 bool readOnly
108 );
109
110 MCNAPI bool $isHost() const;
111
113
114
115 // NOLINTEND
116
117public:
118 // vftables
119 // NOLINTBEGIN
121
122 MCNAPI static void** $vftableForIEditorService();
123 // NOLINTEND
124};
125
126} // namespace Editor::Services
Definition FeatureFlagBulkSyncPayload.h:16
Definition EditorFeatureFlagService.h:24
MCAPI ::Scripting::Result_deprecated< void > $registerFlag(::std::string const &name, bool defaultValue, ::Editor::FeatureFlagCategory category, ::Editor::FeatureFlagSource source, ::std::string const &description, bool readOnly)
MCAPI void $_handleFeatureFlagBulkSyncPayload(::Editor::Network::FeatureFlagBulkSyncPayload const &payload)
MCAPI void _sendFlagChangedToClient(::std::string const &name, bool value, ::Editor::FeatureFlagCategory category)
MCAPI ::Scripting::Result_deprecated< void > $setFlag(::std::string const &name, bool value)
static MCAPI void ** $vftableForEditorFeatureFlagServiceProvider()
MCAPI ::Scripting::Result_deprecated< void > $ready()
static MCAPI ::std::string_view const & ServiceName()
MCAPI::std::string_view $getServiceName() const
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI ::Scripting::Result_deprecated< void > $preStartTick()
MCAPI ::Scripting::Result_deprecated< void > $quit()
Definition Alias.h:14