Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 17 additions & 38 deletions Binaries/Win64/SREditor.target
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@
"Path": "$(EngineDir)/Binaries/Win64/AgentInterface.pdb",
"Type": "SymbolFile"
},
{
"Path": "$(EngineDir)/Binaries/Win64/EOSSDK-Win64-Shipping.dll",
"Type": "DynamicLibrary"
},
{
"Path": "$(EngineDir)/Binaries/Win64/OpenColorIO_2_3.dll",
"Type": "DynamicLibrary"
Expand Down Expand Up @@ -5097,18 +5093,6 @@
"Path": "$(EngineDir)/Plugins/FX/Niagara/Binaries/Win64/UnrealEditor.modules",
"Type": "RequiredResource"
},
{
"Path": "$(EngineDir)/Plugins/Fab/Binaries/Win64/UnrealEditor-Fab.dll",
"Type": "DynamicLibrary"
},
{
"Path": "$(EngineDir)/Plugins/Fab/Binaries/Win64/UnrealEditor-Fab.pdb",
"Type": "SymbolFile"
},
{
"Path": "$(EngineDir)/Plugins/Fab/Binaries/Win64/UnrealEditor.modules",
"Type": "RequiredResource"
},
{
"Path": "$(EngineDir)/Plugins/FastBuildController/Binaries/Win64/UnrealEditor-FastBuildController.dll",
"Type": "DynamicLibrary"
Expand Down Expand Up @@ -5645,14 +5629,6 @@
"Path": "$(EngineDir)/Plugins/MovieScene/TemplateSequence/Binaries/Win64/UnrealEditor.modules",
"Type": "RequiredResource"
},
{
"Path": "$(EngineDir)/Plugins/Online/EOSShared/Binaries/Win64/UnrealEditor-EOSShared.dll",
"Type": "DynamicLibrary"
},
{
"Path": "$(EngineDir)/Plugins/Online/EOSShared/Binaries/Win64/UnrealEditor.modules",
"Type": "RequiredResource"
},
{
"Path": "$(EngineDir)/Plugins/Online/OnlineBase/Binaries/Win64/UnrealEditor-OnlineBase.dll",
"Type": "DynamicLibrary"
Expand Down Expand Up @@ -6429,6 +6405,18 @@
"Path": "$(EngineDir)/Plugins/Runtime/Windows/XInputDevice/Binaries/Win64/UnrealEditor.modules",
"Type": "RequiredResource"
},
{
"Path": "$(EngineDir)/Plugins/Tests/FunctionalTestingEditor/Binaries/Win64/UnrealEditor-FunctionalTestingEditor.dll",
"Type": "DynamicLibrary"
},
{
"Path": "$(EngineDir)/Plugins/Tests/FunctionalTestingEditor/Binaries/Win64/UnrealEditor-FunctionalTestingEditor.pdb",
"Type": "SymbolFile"
},
{
"Path": "$(EngineDir)/Plugins/Tests/FunctionalTestingEditor/Binaries/Win64/UnrealEditor.modules",
"Type": "RequiredResource"
},
{
"Path": "$(EngineDir)/Plugins/Tests/InterchangeTests/Binaries/Win64/UnrealEditor-InterchangeTestEditor.dll",
"Type": "DynamicLibrary"
Expand Down Expand Up @@ -26063,10 +26051,6 @@
"Path": "$(EngineDir)/Binaries/Win64/AgentInterface.pdb",
"Type": "DebugNonUFS"
},
{
"Path": "$(EngineDir)/Binaries/Win64/EOSSDK-Win64-Shipping.dll",
"Type": "NonUFS"
},
{
"Path": "$(EngineDir)/Binaries/Win64/EpicWebHelper.exe",
"Type": "NonUFS"
Expand Down Expand Up @@ -29351,10 +29335,6 @@
"Path": "$(EngineDir)/Plugins/FX/Niagara/Niagara.uplugin",
"Type": "UFS"
},
{
"Path": "$(EngineDir)/Plugins/Fab/Fab.uplugin",
"Type": "UFS"
},
{
"Path": "$(EngineDir)/Plugins/FastBuildController/FastBuildController.uplugin",
"Type": "UFS"
Expand Down Expand Up @@ -29439,10 +29419,6 @@
"Path": "$(EngineDir)/Plugins/Online/Android/OnlineSubsystemGooglePlay/OnlineSubsystemGooglePlay.uplugin",
"Type": "UFS"
},
{
"Path": "$(EngineDir)/Plugins/Online/EOSShared/EOSShared.uplugin",
"Type": "UFS"
},
{
"Path": "$(EngineDir)/Plugins/Online/IOS/OnlineSubsystemIOS/OnlineSubsystemIOS.uplugin",
"Type": "UFS"
Expand Down Expand Up @@ -29615,6 +29591,10 @@
"Path": "$(EngineDir)/Plugins/Runtime/Windows/XInputDevice/XInputDevice.uplugin",
"Type": "UFS"
},
{
"Path": "$(EngineDir)/Plugins/Tests/FunctionalTestingEditor/FunctionalTestingEditor.uplugin",
"Type": "UFS"
},
{
"Path": "$(EngineDir)/Plugins/Tests/InterchangeTests/InterchangeTests.uplugin",
"Type": "UFS"
Expand Down Expand Up @@ -29693,7 +29673,6 @@
"Dataflow",
"DatasmithContent",
"DumpGPUServices",
"EOSShared",
"EditorDebugTools",
"EditorScriptingUtilities",
"EngineAssetDefinitions",
Expand All @@ -29702,11 +29681,11 @@
"ExampleDeviceProfileSelector",
"FMODStudio",
"FMODStudioNiagara",
"Fab",
"FacialAnimation",
"FastBuildController",
"Fracture",
"FullBodyIK",
"FunctionalTestingEditor",
"GLTFExporter",
"GameplayCameras",
"GameplayTagsEditor",
Expand Down
Binary file modified Binaries/Win64/UnrealEditor-SR.patch_0.exp
Binary file not shown.
Binary file modified Binaries/Win64/UnrealEditor-SR.patch_1.exp
Binary file not shown.
Binary file modified Binaries/Win64/UnrealEditor-SR.patch_2.exp
Binary file not shown.
Binary file added Binaries/Win64/UnrealEditor-SR.patch_3.exp
Binary file not shown.
Binary file added Binaries/Win64/UnrealEditor-SR.patch_4.exp
Binary file not shown.
Binary file added Binaries/Win64/UnrealEditor-SR.patch_5.exp
Binary file not shown.
Binary file modified Content/Characters/BP_SR_Character.uasset
Binary file not shown.
Binary file added Content/TestTools/BP_DashFunctionalTest.uasset
Binary file not shown.
Binary file added Content/TestTools/TestLevel.umap
Binary file not shown.
4 changes: 4 additions & 0 deletions SR.uproject
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
{
"Name": "NiagaraFluids",
"Enabled": true
},
{
"Name": "FunctionalTestingEditor",
"Enabled": true
}
]
}
15 changes: 15 additions & 0 deletions Source/SR/Character/Components/Dash/SR_DashComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,18 @@ int32 USR_DashComponent::GetStatePriority() const
}

bool USR_DashComponent::IsStateActive() const { return bIsStateActive; }


// Test configuration methods
void USR_DashComponent::SetTestConfiguration(float GroundSpeed, float AirSpeed, float GroundCooldown, float AirCooldown)
{
DashSpeedOnGround = GroundSpeed;
DashSpeedInAir = AirSpeed;
DashCooldownOnGround = GroundCooldown;
DashCooldownInAir = AirCooldown;
}

void USR_DashComponent::ResetAllCooldownsForTesting()
{
ResetAllCooldowns();
}
26 changes: 26 additions & 0 deletions Source/SR/Character/Components/Dash/SR_DashComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,32 @@ class SR_API USR_DashComponent : public UActorComponent, public ISR_State

void ResetAllCooldowns();

public:
// Méthodes pour la configuration de test
UFUNCTION(BlueprintCallable, Category = "Testing")
void SetTestConfiguration(float GroundSpeed, float AirSpeed, float GroundCooldown, float AirCooldown);

UFUNCTION(BlueprintPure, Category = "Testing")
float GetDashSpeedOnGround() const { return DashSpeedOnGround; }

UFUNCTION(BlueprintPure, Category = "Testing")
float GetDashSpeedInAir() const { return DashSpeedInAir; }

UFUNCTION(BlueprintPure, Category = "Testing")
float GetDashCooldownOnGround() const { return DashCooldownOnGround; }

UFUNCTION(BlueprintPure, Category = "Testing")
float GetDashCooldownInAir() const { return DashCooldownInAir; }

UFUNCTION(BlueprintPure, Category = "Testing")
bool CanDashOnGround() const { return bCanDashOnGround; }

UFUNCTION(BlueprintPure, Category = "Testing")
bool CanDashInAir() const { return bCanDashInAir; }

UFUNCTION(BlueprintCallable, Category = "Testing")
void ResetAllCooldownsForTesting();

public:
virtual void EnterState(void *Data) override;

Expand Down
2 changes: 1 addition & 1 deletion Source/SR/SR.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public SR(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

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

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