UGameplayCueTranslator_Test

This is an example translator class.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayCueTranslator.h"

Syntax

UCLASS()
class UGameplayCueTranslator_Test : public UGameplayCueTranslator

Remarks

This is an example translator class.

Overridden from UGameplayCueTranslator

Name Description

Public function Virtual Const

int32

 

GameplayCueToTranslationIndex

(
    const FName& TagName,
    AActor* TargetActor,
    const FGameplayCueParameters& Para...
)

This is called at runtime to actually do the swapping.

Public function Virtual Const

void

 

GetTranslationNameSpawns

This adds the name swaps.

Public function Virtual Const

bool

 

IsEnabled()

We never actually want to use this in production, so return false.