FActiveGameplayEffect::RecomputeStartWorldTime

Refreshes the cached StartWorldTime for this effect.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h

Include

#include "GameplayEffect.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffect.cpp

Syntax

void RecomputeStartWorldTime
(
    const float WorldTime,
    const float ServerWorldTime
)

Remarks

Refreshes the cached StartWorldTime for this effect. To be used when the server/client world time delta changes significantly to keep the start time in sync.