2022-04-28 13:30:18 +00:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
#include "Animation/AnimInstance.h"
|
2022-05-04 09:28:00 +00:00
|
|
|
#include "Blaster/Types/TurningInPlace.h"
|
2022-04-28 13:30:18 +00:00
|
|
|
#include "BlasterAnimInstance.generated.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
UCLASS()
|
|
|
|
class BLASTER_API UBlasterAnimInstance : public UAnimInstance
|
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
virtual void NativeInitializeAnimation() override;
|
|
|
|
virtual void NativeUpdateAnimation(float DeltaSeconds) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Character", meta=(AllowPrivateAccess = "true"))
|
|
|
|
class ABlasterCharacter* BlasterCharacter;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
float Speed;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bIsInAir;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bIsAccelerating;
|
2022-04-30 14:48:34 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bWeaponEquipped;
|
2022-05-09 15:16:41 +00:00
|
|
|
|
|
|
|
UPROPERTY()
|
2022-05-03 22:43:10 +00:00
|
|
|
class AWeapon* EquippedWeapon;
|
|
|
|
|
2022-04-30 15:10:07 +00:00
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bIsCrouched;
|
2022-04-30 15:38:03 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bAiming;
|
2022-05-02 13:40:33 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
float YawOffset;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
float Lean;
|
2022-05-03 21:14:04 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
float AO_Yaw;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
float AO_Pitch;
|
2022-05-02 13:40:33 +00:00
|
|
|
|
|
|
|
FRotator CharacterRotationLastFrame;
|
|
|
|
FRotator CharacterRotation;
|
|
|
|
FRotator DeltaRotation;
|
2022-05-03 22:43:10 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
FTransform LeftHandTransform;
|
2022-05-04 09:28:00 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
ETurningInPlace TurningInPlace;
|
2022-05-05 18:14:17 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
FRotator RightHandRotation;
|
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bLocallyControlled;
|
2022-05-06 10:43:18 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bRotateRootBone;
|
2022-05-07 17:10:32 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bEliminated;
|
2022-05-09 21:16:55 +00:00
|
|
|
|
|
|
|
UPROPERTY(BlueprintReadOnly, Category="Movement", meta=(AllowPrivateAccess = "true"))
|
|
|
|
bool bUseFABRIK;
|
2022-04-28 13:30:18 +00:00
|
|
|
};
|