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

Persistent and sharable definition of a smart object slot. More...

Public Member Functions

Functions
FSmartObjectSlotDefinition & opAssign (FSmartObjectSlotDefinition Other)

Public Attributes

Slot
bool bEnabled
 Whether the slot is enable initially.
FColor DEBUG_DrawColor
ESmartObjectSlotShape DEBUG_DrawShape
float32 DEBUG_DrawSize
FGuid ID
FVector3f Offset
 Offset relative to the parent object where the slot is located.
FRotator3f Rotation
 Rotation relative to the parent object.
FName Name
FGameplayTagQuery UserTagFilter
 This slot is available only for users matching this query.
FGameplayTagContainer ActivityTags
 Tags identifying this slot's use case. Can be used while looking for slots supporting given activity. Depending on the tag filtering policy these tags can override the parent object's tags or be combined with them while applying filters from requests.
FGameplayTagContainer RuntimeTags
 Initial runtime tags.
FWorldConditionQueryDefinition SelectionPreconditions
 Preconditions that must pass for the slot to be selected.
TArray< TObjectPtr< USmartObjectBehaviorDefinition > > BehaviorDefinitions
 All available definitions associated to this slot. This allows multiple frameworks to provide their specific behavior definition to the slot. Note that there should be only one definition of each type since the first one will be selected.
TArray< FSmartObjectDefinitionDataProxy > DefinitionData
 Custom definition data items (struct inheriting from SmartObjecDefinitionData) that can be added to the slot definition and accessed through a FSmartObjectSlotView.

Detailed Description

Persistent and sharable definition of a smart object slot.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ ActivityTags

FGameplayTagContainer ActivityTags

Tags identifying this slot's use case. Can be used while looking for slots supporting given activity. Depending on the tag filtering policy these tags can override the parent object's tags or be combined with them while applying filters from requests.

◆ BehaviorDefinitions

All available definitions associated to this slot. This allows multiple frameworks to provide their specific behavior definition to the slot. Note that there should be only one definition of each type since the first one will be selected.

◆ bEnabled

bool bEnabled

Whether the slot is enable initially.

◆ DEBUG_DrawColor

FColor DEBUG_DrawColor

◆ DEBUG_DrawShape

ESmartObjectSlotShape DEBUG_DrawShape

◆ DEBUG_DrawSize

float32 DEBUG_DrawSize

◆ DefinitionData

Custom definition data items (struct inheriting from SmartObjecDefinitionData) that can be added to the slot definition and accessed through a FSmartObjectSlotView.

◆ ID

FGuid ID

◆ Name

FName Name

◆ Offset

FVector3f Offset

Offset relative to the parent object where the slot is located.

◆ Rotation

FRotator3f Rotation

Rotation relative to the parent object.

◆ RuntimeTags

FGameplayTagContainer RuntimeTags

Initial runtime tags.

◆ SelectionPreconditions

FWorldConditionQueryDefinition SelectionPreconditions

Preconditions that must pass for the slot to be selected.

◆ UserTagFilter

FGameplayTagQuery UserTagFilter

This slot is available only for users matching this query.