Curr inputs getter

This commit is contained in:
Kevin Poretti 2023-06-28 20:38:20 -04:00
parent 2c5569b6d5
commit eb735db17a
2 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void AFFPlayerController::FixedTick(float OneFrame)
//UnacknowledgedInputs.Push(CurrInput); //UnacknowledgedInputs.Push(CurrInput);
InputBuffer->AddInput(CurrInput); InputBuffer->AddInput(CurrInput);
SendInputsToRemote(); //SendInputsToRemote();
} }

View File

@ -31,6 +31,8 @@ public:
*/ */
virtual void SendInputsToRemote() const; virtual void SendInputsToRemote() const;
virtual FFFInputState GetCurrInput() { return CurrInput; };
// IFFSystemInterface interface // IFFSystemInterface interface
virtual void FixedTick(float OneFrame) override; virtual void FixedTick(float OneFrame) override;
// End of IFFSystemInterface // End of IFFSystemInterface