|
| void | Invalidate () |
| | Clears this handle so it does not point to any spot anymore.
|
| FBox2D | BoundingBox2D () const |
| bool | CanBeClaimedBy (AGothicCharacterState PotentialUser, FGameplayTag Action) const |
| | Returns whether the given user could claim this spot with the given action right now.
|
| bool | CanBeClaimedBy_TryMultipleActions (AGothicCharacterState PotentialUser, FGameplayTagContainer Actions) const |
| | Returns whether the given user could claim this spot with one of the given actions right now.
|
| bool | CanBeUsedBy (AGothicCharacterState PotentialUser, FGameplayTag Action) const |
| | Returns whether the given user could use this spot with the given action right now.
|
| bool | CanBeUsedBy_TryMultipleActions (AGothicCharacterState PotentialUser, FGameplayTagContainer Actions) const |
| | Returns whether the given user could use this spot with one of the given actions right now.
|
| FInteractionSpotClaimToken | Claim (AGothicCharacterState User, FGameplayTag Action) |
| | Marks this spot as "Claimed" by the given user. Returns invalid token if the spot could not be claimed.
|
| AActor | GetActorToInteractWith () const |
| FGameplayTagContainer | GetAllAreasFromSpotHandle (const UObject WorldContextObject) const |
| bool | GetAllowsChainingActions () const |
| UAreaTagRegionTrait | GetAreaFromSpotHandle (const UObject WorldContextObject) const |
| float32 | GetAreaRadius () const |
| float32 | GetDistanceToActor (AActor Actor) const |
| FVector | GetForwardDirection () const |
| FVector | GetLocation () const |
| float32 | GetPathCostFrom (const AGothicCharacterState PotentialUser) const |
| FTransform | GetTransform () const |
| FInteractionSpotHandle & | opAssign (FName SpotName) |
| bool | IsActionPossibleHere (FGameplayTag Action,) const |
| bool | IsAllowingAnyOrientationWhenUsing () const |
| bool | IsAnyOfActionsPossibleHere (FGameplayTagContainer Actions,) const |
| bool | IsClaimedBy (AGothicCharacterState PotentialUser) const |
| bool | IsCustomUseConditionFulfilled (AGothicCharacterState PotentialUser, FGameplayTag Action) const |
| bool | IsInCooldown () const |
| bool | IsLocationWithinRange (FVector Location, float32 Radius,) const |
| bool | IsLocationWithinRange2D (FVector2D Location, float32 Radius,) const |
| bool | IsSet () const |
| bool | IsUnclaimed () const |
| bool | IsUsedBy (AGothicCharacterState PotentialUser) const |
| bool | IsValid () const |
| FGameplayTag | SelectMatchingMoreSpecificAction (FGameplayTag Action,) const |
| | If this spots only supports actions that are more specific than the given action, this function will return actual action to do.
|
| void | SetTransform (FTransform NewTransform,) const |
| void | Unset () |
| | Clears this handle so it does not point to any spot anymore.
|
| FInteractionSpotHandle & | opAssign (FInteractionSpotHandle Other) |
If this spots only supports actions that are more specific than the given action, this function will return actual action to do.
For example, when this Spot only accepts Action.Sit.Ground, and you pass in Action.Sit (which is a valid thing to do), it returns Action.Sit.Ground.
Returns EmptyTag if tag of the PossibleActions matches.
Note: The first matching tag encountered is returned. No random selection.