Skip to content

Commit

Permalink
Fix: Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Nov 19, 2023
1 parent f2b7ee2 commit b52d805
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 12 deletions.
9 changes: 8 additions & 1 deletion samples/SampleProject/Source/SampleProject.Target.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright Epic Games, Inc. All Rights Reserved.
/*!
* Kdtree
*
* Copyright (c) 2019-2023 Colory Games
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/

using UnrealBuildTool;
using System.Collections.Generic;
Expand Down
18 changes: 13 additions & 5 deletions samples/SampleProject/Source/SampleProject/SampleProject.Build.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright Epic Games, Inc. All Rights Reserved.
/*!
* Kdtree
*
* Copyright (c) 2019-2023 Colory Games
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/

using UnrealBuildTool;

Expand All @@ -8,16 +15,17 @@ public SampleProject(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
PublicDependencyModuleNames.AddRange(new string[]{"Core", "CoreUObject", "Engine", "InputCore"});

PrivateDependencyModuleNames.AddRange(new string[] { });
PrivateDependencyModuleNames.AddRange(new string[]{});

// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });

// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");

// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to
// true
}
}
12 changes: 10 additions & 2 deletions samples/SampleProject/Source/SampleProject/SampleProject.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// Copyright Epic Games, Inc. All Rights Reserved.
/*!
* Kdtree
*
* Copyright (c) 2019-2023 Colory Games
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/

#include "SampleProject.h"

#include "Modules/ModuleManager.h"

IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, SampleProject, "SampleProject" );
IMPLEMENT_PRIMARY_GAME_MODULE(FDefaultGameModuleImpl, SampleProject, "SampleProject");
10 changes: 8 additions & 2 deletions samples/SampleProject/Source/SampleProject/SampleProject.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
// Copyright Epic Games, Inc. All Rights Reserved.
/*!
* Kdtree
*
* Copyright (c) 2019-2023 Colory Games
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/

#pragma once

#include "CoreMinimal.h"

11 changes: 9 additions & 2 deletions samples/SampleProject/Source/SampleProjectEditor.Target.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
// Copyright Epic Games, Inc. All Rights Reserved.
/*!
* Kdtree
*
* Copyright (c) 2019-2023 Colory Games
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/

using UnrealBuildTool;
using System.Collections.Generic;

public class SampleProjectEditorTarget : TargetRules
{
public SampleProjectEditorTarget( TargetInfo Target) : base(Target)
public SampleProjectEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersion.V4;
Expand Down

0 comments on commit b52d805

Please sign in to comment.