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,
42 ::Player* player,
43 ::Editor::LogLevel level,
44 ::std::vector<::HashedString>&& areaTags) /*override*/;
45
46 // vIndex: 2
47 virtual void flush() /*override*/;
48
49 // vIndex: 3
50 virtual ::std::vector<::Editor::LogMessage> const& getMessages() const /*override*/;
51
52 // vIndex: 0
53 virtual ~ServerLoggingService() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCNAPI ::std::string_view $getServiceName() const;
66
67 MCNAPI void
68 $log(::std::string&& msg, ::Player* player, ::Editor::LogLevel level, ::std::vector<::HashedString>&& areaTags);
69
70 MCNAPI void $flush();
71
72 MCNAPI ::std::vector<::Editor::LogMessage> const& $getMessages() const;
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftableForLoggingServiceProvider();
79
80 MCNAPI static void** $vftableForIEditorService();
81 // NOLINTEND
82};
83
84} // namespace Editor::Services
Definition IEditorPlayer.h:16
Definition LogMessage.h:12
Definition LoggingService.h:18
Definition ServerLoggingService.h:19
MCAPI ::std::vector<::Editor::LogMessage > const & $getMessages() const
MCAPI void $log(::std::string &&msg, ::Player *player, ::Editor::LogLevel level, ::std::vector<::HashedString > &&areaTags)
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:119
Definition Alias.h:14