Skip to content

Commit

Permalink
add .clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
localcc committed Sep 26, 2023
1 parent a227a39 commit c3eaefb
Show file tree
Hide file tree
Showing 229 changed files with 21,439 additions and 33,985 deletions.
88 changes: 10 additions & 78 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,87 +1,19 @@
# Format Style Options - Created with Clang Power Tools
---
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: None
AlignConsecutiveAssignments: None
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: None
AllowShortBlocksOnASingleLine: Empty
AllowShortLambdasOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BasedOnStyle: Microsoft
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: AfterColon
ColumnLimit: 210
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
DerivePointerAlignment: false
FixNamespaceComments: false
IncludeBlocks: Regroup
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
Language: Cpp
MaxEmptyLinesToKeep: 2
ColumnLimit: 160
ContinuationIndentWidth: 8
NamespaceIndentation: All
ObjCBreakBeforeNestedBlockParam: false
PenaltyBreakBeforeFirstCallParameter: 120
PenaltyExcessCharacter: 5
PointerAlignment: Left
ReflowComments: false
SortIncludes: Never
SortUsingDeclarations: false
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: c++20
TabWidth: 4
UseTab: Never
PenaltyReturnTypeOnItsOwnLine: 1000
BitFieldColonSpacing: Both
AlignConsecutiveBitFields: Consecutive

Standard: Latest
...
48 changes: 16 additions & 32 deletions UE4SS/generated_include/MacroSetter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ if (auto val = parser.get_int64(STR("UFunction"), STR("EventGraphFunction"), -1)
Unreal::UFunction::MemberOffsets.emplace(STR("EventGraphFunction"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UFunction"), STR("FirstPropertyToInit"), -1); val != -1)
Unreal::UFunction::MemberOffsets.emplace(STR("FirstPropertyToInit"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UFunction"), STR("Func"), -1); val != -1)
Unreal::UFunction::MemberOffsets.emplace(STR("Func"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UFunction"), STR("Func"), -1); val != -1) Unreal::UFunction::MemberOffsets.emplace(STR("Func"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UFunction"), STR("FunctionFlags"), -1); val != -1)
Unreal::UFunction::MemberOffsets.emplace(STR("FunctionFlags"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UFunction"), STR("NumParms"), -1); val != -1)
Expand All @@ -90,8 +89,7 @@ if (auto val = parser.get_int64(STR("UFunction"), STR("RepOffset"), -1); val !=
Unreal::UFunction::MemberOffsets.emplace(STR("RepOffset"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UFunction"), STR("ReturnValueOffset"), -1); val != -1)
Unreal::UFunction::MemberOffsets.emplace(STR("ReturnValueOffset"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UField"), STR("Next"), -1); val != -1)
Unreal::UField::MemberOffsets.emplace(STR("Next"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UField"), STR("Next"), -1); val != -1) Unreal::UField::MemberOffsets.emplace(STR("Next"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FEnumProperty"), STR("Enum"), -1); val != -1)
Unreal::FEnumProperty::MemberOffsets.emplace(STR("Enum"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FEnumProperty"), STR("UnderlyingProp"), -1); val != -1)
Expand All @@ -112,8 +110,7 @@ if (auto val = parser.get_int64(STR("UStruct"), STR("PropertyLink"), -1); val !=
Unreal::UStruct::MemberOffsets.emplace(STR("PropertyLink"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UStruct"), STR("RefLink"), -1); val != -1)
Unreal::UStruct::MemberOffsets.emplace(STR("RefLink"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UStruct"), STR("Script"), -1); val != -1)
Unreal::UStruct::MemberOffsets.emplace(STR("Script"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UStruct"), STR("Script"), -1); val != -1) Unreal::UStruct::MemberOffsets.emplace(STR("Script"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UStruct"), STR("ScriptAndPropertyObjectReferences"), -1); val != -1)
Unreal::UStruct::MemberOffsets.emplace(STR("ScriptAndPropertyObjectReferences"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UStruct"), STR("ScriptObjectReferences"), -1); val != -1)
Expand Down Expand Up @@ -354,8 +351,7 @@ if (auto val = parser.get_int64(STR("AActor"), STR("LastNetUpdateTime"), -1); va
Unreal::AActor::MemberOffsets.emplace(STR("LastNetUpdateTime"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("LastRenderTime"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("LastRenderTime"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("Layers"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("Layers"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("Layers"), -1); val != -1) Unreal::AActor::MemberOffsets.emplace(STR("Layers"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("MinNetUpdateFrequency"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("MinNetUpdateFrequency"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("NetCullDistanceSquared"), -1); val != -1)
Expand All @@ -366,8 +362,7 @@ if (auto val = parser.get_int64(STR("AActor"), STR("NetDriverName"), -1); val !=
Unreal::AActor::MemberOffsets.emplace(STR("NetDriverName"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("NetPriority"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("NetPriority"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("NetTag"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("NetTag"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("NetTag"), -1); val != -1) Unreal::AActor::MemberOffsets.emplace(STR("NetTag"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("NetUpdateFrequency"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("NetUpdateFrequency"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("NetUpdateTime"), -1); val != -1)
Expand Down Expand Up @@ -418,14 +413,12 @@ if (auto val = parser.get_int64(STR("AActor"), STR("ReplicatedMovement"), -1); v
Unreal::AActor::MemberOffsets.emplace(STR("ReplicatedMovement"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("ReplicatedSubObjects"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("ReplicatedSubObjects"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("Role"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("Role"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("Role"), -1); val != -1) Unreal::AActor::MemberOffsets.emplace(STR("Role"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("RootComponent"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("RootComponent"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("SpawnCollisionHandlingMethod"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("SpawnCollisionHandlingMethod"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("Tags"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("Tags"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("Tags"), -1); val != -1) Unreal::AActor::MemberOffsets.emplace(STR("Tags"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("TimerHandle_LifeSpanExpired"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("TimerHandle_LifeSpanExpired"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("UpdateOverlapsMethodDuringLevelStreaming"), -1); val != -1)
Expand Down Expand Up @@ -482,8 +475,7 @@ if (auto val = parser.get_int64(STR("AActor"), STR("bHasFinishedSpawning"), -1);
Unreal::AActor::MemberOffsets.emplace(STR("bHasFinishedSpawning"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("bHasRegisteredAllComponents"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("bHasRegisteredAllComponents"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("bHidden"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("bHidden"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("bHidden"), -1); val != -1) Unreal::AActor::MemberOffsets.emplace(STR("bHidden"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("bIgnoresOriginShifting"), -1); val != -1)
Unreal::AActor::MemberOffsets.emplace(STR("bIgnoresOriginShifting"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("AActor"), STR("bIsEditorOnlyActor"), -1); val != -1)
Expand Down Expand Up @@ -640,10 +632,8 @@ if (auto val = parser.get_int64(STR("FField"), STR("FlagsPrivate"), -1); val !=
Unreal::FField::MemberOffsets.emplace(STR("FlagsPrivate"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FField"), STR("NamePrivate"), -1); val != -1)
Unreal::FField::MemberOffsets.emplace(STR("NamePrivate"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FField"), STR("Next"), -1); val != -1)
Unreal::FField::MemberOffsets.emplace(STR("Next"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FField"), STR("Owner"), -1); val != -1)
Unreal::FField::MemberOffsets.emplace(STR("Owner"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FField"), STR("Next"), -1); val != -1) Unreal::FField::MemberOffsets.emplace(STR("Next"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FField"), STR("Owner"), -1); val != -1) Unreal::FField::MemberOffsets.emplace(STR("Owner"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FClassProperty"), STR("MetaClass"), -1); val != -1)
Unreal::FClassProperty::MemberOffsets.emplace(STR("MetaClass"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FBoolProperty"), STR("ByteMask"), -1); val != -1)
Expand Down Expand Up @@ -702,8 +692,7 @@ if (auto val = parser.get_int64(STR("UWorld"), STR("LevelSequenceActors"), -1);
Unreal::UWorld::MemberOffsets.emplace(STR("LevelSequenceActors"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("NextSwitchCountdown"), -1); val != -1)
Unreal::UWorld::MemberOffsets.emplace(STR("NextSwitchCountdown"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("NextURL"), -1); val != -1)
Unreal::UWorld::MemberOffsets.emplace(STR("NextURL"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("NextURL"), -1); val != -1) Unreal::UWorld::MemberOffsets.emplace(STR("NextURL"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("NumInvalidReflectionCaptureComponents"), -1); val != -1)
Unreal::UWorld::MemberOffsets.emplace(STR("NumInvalidReflectionCaptureComponents"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("NumLightingUnbuiltObjects"), -1); val != -1)
Expand Down Expand Up @@ -780,8 +769,7 @@ if (auto val = parser.get_int64(STR("UWorld"), STR("bHack_Force_UsesGameHiddenFl
Unreal::UWorld::MemberOffsets.emplace(STR("bHack_Force_UsesGameHiddenFlags_True"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("bHasEverBeenInitialized"), -1); val != -1)
Unreal::UWorld::MemberOffsets.emplace(STR("bHasEverBeenInitialized"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("bInTick"), -1); val != -1)
Unreal::UWorld::MemberOffsets.emplace(STR("bInTick"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("bInTick"), -1); val != -1) Unreal::UWorld::MemberOffsets.emplace(STR("bInTick"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("bInitializedAndNeedsCleanup"), -1); val != -1)
Unreal::UWorld::MemberOffsets.emplace(STR("bInitializedAndNeedsCleanup"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UWorld"), STR("bIsBuilt"), -1); val != -1)
Expand Down Expand Up @@ -878,22 +866,18 @@ if (auto val = parser.get_int64(STR("UClass"), STR("SparseClassDataStruct"), -1)
Unreal::UClass::MemberOffsets.emplace(STR("SparseClassDataStruct"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UClass"), STR("UberGraphFramePointerProperty"), -1); val != -1)
Unreal::UClass::MemberOffsets.emplace(STR("UberGraphFramePointerProperty"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UClass"), STR("bCooked"), -1); val != -1)
Unreal::UClass::MemberOffsets.emplace(STR("bCooked"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UClass"), STR("bCooked"), -1); val != -1) Unreal::UClass::MemberOffsets.emplace(STR("bCooked"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UClass"), STR("bLayoutChanging"), -1); val != -1)
Unreal::UClass::MemberOffsets.emplace(STR("bLayoutChanging"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("CppForm"), -1); val != -1)
Unreal::UEnum::MemberOffsets.emplace(STR("CppForm"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("CppType"), -1); val != -1)
Unreal::UEnum::MemberOffsets.emplace(STR("CppType"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("CppForm"), -1); val != -1) Unreal::UEnum::MemberOffsets.emplace(STR("CppForm"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("CppType"), -1); val != -1) Unreal::UEnum::MemberOffsets.emplace(STR("CppType"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("EnumDisplayNameFn"), -1); val != -1)
Unreal::UEnum::MemberOffsets.emplace(STR("EnumDisplayNameFn"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("EnumFlags_Internal"), -1); val != -1)
Unreal::UEnum::MemberOffsets.emplace(STR("EnumFlags_Internal"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("EnumPackage"), -1); val != -1)
Unreal::UEnum::MemberOffsets.emplace(STR("EnumPackage"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("Names"), -1); val != -1)
Unreal::UEnum::MemberOffsets.emplace(STR("Names"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("UEnum"), STR("Names"), -1); val != -1) Unreal::UEnum::MemberOffsets.emplace(STR("Names"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FMapProperty"), STR("KeyProp"), -1); val != -1)
Unreal::FMapProperty::MemberOffsets.emplace(STR("KeyProp"), static_cast<int32_t>(val));
if (auto val = parser.get_int64(STR("FMapProperty"), STR("ValueProp"), -1); val != -1)
Expand Down
1 change: 0 additions & 1 deletion UE4SS/include/Common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@
#define RC_UE4SS_API __declspec(dllexport)
#endif
#endif

8 changes: 3 additions & 5 deletions UE4SS/include/ExceptionHandling.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

#include <stdexcept>

#include <Helpers/String.hpp>
#include <DynamicOutput/DynamicOutput.hpp>
#include <Helpers/String.hpp>

namespace RC
{
// Will try some code and properly propagate any exceptions
// This is a simple helper function to avoid having 15 extra lines of code everywhere
template<typename CodeToTry>
template <typename CodeToTry>
auto constexpr TRY(CodeToTry code_to_try)
{
try
Expand All @@ -34,6 +34,4 @@ namespace RC
}
}
}
}


} // namespace RC
2 changes: 0 additions & 2 deletions UE4SS/include/GUI/BPMods.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ namespace RC::GUI::BPMods
{
auto render() -> void;
}


20 changes: 9 additions & 11 deletions UE4SS/include/GUI/Console.hpp
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
#pragma once

#include <vector>
#include <string>
#include <mutex>
#include <string>
#include <vector>

#include <DynamicOutput/OutputDevice.hpp>
#include <imgui.h>
#include <TextEditor.h>
#include <imgui.h>

using namespace RC;

namespace RC::GUI
{
class Console
{
private:
private:
char m_input_buffer[256]{};
std::vector<std::string> m_lines{};
ImGuiTextFilter m_filter{};
float m_previous_max_scroll_y{};
float m_current_console_output_width{};
std::mutex m_lines_mutex{};
TextEditor m_text_editor{};
TextEditor::Breakpoints m_breakpoints{};
TextEditor::Breakpoints m_breakpoints{};
const size_t m_maximum_num_lines{50000};

public:
public:
Console()
{
m_text_editor.SetConsoleMode(true);
Expand All @@ -36,16 +36,14 @@ namespace RC::GUI
m_text_editor.SetTextFilter(&m_filter);
}

private:
private:
auto GetLanguageDefinitionNone() -> const TextEditor::LanguageDefinition&;
auto GetPalette() const -> const TextEditor::Palette&;

public:
public:
auto render() -> void;
auto render_search_box() -> void;
auto add_line(const std::string&, Color::Color) -> void;
auto add_line(const std::wstring&, Color::Color) -> void;
};
}


} // namespace RC::GUI
11 changes: 4 additions & 7 deletions UE4SS/include/GUI/ConsoleOutputDevice.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
#endif

#include <DynamicOutput/Common.hpp>
#include <DynamicOutput/OutputDevice.hpp>
#include <DynamicOutput/Macros.hpp>
#include <DynamicOutput/OutputDevice.hpp>

namespace RC::Output
{
// Very simple class that outputs to stdout
class ConsoleDevice : public OutputDevice
{
public:
public:
#if ENABLE_OUTPUT_DEVICE_DEBUG_MODE
ConsoleDevice()
{
Expand All @@ -28,12 +28,9 @@ namespace RC::Output
~ConsoleDevice() override = default;
#endif

public:
public:
auto has_optional_arg() const -> bool override;
auto receive(File::StringViewType fmt) const -> void override;
auto receive_with_optional_arg(File::StringViewType fmt, int32_t optional_arg = 0) const -> void override;
};
}



} // namespace RC::Output
8 changes: 3 additions & 5 deletions UE4SS/include/GUI/DX11.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ namespace RC::GUI
{
class Backend_DX11 : public GfxBackendBase
{
public:
public:
~Backend_DX11() = default;

public:
public:
auto init() -> void override;
auto imgui_backend_newframe() -> void override;
auto render(const float clear_color_with_alpha[4]) -> void override;
Expand All @@ -20,6 +20,4 @@ namespace RC::GUI
auto handle_window_resize(int64_t param_1, int64_t param_2) -> void override;
auto on_os_backend_set() -> void override;
};
}


} // namespace RC::GUI
Loading

0 comments on commit c3eaefb

Please sign in to comment.