| 46 | //-------------------------------------------------------------------------------------------------------------------------- |
| 47 | |
| 48 | FCogSampleGameplayEffectContext* FCogSampleGameplayEffectContext::ExtractEffectContext(struct FGameplayEffectContextHandle Handle) |
| 49 | { |
| 50 | FGameplayEffectContext* BaseEffectContext = Handle.Get(); |
| 51 | if ((BaseEffectContext != nullptr) && BaseEffectContext->GetScriptStruct()->IsChildOf(FCogSampleGameplayEffectContext::StaticStruct())) |
| 52 | { |
| 53 | return (FCogSampleGameplayEffectContext*)BaseEffectContext; |
| 54 | } |
| 55 | |
| 56 | return nullptr; |
| 57 | } |
| 58 | |
| 59 | //-------------------------------------------------------------------------------------------------------------------------- |
| 60 |
nothing calls this directly
no test coverage detected