FAttributeSetInitterDiscreteLevels::PreloadAttributeSetData

Transforms CurveTable data into format more efficient to read at runtime.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FAttributeSetInitter::PreloadAttributeSetData()

FAttributeSetInitterDiscreteLevels::PreloadAttributeSetData()

References

Module

GameplayAbilities

Header

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

Include

#include "AttributeSet.h"

Source

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

Syntax

virtual void PreloadAttributeSetData
(
    const TArray< UCurveTable * > & CurveData
)

Remarks

Transforms CurveTable data into format more efficient to read at runtime. UCurveTable requires string parsing to map to GroupName/AttributeSet/Attribute Each curve in the table represents a single attribute's values for all levels. At runtime, we want all attribute values at given level.

This code assumes that your curve data starts with a key of 1 and increases by 1 with each key.