LeviLamina
Loading...
Searching...
No Matches
ServerLoggingService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/LogChannel.h"
7#include "mc/editor/logging/LogLevel.h"
8#include "mc/editor/logging/LoggingService.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13class Player;
14namespace Editor { class IEditorPlayer; }
15namespace Editor { class LogMessage; }
16namespace Editor { class ServiceProviderCollection; }
17namespace Editor { struct LogContent; }
18// clang-format on
19
20namespace Editor::Services {
21
22class ServerLoggingService : public ::Editor::Services::LoggingService {
23public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ServerLoggingService& operator=(ServerLoggingService const&);
33 ServerLoggingService(ServerLoggingService const&);
34 ServerLoggingService();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ::std::string_view getServiceName() const /*override*/;
40
41 virtual void
42 log(::Editor::LogContent content,
43 ::Player* player,
44 ::Editor::LogLevel level,
45 ::std::vector<::HashedString>&& areaTags,
46 ::Editor::LogChannel logChannelMask) /*override*/;
47
48 virtual void flush() /*override*/;
49
50 virtual ::std::vector<::Editor::LogMessage> const& getMessages() const /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56#ifdef LL_PLAT_S
57 MCNAPI explicit ServerLoggingService(::Editor::ServiceProviderCollection& providers);
58#endif
59
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66#ifdef LL_PLAT_S
67 MCNAPI void* $ctor(::Editor::ServiceProviderCollection& providers);
68#endif
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCNAPI ::std::string_view $getServiceName() const;
75
76 MCNAPI void $log(
78 ::Player* player,
79 ::Editor::LogLevel level,
80 ::std::vector<::HashedString>&& areaTags,
81 ::Editor::LogChannel logChannelMask
82 );
83
84 MCNAPI void $flush();
85
86 MCNAPI ::std::vector<::Editor::LogMessage> const& $getMessages() const;
87
88
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftableForLoggingServiceProvider();
95
96 MCNAPI static void** $vftableForIEditorService();
97 // NOLINTEND
98};
99
100} // namespace Editor::Services
Definition IEditorPlayer.h:16
Definition LogMessage.h:12
Definition ServiceProviderCollection.h:7
Definition LoggingService.h:19
MCAPI void * $ctor(::Editor::ServiceProviderCollection &providers)
MCAPI ::std::vector<::Editor::LogMessage > const & $getMessages() const
MCAPI void $log(::Editor::LogContent content, ::Player *player, ::Editor::LogLevel level, ::std::vector<::HashedString > &&areaTags, ::Editor::LogChannel logChannelMask)
static MCAPI void ** $vftableForIEditorService()
MCAPI void _dispatchLogMessagePayload(::Editor::LogMessage message, ::Editor::IEditorPlayer *editorPlayer)
MCAPI::std::string_view $getServiceName() const
static MCAPI void ** $vftableForLoggingServiceProvider()
Definition HashedString.h:5
Definition Player.h:137
Definition LogContent.h:7
Definition Alias.h:14