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/logging/LogLevel.h"
7#include "mc/editor/logging/LoggingService.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
12class Player;
13namespace Editor { class IEditorPlayer; }
14namespace Editor { class LogMessage; }
15// clang-format on
16
17namespace Editor::Services {
18
20public:
21 // member variables
22 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 4
37 virtual ::std::string_view getServiceName() const /*override*/;
38
39 // vIndex: 1
40 virtual void
41 log(::std::string&& msg, ::Player* player, ::Editor::LogLevel level, ::std::vector<::HashedString>&& areaTags
42 ) /*override*/;
43
44 // vIndex: 2
45 virtual void flush() /*override*/;
46
47 // vIndex: 3
48 virtual ::std::vector<::Editor::LogMessage> const& getMessages() const /*override*/;
49
50 // vIndex: 0
51 virtual ~ServerLoggingService() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI void _dispatchLogMessagePayload(::Editor::LogMessage message, ::Editor::IEditorPlayer* editorPlayer);
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI ::std::string_view $getServiceName() const;
70
71 MCAPI void
72 $log(::std::string&& msg, ::Player* player, ::Editor::LogLevel level, ::std::vector<::HashedString>&& areaTags);
73
74 MCFOLD void $flush();
75
76 MCFOLD ::std::vector<::Editor::LogMessage> const& $getMessages() const;
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCAPI static void** $vftableForLoggingServiceProvider();
83
84 MCAPI static void** $vftableForIEditorService();
85 // NOLINTEND
86};
87
88} // namespace Editor::Services
Definition IEditorPlayer.h:16
Definition LogMessage.h:12
Definition LoggingService.h:19
Definition ServerLoggingService.h:19
Definition HashedString.h:5
Definition Player.h:119
Definition Alias.h:14