Skip to content

Commit 75d28e4

Browse files
committed
general basic scripts
1 parent ea97007 commit 75d28e4

11 files changed

+132
-0
lines changed

Source/Archer.Target.cs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
using UnrealBuildTool;
4+
using System.Collections.Generic;
5+
6+
public class ArcherTarget : TargetRules
7+
{
8+
public ArcherTarget(TargetInfo Target) : base(Target)
9+
{
10+
Type = TargetType.Game;
11+
DefaultBuildSettings = BuildSettingsVersion.V2;
12+
ExtraModuleNames.Add("Archer");
13+
}
14+
}

Source/Archer/Archer.Build.cs

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
using UnrealBuildTool;
4+
5+
public class Archer : ModuleRules
6+
{
7+
public Archer(ReadOnlyTargetRules Target) : base(Target)
8+
{
9+
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
10+
11+
PublicDependencyModuleNames.AddRange(new string[]
12+
{
13+
"Core",
14+
"CoreUObject",
15+
"Engine",
16+
"InputCore",
17+
"HeadMountedDisplay",
18+
"AIModule",
19+
"GameplayTasks"
20+
});
21+
}
22+
}

Source/Archer/Archer.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
#include "Archer.h"
4+
#include "Modules/ModuleManager.h"
5+
6+
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Archer, "Archer" );
7+

Source/Archer/Archer.h

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
#pragma once
4+
5+
#include "CoreMinimal.h"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Fill out your copyright notice in the Description page of Project Settings.
2+
3+
4+
#include "ArcherGameInstance.h"
5+
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Fill out your copyright notice in the Description page of Project Settings.
2+
3+
#pragma once
4+
5+
#include "CoreMinimal.h"
6+
#include "Engine/GameInstance.h"
7+
#include "ArcherGameInstance.generated.h"
8+
9+
/**
10+
*
11+
*/
12+
UCLASS()
13+
class ARCHER_API UArcherGameInstance : public UGameInstance
14+
{
15+
GENERATED_BODY()
16+
17+
};
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
#include "ArcherGameMode.h"
4+
5+
AArcherGameMode::AArcherGameMode()
6+
{
7+
}
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
#pragma once
4+
5+
#include "CoreMinimal.h"
6+
#include "GameFramework/GameModeBase.h"
7+
#include "ArcherGameMode.generated.h"
8+
9+
UCLASS(minimalapi)
10+
class AArcherGameMode : public AGameModeBase
11+
{
12+
GENERATED_BODY()
13+
14+
public:
15+
AArcherGameMode();
16+
};
17+
18+
19+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Fill out your copyright notice in the Description page of Project Settings.
2+
3+
4+
#include "ArcherGameStateBase.h"
5+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Fill out your copyright notice in the Description page of Project Settings.
2+
3+
#pragma once
4+
5+
#include "CoreMinimal.h"
6+
#include "GameFramework/GameStateBase.h"
7+
#include "ArcherGameStateBase.generated.h"
8+
9+
/**
10+
*
11+
*/
12+
UCLASS()
13+
class ARCHER_API AArcherGameStateBase : public AGameStateBase
14+
{
15+
GENERATED_BODY()
16+
17+
};

Source/ArcherEditor.Target.cs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
using UnrealBuildTool;
4+
using System.Collections.Generic;
5+
6+
public class ArcherEditorTarget : TargetRules
7+
{
8+
public ArcherEditorTarget(TargetInfo Target) : base(Target)
9+
{
10+
Type = TargetType.Editor;
11+
DefaultBuildSettings = BuildSettingsVersion.V2;
12+
ExtraModuleNames.Add("Archer");
13+
}
14+
}

0 commit comments

Comments
 (0)