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/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; }
16// clang-format on
17
18namespace Editor::Services {
19
21public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 4
38 virtual ::std::string_view getServiceName() const /*override*/;
39
40 // vIndex: 1
41 virtual void
42 log(::std::string&& msg,
43 ::Player* player,
44 ::Editor::LogLevel level,
45 ::std::vector<::HashedString>&& areaTags,
46 ::Editor::LogChannel logChannelMask,
47 ::std::string subMsg) /*override*/;
48
49 // vIndex: 2
50 virtual void flush() /*override*/;
51
52 // vIndex: 3
53 virtual ::std::vector<::Editor::LogMessage> const& getMessages() const /*override*/;
54
55 // vIndex: 0
56 virtual ~ServerLoggingService() /*override*/ = default;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI ::std::string_view $getServiceName() const;
69
70 MCNAPI void $log(
71 ::std::string&& msg,
72 ::Player* player,
73 ::Editor::LogLevel level,
74 ::std::vector<::HashedString>&& areaTags,
75 ::Editor::LogChannel logChannelMask,
76 ::std::string subMsg
77 );
78
79 MCNAPI void $flush();
80
81 MCNAPI ::std::vector<::Editor::LogMessage> const& $getMessages() const;
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftableForLoggingServiceProvider();
88
89 MCNAPI static void** $vftableForIEditorService();
90 // NOLINTEND
91};
92
93} // namespace Editor::Services
Definition IEditorPlayer.h:16
Definition LogMessage.h:12
Definition LoggingService.h:18
Definition ServerLoggingService.h:20
MCAPI ::std::vector<::Editor::LogMessage > const & $getMessages() const
static MCAPI void ** $vftableForIEditorService()
MCAPI void _dispatchLogMessagePayload(::Editor::LogMessage message, ::Editor::IEditorPlayer *editorPlayer)
MCAPI::std::string_view $getServiceName() const
MCAPI void $log(::std::string &&msg, ::Player *player, ::Editor::LogLevel level, ::std::vector<::HashedString > &&areaTags, ::Editor::LogChannel logChannelMask, ::std::string subMsg)
static MCAPI void ** $vftableForLoggingServiceProvider()
Definition HashedString.h:5
Definition Player.h:123
Definition Alias.h:14