From eb735db17a40e04929e9d5b75531173cacc9d64a Mon Sep 17 00:00:00 2001 From: Kevin Poretti Date: Wed, 28 Jun 2023 20:38:20 -0400 Subject: [PATCH] Curr inputs getter --- Source/UnrealFightingFramework/Input/FFPlayerController.cpp | 2 +- Source/UnrealFightingFramework/Input/FFPlayerController.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/UnrealFightingFramework/Input/FFPlayerController.cpp b/Source/UnrealFightingFramework/Input/FFPlayerController.cpp index 1b4b9a1..1c6a615 100644 --- a/Source/UnrealFightingFramework/Input/FFPlayerController.cpp +++ b/Source/UnrealFightingFramework/Input/FFPlayerController.cpp @@ -24,7 +24,7 @@ void AFFPlayerController::FixedTick(float OneFrame) //UnacknowledgedInputs.Push(CurrInput); InputBuffer->AddInput(CurrInput); - SendInputsToRemote(); + //SendInputsToRemote(); } diff --git a/Source/UnrealFightingFramework/Input/FFPlayerController.h b/Source/UnrealFightingFramework/Input/FFPlayerController.h index 99ba73a..be413ba 100644 --- a/Source/UnrealFightingFramework/Input/FFPlayerController.h +++ b/Source/UnrealFightingFramework/Input/FFPlayerController.h @@ -31,6 +31,8 @@ public: */ virtual void SendInputsToRemote() const; + virtual FFFInputState GetCurrInput() { return CurrInput; }; + // IFFSystemInterface interface virtual void FixedTick(float OneFrame) override; // End of IFFSystemInterface