FGameplayCueTranslationManager

This is the struct that does the actual translation.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayCueTranslator.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FGameplayCueTranslationManager

Remarks

This is the struct that does the actual translation. It lives on the GameplayCueManager and encapsulates all translation logic.

Functions

Name Description

Public function

void

 

BuildTagTranslationTable()

Builds all our translation tables.

Public function

void

 

BuildTagTranslationTable_Forward()

Builds all possible translation tables.

Public function

void

 

BuildTagTranslationTable_Forward_r

(
    const FName& TagName,
    const TArray< FName >& SplitNames
)

Builds all possible translation tables.

Public function

bool

 

BuildTagTranslationTable_r

(
    const FName& TagName,
    const TArray< FName >& SplitNames
)

Builds all our translation tables.

Public function Const

const TArray...

 

GetNameSwapData()

Public function

bool

 

GetTranslatedTags

(
    const FName& ParentTag,
    TArray< FGameplayCueTranslationEdit...
)

Used by the GC editor to enumerate possible translation tags. Never called at runtime.

Public function

void

 

PrintTranslationTable()

Public function

void

 

PrintTranslationTable_r

(
    FGameplayCueTranslatorNode& Node,
    FString IdentStr
)

Public function

void

 

RefreshNameSwaps()

Refresh our name swap rules. Called internally by the manager and externally by GC tool

Public function

FGameplayTag

 

SearchSlowForTranslationParent

(
    FGameplayTag Tag
)

Searches, slowly, to see if the passed in tag can be translated from something else.

Public function

void

 

TranslateTag

(
    FGameplayTag& Tag,
    AActor* TargetActor,
    const FGameplayCueParameters& Para...
)

This is the runtime function that translates the tag (if necessary)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss