Skip to content

Commit

Permalink
Enforce coding style on function params
Browse files Browse the repository at this point in the history
  • Loading branch information
dyanikoglu committed Feb 17, 2021
1 parent 230aad8 commit a53833e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Source/ALSV4_CPP/Private/Character/ALSBaseCharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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);
}
}

Expand Down
4 changes: 2 additions & 2 deletions Source/ALSV4_CPP/Public/Character/ALSBaseCharacter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a53833e

Please sign in to comment.