OLS/Source/OLSAnimation/Public/Interfaces/OLSMoveableInterface.h

36 lines
1.0 KiB
C
Raw Normal View History

2024-09-22 21:11:19 +00:00
// © 2024 Long Ly. All rights reserved. Any unauthorized use, reproduction, or distribution of this trademark is strictly prohibited and may result in legal action.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "OLSMoveableInterface.generated.h"
// This class does not need to be modified.
UINTERFACE()
class UOLSMoveableInterface : public UInterface
{
GENERATED_BODY()
};
/**
*
*/
class OLSANIMATION_API IOLSMoveableInterface
{
GENERATED_BODY()
// Add interface functions to this class. This is the class that will be inherited to implement this interface.
public:
virtual class UPawnMovementComponent* GetMovementComponent() const = 0;
virtual class UOLSLocomotionComponent* GetLocomotionComponent() const = 0;
virtual float GetMaxAcceleration() const = 0;
virtual FVector GetCurrentAcceleration() const = 0;
virtual EMovementMode GetMovementMode() const = 0;
virtual void SetMaxWalkSpeed(const float newMaxWalkSpeed) = 0;
2024-10-23 22:41:23 +00:00
virtual bool IsOrientRotationToMovement() const = 0;
2024-09-22 21:11:19 +00:00
};