Added FortAnimNotifyStates

This commit is contained in:
0xZylox
2022-06-11 17:42:54 +02:00
parent b36813dc6e
commit ff2e903630
4 changed files with 109 additions and 1 deletions
@@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "FortAnimNotifyState.h"
@@ -0,0 +1,103 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Animation/AnimNotifies/AnimNotifyState.h"
#include "Sound/SoundNode.h"
#include "FortAnimNotifyState.generated.h"
/**
*
*/
UCLASS(BlueprintType)
class UFortAnimNotifyState_EmoteSound : public UAnimNotifyState
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere)
USoundBase* EmoteSound1P;
UPROPERTY(EditAnywhere)
USoundBase* EmoteSound3P;
UPROPERTY(EditAnywhere)
bool bPrimarySound;
UPROPERTY(EditAnywhere)
FName SoundName;
UPROPERTY(EditAnywhere)
float FadeOutTime;
UPROPERTY(EditAnywhere)
bool CopyrightedAudio;
UPROPERTY(EditAnywhere)
bool bStopAudioOnNotifyEnd;
};
UENUM()
enum class EFortHandIKOverrideType : uint8
{
ForceFK = 1,
ForceIK = 2,
ForceFKSnap = 3,
EFortHandIKOverrideType_MAX = 4
};
UENUM()
enum class EFortPlayerAnimBodyType : uint8
{
Medium = 1,
Large = 2,
All = 3,
EFortPlayerAnimBodyType_MAX = 4
};
USTRUCT(BlueprintType)
struct FEmoteRetargetingNotifyParameters
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere)
EFortPlayerAnimBodyType BodyTypeToAffect;
UPROPERTY(EditAnywhere)
EFortHandIKOverrideType LeftHandIK;
UPROPERTY(EditAnywhere)
EFortHandIKOverrideType RightHandIK;
};
UCLASS(BlueprintType)
class UFortAnimNotifyState_EmoteRetargeting : public UAnimNotifyState
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere)
TArray<FEmoteRetargetingNotifyParameters> EmoteParameters;
};
UCLASS(BlueprintType)
class UFortSoundNodeLicensedContentSwitcher : public USoundNode
{
GENERATED_BODY()
public:
};