CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
GFxActionControl.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/G/GFxState.h"
4
5namespace RE
6{
8 {
9 public:
11 {
12 kNone = 0,
13 kVerbose = 1 << 0,
14 kSuppressErrors = 1 << 1,
15 kLogRootFilenames = 1 << 2, // Display filename for root movie
16 kLogChildFilenames = 1 << 3, // Display filename for child movie
17 kLongFilenames = 1 << 4 // Display full path
18 };
19
22 actionFlags(a_actionFlags),
23 pad1C(0)
24 {}
25
26 [[nodiscard]] constexpr ActionControlFlags GetFlags() const { return *actionFlags; }
27 constexpr void SetFlags(ActionControlFlags a_actionFlags) { actionFlags = a_actionFlags; }
28
31
34
37
40
43
46
47 // members
49 std::uint32_t pad1C; // 1C
50 };
51 static_assert(sizeof(GFxActionControl) == 0x20);
52}
Definition: GFxActionControl.h:8
constexpr void SetErrorSuppression() noexcept
Definition: GFxActionControl.h:32
constexpr void SetLongFilenameLogging() noexcept
Definition: GFxActionControl.h:44
constexpr void SetRootFilenameLogging() noexcept
Definition: GFxActionControl.h:35
std::uint32_t pad1C
Definition: GFxActionControl.h:49
ActionControlFlags
Definition: GFxActionControl.h:11
constexpr void SetAllFilenameLogging() noexcept
Definition: GFxActionControl.h:41
constexpr void UnsetChildFilenameLogging() noexcept
Definition: GFxActionControl.h:39
constexpr void SetChildFilenameLogging() noexcept
Definition: GFxActionControl.h:38
constexpr void SetVerboseLogging() noexcept
Definition: GFxActionControl.h:29
constexpr ActionControlFlags GetFlags() const
Definition: GFxActionControl.h:26
stl::enumeration< ActionControlFlags, std::uint32_t > actionFlags
Definition: GFxActionControl.h:48
constexpr void UnsetAllFilenameLogging() noexcept
Definition: GFxActionControl.h:42
constexpr void SetFlags(ActionControlFlags a_actionFlags)
Definition: GFxActionControl.h:27
constexpr void UnsetErrorSuppression() noexcept
Definition: GFxActionControl.h:33
constexpr void UnsetLongFilenameLogging() noexcept
Definition: GFxActionControl.h:45
constexpr void UnsetVerboseLogging() noexcept
Definition: GFxActionControl.h:30
GFxActionControl(ActionControlFlags a_actionFlags=ActionControlFlags::kLogChildFilenames)
Definition: GFxActionControl.h:20
constexpr void UnsetRootFilenameLogging() noexcept
Definition: GFxActionControl.h:36
Definition: GFxState.h:9
StateType
Definition: GFxState.h:15
Definition: PCH.h:216
constexpr enumeration & reset(Args... a_args) noexcept
Definition: PCH.h:273
constexpr enumeration & set(Args... a_args) noexcept
Definition: PCH.h:265
Definition: AbsorbEffect.h:6