Files
UnrealEngineUWP/Engine/Source/Runtime/SkillSystem/Classes/GameplayEffectStackingExtension_CappedNumberTest.h
Fred Kimberley afe8c6722c Add stacking rules for gameplay effects.
#ue4

 - Added stacking rules and tests.
 - Changed effects with a period to execute on the next tick instead of instantly and updated gameplay effect tests to account for these changes.
 - Changed ticking of active effects to allow effects to execute multiple times in a single tick.
 - Make sure we're cleaning up actors between gameplay effect tests

#codereview Dave.Ratti

[CL 2055992 by Fred Kimberley in Main branch]
2014-04-24 19:35:28 -04:00

18 lines
591 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameplayTagContainer.h"
#include "GameplayTagAssetInterface.h"
#include "AttributeSet.h"
#include "GameplayEffectStackingExtension_CappedNumberTest.generated.h"
UCLASS(BlueprintType)
class SKILLSYSTEM_API UGameplayEffectStackingExtension_CappedNumberTest : public UGameplayEffectStackingExtension
{
GENERATED_UCLASS_BODY()
public:
void CalculateStack(TArray<FActiveGameplayEffect*>& CustomGameplayEffects, FActiveGameplayEffectsContainer& Container, FActiveGameplayEffect& CurrentEffect) OVERRIDE;
};