mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-13 08:02:23 -07:00
various bug fixes
This commit is contained in:
@@ -205,6 +205,9 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Ability)
|
||||
TArray<TSubclassOf<UGameplayEffect>> Effects;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Ability)
|
||||
FGameplayTagContainer InitialTags;
|
||||
|
||||
UPROPERTY(BlueprintAssignable)
|
||||
FCogSampleCharacterEventDelegate OnInitialized;
|
||||
|
||||
@@ -261,7 +264,9 @@ private:
|
||||
|
||||
void InitializeAbilitySystem();
|
||||
|
||||
void ShutdownAbilitySystem();
|
||||
void RegisterToAbilitySystemEvents();
|
||||
|
||||
void UnregisterFromAbilitySystemEvents();
|
||||
|
||||
void OnGameplayEffectAdded(UAbilitySystemComponent* AbilitySystemComponent, const FGameplayEffectSpec& GameplayEffectSpec, FActiveGameplayEffectHandle Handle);
|
||||
|
||||
@@ -275,12 +280,18 @@ private:
|
||||
|
||||
void UpdateActiveAbilitySlots();
|
||||
|
||||
UFUNCTION()
|
||||
void OnRep_Scale();
|
||||
|
||||
UFUNCTION()
|
||||
void OnRep_ActiveAbilityHandles();
|
||||
|
||||
UPROPERTY(ReplicatedUsing=OnRep_ActiveAbilityHandles, Transient)
|
||||
TArray<FGameplayAbilitySpecHandle> ActiveAbilityHandles;
|
||||
|
||||
UPROPERTY(ReplicatedUsing = OnRep_Scale, Transient)
|
||||
float Scale = 1.0f;
|
||||
|
||||
FDelegateHandle GameplayEffectAddedHandle;
|
||||
|
||||
FDelegateHandle GameplayEffectRemovedHandle;
|
||||
|
||||
Reference in New Issue
Block a user