#include <BaseData.h>
◆ FInteractionData() [1/4]
| FInteractionData::FInteractionData |
( |
| ) |
|
|
inline |
◆ FInteractionData() [2/4]
456 {
458
459 }
int32 DefaultInteraction
Definition BaseData.h:443
TArray< FInteractionType > InteractionTypes
Definition BaseData.h:429
Definition BaseData.h:333
◆ FInteractionData() [3/4]
461 {
464 }
EAIStimuliType StimuliType
Definition BaseData.h:432
◆ FInteractionData() [4/4]
◆ GetDefaultInteraction()
| bool FInteractionData::GetDefaultInteraction |
( |
FInteractionType & | Default | ) |
const |
|
inline |
@Returns if Default Interaction is Available
474 {
476 {
478 return true;
479 }
480 return false;
481 }
◆ GetInteraction()
484 {
486 {
488 {
489 Type = InteractionType;
490 return true;
491 }
492 }
493 return false;
494 }
Definition Interaction.Build.cs:6
◆ GetVisibleInteractions()
557 {
558 TArray<FInteractionType> VisibleInteractions;
560 {
562 {
564 }
565 }
566 return VisibleInteractions;
567 }
◆ None()
584 {
589 }
Definition BaseData.h:420
static FInteractionData None()
Definition BaseData.h:583
void SetDefault(const EInteractionType Default, const bool bRemoveOthers=true)
Definition BaseData.h:570
bool bShowDefault
Definition BaseData.h:440
◆ operator==()
592 {
593 bool bEqual = true;
595 {
596 bEqual = false;
597 }
599 {
600 bEqual = false;
601 }
603 {
604 bEqual = false;
605 }
606 return bEqual;
607 }
◆ SetDefault()
| void FInteractionData::SetDefault |
( |
const EInteractionType | Default, |
|
|
const bool | bRemoveOthers = true ) |
|
inline |
571 {
572 if(bRemoveOthers)
573 {
575 }
578 {
580 }
581 }
◆ SetInteractionAvailable()
| bool FInteractionData::SetInteractionAvailable |
( |
const EInteractionType | Interaction, |
|
|
const bool | bValue ) |
|
inline |
532 {
534 {
536 {
537 InteractionType.bAvailable = bValue;
538 return true;
539 }
540 }
541 return false;
542 }
◆ SetInteractionHidden()
| bool FInteractionData::SetInteractionHidden |
( |
const EInteractionType | Interaction, |
|
|
const bool | bValue ) |
|
inline |
497 {
499 {
501 {
502 InteractionType.bHide = bValue;
503 return true;
504 }
505 }
506 return false;
507 }
◆ SetInteractionHold()
| bool FInteractionData::SetInteractionHold |
( |
const EInteractionType | Interaction, |
|
|
const bool | bValue ) |
|
inline |
544 {
546 {
548 {
549 InteractionType.bHold = bValue;
550 return true;
551 }
552 }
553 return false;
554 }
◆ SetOnlyInteractionVisible() [1/2]
| void FInteractionData::SetOnlyInteractionVisible |
( |
const EInteractionType | Interaction | ) |
|
|
inline |
509 {
511 {
512 InteractionType.bHide = true;
514 {
515 InteractionType.bHide = false;
516 }
517 }
518 }
◆ SetOnlyInteractionVisible() [2/2]
| void FInteractionData::SetOnlyInteractionVisible |
( |
const FString & | Interaction | ) |
|
|
inline |
520 {
522 {
523 InteractionType.bHide = true;
524 if(
Interaction == InteractionType.CustomInteractionText)
525 {
526 InteractionType.bHide = false;
527 }
528 }
529 }
◆ bAIControlled
| bool FInteractionData::bAIControlled = false |
◆ bShowDefault
| bool FInteractionData::bShowDefault = false |
◆ bShowMenu
| bool FInteractionData::bShowMenu = false |
If should show multiple Options
◆ DefaultInteraction
| int32 FInteractionData::DefaultInteraction = 0 |
If set to just show default, will display this index, Set to -1 to display none
◆ DisplayInfo
◆ InteractionTypes
◆ StimuliType
The documentation for this struct was generated from the following file:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Public/Data/BaseData.h