Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Source/GMCAbilitySystem/Public/Components/GMCAbilityComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<TPair<FGameplayTagContainer, FGameplayTagFilteredMulticastDelegate>> FilteredTagDelegates;
Expand Down Expand Up @@ -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<int, UGMCAbility*> ActiveAbilities;

Expand Down