G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FScriptGameplayAttributeRef Struct Reference

Contains all data required to identify a single GAS attribute. More...

Public Member Functions

Functions
FScriptGameplayAttributeRef & opAssign (FScriptGameplayAttributeRef Other)

Public Attributes

ScriptGameplayAttributeRef
FName Name
 Name of the property holding the attribute (e.g. "Health").
TSubclassOf< UAttributeSet > AttributeSetClass
 AttributeSet-Class of the the attribute belongs to.

Detailed Description

Contains all data required to identify a single GAS attribute.

Rationale: When working with Attributes, GAS functions usually want the following parameters:

  • Class of the AttributeSet
  • Name of the Attribute

To simplify access to those functions, this type encapsulates these two properties.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ AttributeSetClass

TSubclassOf<UAttributeSet> AttributeSetClass

AttributeSet-Class of the the attribute belongs to.

◆ Name

FName Name

Name of the property holding the attribute (e.g. "Health").