Switch to VRExpansionPlugin Example 2

This commit is contained in:
Simeon "Waldo" Wallrath 2023-11-03 13:45:36 +01:00
parent 3e6ff514ff
commit 6c02da9299
837 changed files with 78100 additions and 0 deletions

View file

@ -0,0 +1,61 @@
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class VRExpPluginExampleTarget : TargetRules
{
public VRExpPluginExampleTarget(TargetInfo Target) : base(Target)
{
DefaultBuildSettings = BuildSettingsVersion.V2;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
//bUseLoggingInShipping = true;
Type = TargetType.Game;
ExtraModuleNames.AddRange(new string[] { "VRExpPluginExample" });
//bUsePCHFiles = false;
//bUseUnityBuild = false;
/*
* This is our Steam App ID.
* # Define in both server and client targets
*/
ProjectDefinitions.Add("UE_PROJECT_STEAMSHIPPINGID=480");
/*
* This is used on SetProduct(), and should be the same as your Product Name
* under Dedicated Game Server Information in Steamworks
* # Define in the Server target
*/
//ProjectDefinitions.Add("UE_PROJECT_STEAMPRODUCTNAME=\"MyGame\"");
/*
* This is used on SetModDir(), and should be the same as your Product Name
* under Dedicated Game Server Information in Steamworks
* # Define in the client target
*/
//ProjectDefinitions.Add("UE_PROJECT_STEAMGAMEDIR=\"MyGame\"");
/*
* This is what shows up under the game filter in Steam server browsers.
* # Define in both server and client targets
*/
//ProjectDefinitions.Add("UE_PROJECT_STEAMGAMEDESC=\"My Game\"");
}
//
// TargetRules interface.
//
/*public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
ref List<string> OutExtraModuleNames
)
{
OutExtraModuleNames.AddRange( new string[] { "VRExpPluginExample" } );
}*/
}

View file

@ -0,0 +1,12 @@
// Fill out your copyright notice in the Description page of Project Settings.
//#include "VRExpPluginExample.h"
#include "EmptyClassForProject.h"
EmptyClassForProject::EmptyClassForProject()
{
}
EmptyClassForProject::~EmptyClassForProject()
{
}

View file

@ -0,0 +1,27 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "VRCharacter.h"
#include "GripMotionControllerComponent.h"
#include "VRBPDatatypes.h"
#include "VRGripInterface.h"
#include "VRPlayerController.h"
#include "VRExpansionFunctionLibrary.h"
#include "Grippables/GrippableBoxComponent.h"
#include "VRStereoWidgetComponent.h"
#include "VRCharacterMovementComponent.h"
#include "Misc/VRLogComponent.h"
#include "VRAIController.h"
#include "VRPathFollowingComponent.h"
#include "VRRootComponent.h"
/**
*
*/
class VREXPPLUGINEXAMPLE_API EmptyClassForProject
{
public:
EmptyClassForProject();
~EmptyClassForProject();
};

View file

@ -0,0 +1,24 @@
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
public class VRExpPluginExample : ModuleRules
{
public VRExpPluginExample(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
// PrivatePCHHeaderFile = "Private/WindowsMixedRealityPrecompiled.h";
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "AdvancedSessions", "VRExpansionPlugin" });
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
}
}

View file

@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "VRExpPluginExample.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, VRExpPluginExample, "VRExpPluginExample" );

View file

@ -0,0 +1,6 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Engine.h"

View file

@ -0,0 +1,31 @@
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class VRExpPluginExampleEditorTarget : TargetRules
{
public VRExpPluginExampleEditorTarget(TargetInfo Target) : base(Target)
{
DefaultBuildSettings = BuildSettingsVersion.V2;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
Type = TargetType.Editor;
ExtraModuleNames.AddRange(new string[] { "VRExpPluginExample" });
//bUseUnityBuild = false;
//bUsePCHFiles = false;
}
//
// TargetRules interface.
//
/* public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
ref List<string> OutExtraModuleNames
)
{
OutExtraModuleNames.AddRange( new string[] { "VRExpPluginExample" } );
}*/
}