CommonLibVR
LoggingDisabler.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/G/GFxLog.h"
4 
5 namespace RE
6 {
7 #ifndef SKYRIM_SUPPORT_AE
8  class LoggingDisabler : public GFxLog
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI___LoggingDisabler;
12  inline static constexpr auto VTABLE = VTABLE___LoggingDisabler;
13 
14  LoggingDisabler() = default;
15  ~LoggingDisabler() override = default; // 00
16 
17  // override (GFxLog)
18  void LogMessageVarg([[maybe_unused]] LogMessageType a_messageType, [[maybe_unused]] const char* a_fmt, [[maybe_unused]] std::va_list a_argList) override{}; // 01
19  private:
20  KEEP_FOR_RE()
21  };
22  static_assert(sizeof(LoggingDisabler) == 0x20);
23 #endif
24 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
LogMessageType
Definition: GFxLogConstants.h:9
Definition: GFxLog.h:11
Definition: LoggingDisabler.h:9
void LogMessageVarg([[maybe_unused]] LogMessageType a_messageType, [[maybe_unused]] const char *a_fmt, [[maybe_unused]] std::va_list a_argList) override
Definition: LoggingDisabler.h:18
static constexpr auto RTTI
Definition: LoggingDisabler.h:11
LoggingDisabler()=default
static constexpr auto VTABLE
Definition: LoggingDisabler.h:12
~LoggingDisabler() override=default
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI___LoggingDisabler(static_cast< std::uint64_t >(691067))
constexpr std::array< REL::ID, 2 > VTABLE___LoggingDisabler
Definition: Offsets_VTABLE.h:13121