diff --git a/Source/GMCAbilitySystem/Public/Components/GMCAbilityComponent.h b/Source/GMCAbilitySystem/Public/Components/GMCAbilityComponent.h index d7015dc..ec7eed5 100644 --- a/Source/GMCAbilitySystem/Public/Components/GMCAbilityComponent.h +++ b/Source/GMCAbilitySystem/Public/Components/GMCAbilityComponent.h @@ -928,6 +928,12 @@ class GMCABILITYSYSTEM_API UGMC_AbilitySystemComponent : public UGameplayTasksCo // (which overwrites ActionTimer from GMCMovementComponent->GetMoveTimestamp()). void TickActiveEffects(float DeltaTime); + UFUNCTION(BlueprintCallable, DisplayName="Add Impulse (Synced Event)", Category = "GMASSyncedEvent") + void AddImpulse(FVector Impulse, bool bVelChange = false); + + UFUNCTION(BlueprintCallable, DisplayName="Set Actor Location (Synced Event)", Category = "GMASSyncedEvent") + void SetActorLocation(FVector Location); + private: // List of filtered tag delegates to call when tags change. TArray> FilteredTagDelegates; @@ -967,13 +973,7 @@ class GMCABILITYSYSTEM_API UGMC_AbilitySystemComponent : public UGameplayTasksCo // Execute an event that is created by the server where execution is synced between server and client UFUNCTION(BlueprintCallable, Category = "GMASSyncedEvent") void ExecuteSyncedEvent(FGMASSyncedEventContainer EventData); - - UFUNCTION(BlueprintCallable, DisplayName="Add Impulse (Synced Event)", Category = "GMASSyncedEvent") - void AddImpulse(FVector Impulse, bool bVelChange = false); - UFUNCTION(BlueprintCallable, DisplayName="Set Actor Location (Synced Event)", Category = "GMASSyncedEvent") - void SetActorLocation(FVector Location); - UPROPERTY() TMap ActiveAbilities;