From a53833e6e8ea862ce1150d56858af7fe5189552e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fa=20Can=20Yan=C4=B1ko=C4=9Flu?= Date: Thu, 18 Feb 2021 01:07:27 +0300 Subject: [PATCH] Enforce coding style on function params --- .../Private/Character/ALSBaseCharacter.cpp | 14 +++++++------- .../ALSV4_CPP/Public/Character/ALSBaseCharacter.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/ALSV4_CPP/Private/Character/ALSBaseCharacter.cpp b/Source/ALSV4_CPP/Private/Character/ALSBaseCharacter.cpp index 2243111f..0e7836fe 100644 --- a/Source/ALSV4_CPP/Private/Character/ALSBaseCharacter.cpp +++ b/Source/ALSV4_CPP/Private/Character/ALSBaseCharacter.cpp @@ -84,11 +84,11 @@ void AALSBaseCharacter::OnBreakfall_Implementation() Replicated_PlayMontage(GetRollAnimation(), 1.35); } -void AALSBaseCharacter::Replicated_PlayMontage_Implementation(UAnimMontage* montage, float track) +void AALSBaseCharacter::Replicated_PlayMontage_Implementation(UAnimMontage* Montage, float Track) { // Roll: Simply play a Root Motion Montage. - MainAnimInstance->Montage_Play(montage, track); - Server_PlayMontage(montage, track); + MainAnimInstance->Montage_Play(Montage, Track); + Server_PlayMontage(Montage, Track); } void AALSBaseCharacter::BeginPlay() @@ -463,17 +463,17 @@ void AALSBaseCharacter::EventOnJumped() MainAnimInstance->OnJumped(); } -void AALSBaseCharacter::Server_PlayMontage_Implementation(UAnimMontage* montage, float track) +void AALSBaseCharacter::Server_PlayMontage_Implementation(UAnimMontage* Montage, float Track) { - Multicast_PlayMontage(montage, track); + Multicast_PlayMontage(Montage, Track); } -void AALSBaseCharacter::Multicast_PlayMontage_Implementation(UAnimMontage* montage, float track) +void AALSBaseCharacter::Multicast_PlayMontage_Implementation(UAnimMontage* Montage, float Track) { if (!IsLocallyControlled()) { // Roll: Simply play a Root Motion Montage. - MainAnimInstance->Montage_Play(montage, track); + MainAnimInstance->Montage_Play(Montage, Track); } } diff --git a/Source/ALSV4_CPP/Public/Character/ALSBaseCharacter.h b/Source/ALSV4_CPP/Public/Character/ALSBaseCharacter.h index 0a292f29..3f975ebb 100644 --- a/Source/ALSV4_CPP/Public/Character/ALSBaseCharacter.h +++ b/Source/ALSV4_CPP/Public/Character/ALSBaseCharacter.h @@ -150,10 +150,10 @@ class ALSV4_CPP_API AALSBaseCharacter : public ACharacter /** Rolling Montage Play Replication*/ UFUNCTION(BlueprintCallable, Server, Reliable, Category = "ALS|Character States") - void Server_PlayMontage(UAnimMontage* montage, float track); + void Server_PlayMontage(UAnimMontage* Montage, float Track); UFUNCTION(BlueprintCallable, NetMulticast, Reliable, Category = "ALS|Character States") - void Multicast_PlayMontage(UAnimMontage* montage, float track); + void Multicast_PlayMontage(UAnimMontage* Montage, float Track); /** Ragdolling*/ UFUNCTION(BlueprintCallable, Category = "ALS|Character States")