예제 #1
0
 /* This only exists so it can be hooked up to a multicast delegate */
 public void RemoveActiveGameplayEffect_NoReturn(FActiveGameplayEffectHandle Handle, int StacksToRemove = -1)
 {
     RemoveActiveGameplayEffect(Handle, StacksToRemove);
 }
예제 #2
0
 public float GetGameplayEffectDuration(FActiveGameplayEffectHandle Handle)
 {
     return(1f);
 }
예제 #3
0
 /* Gets the FActiveGameplayEffect based on the passed in Handle */
 public UGameplayEffect GetGameplayEffectDefForHandle(FActiveGameplayEffectHandle Handle)
 {
     return(null);
 }
예제 #4
0
 /* Removes GameplayEffect by Handle. StacksToRemove=-1 will remove all stacks. */
 public bool RemoveActiveGameplayEffect(FActiveGameplayEffectHandle Handle, int StacksToRemove = -1)
 {
     return(false);
 }
예제 #5
0
 /**
  * Attempts to calculate the contribution of the specified GE to the captured attribute given the specified parameters. Can fail if the spec doesn't have
  * a valid capture yet.
  *
  * @param InEvalParams		Parameters to evaluate the attribute under
  * @param ActiveHandle		Handle of the gameplay effect to query about
  * @param OutBonusMagnitude	[OUT] Computed bonus magnitude
  *
  * @return True if the bonus magnitude was successfully calculated, false if it was not
  */
 public bool AttemptCalculateAttributeContributionMagnitude(FAggregatorEvaluateParameters InEvalParams,
                                                            FActiveGameplayEffectHandle ActiveHandle, ref float OutBonusMagnitude)
 {
     return(false);
 }
예제 #6
0
 public void RemoveDependent(FActiveGameplayEffectHandle Handle)
 {
 }
예제 #7
0
 /** Evaluates the contribution from the GE associated with ActiveHandle */
 public float EvaluateContribution(FAggregatorEvaluateParameters Parameters,
                                   FActiveGameplayEffectHandle ActiveHandle)
 {
     return(1f);
 }
예제 #8
0
 // Not happy with this interface but don't see a better way yet. How should outside code (UI, etc) ask things like 'how much is this gameplay effect modifying my damage by'
 // (most likely we want to catch this on the backend - when damage is applied we can get a full dump/history of how the number got to where it is. But still we may need polling methods like below (how much would my damage be)
 public float GetGameplayEffectMagnitude(FActiveGameplayEffectHandle Handle, FGameplayAttribute Attribute)
 {
     return(1);
 }
예제 #9
0
 /** Removes all mods for the passed in handle and marks this as dirty to recalculate the aggregator */
 public void RemoveAggregatorMod(FActiveGameplayEffectHandle ActiveHandle)
 {
 }
예제 #10
0
 /** Updates the aggregators for the past in handle, this will handle it so the UAttributeSets stats only get one update for the delta change */
 public void UpdateAggregatorMod(FActiveGameplayEffectHandle ActiveHandle, FGameplayAttribute Attribute,
                                 FGameplayEffectSpec Spec, bool bWasLocallyGenerated, FActiveGameplayEffectHandle InHandle)
 {
 }
예제 #11
0
 public void AddAggregatorMod(float EvaluatedData, EGameplayModOp ModifierOp, EGameplayModEvaluationChannel ModifierChannel, FGameplayTagRequirements SourceTagReqs, FGameplayTagRequirements TargetTagReqs, bool IsPredicted, FActiveGameplayEffectHandle ActiveHandle)
 {
 }
예제 #12
0
 /**
  * Remove all mods from the channel that match the specified gameplay effect handle
  *
  * @param Handle	Handle to use for removal
  */
 public void RemoveModsWithActiveHandle(FActiveGameplayEffectHandle Handle)
 {
 }
예제 #13
0
 /**
  * Add a modifier to the channel
  *
  * @param EvaluatedMagnitude	Magnitude of the modifier
  * @param ModOp					Operation of the modifier
  * @param SourceTagReqs			Source tag requirements of the modifier
  * @param TargetTagReqs			Target tag requirements of the modifier
  * @param bIsPredicted			Whether the mod is predicted or not
  * @param ActiveHandle			Handle of the active gameplay effect that's applying the mod
  */
 public void AddMod(float EvaluatedMagnitude, EGameplayModOp ModOp, FGameplayTagRequirements SourceTagReqs,
                    FGameplayTagRequirements TargetTagReqs, bool bIsPredicted, FActiveGameplayEffectHandle ActiveHandle)
 {
 }
예제 #14
0
 public void GetGameplayEffectStartTimeAndDuration(FActiveGameplayEffectHandle Handle, float StartEffectTime,
                                                   float Duration)
 {
 }
예제 #15
0
 public FGameplayModifierEvaluatedData(FGameplayAttribute InAttribute, EGameplayModOp InModOp, float InMagnitude,
                                       FActiveGameplayEffectHandle InHandle)
 {
 }
예제 #16
0
 /* Updates the level of an already applied gameplay effect. The intention is that this is 'seemless' and doesnt behave like removing/reapplying */
 public void SetActiveGameplayEffectLevel(FActiveGameplayEffectHandle ActiveHandle, int NewLevel)
 {
 }
예제 #17
0
 public int GetTypeHash(FActiveGameplayEffectHandle InHandle)
 {
     return(InHandle.Handle);
 }
예제 #18
0
 /* Returns current stack count of an already applied GE */
 public int GetCurrentStackCount(FActiveGameplayEffectHandle Handle)
 {
     return(1);
 }
예제 #19
0
 // ---------------------------------------------------------------------------------------------------------------------------------
 //  IMPORTANT: Any new state added to FActiveGameplayEffect must be handled in the copy/move constructor/operator
 //	(When VS2012/2013 support is dropped, we can use compiler generated operators, but until then these need to be maintained manually)
 // ---------------------------------------------------------------------------------------------------------------------------------
 FActiveGameplayEffect(FActiveGameplayEffectHandle InHandle, FGameplayEffectSpec InSpec,
                       float CurrentWorldTime, float InStartServerWorldTime)
 {
 }
예제 #20
0
 /** Unregisters any linked aggregators from notifying this active handle if they are dirtied */
 public void UnregisterLinkedAggregatorCallbacks(FActiveGameplayEffectHandle Handle)
 {
 }
예제 #21
0
 public void AddDependent(FActiveGameplayEffectHandle Handle)
 {
 }