#include <AIDataTypes.h>
◆ FHostileActorInfo() [1/3]
| FHostileActorInfo::FHostileActorInfo |
( |
| ) |
|
|
inline |
◆ FHostileActorInfo() [2/3]
| FHostileActorInfo::FHostileActorInfo |
( |
AActor * | Actor | ) |
|
|
inlineexplicit |
430 {
432 };
AActor * HostileActor
Definition AIDataTypes.h:389
◆ FHostileActorInfo() [3/3]
434 {
438 };
float HostilityLevel
Definition AIDataTypes.h:294
float TrustLevel
Definition AIDataTypes.h:291
float TrustScore
Definition AIDataTypes.h:416
float HostilityScore
Definition AIDataTypes.h:418
◆ AddDamageDealtToOwner()
| void FHostileActorInfo::AddDamageDealtToOwner |
( |
const float | Value | ) |
|
|
inline |
450 {
452
453
454
455
456
457
458
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476 }
float DamageDealtToOwner
Definition AIDataTypes.h:409
float HostilityIncreaseFactor
Definition AIDataTypes.h:423
float TrustDecreaseFactor
Definition AIDataTypes.h:421
◆ AddDamageReceivedByOwner()
| void FHostileActorInfo::AddDamageReceivedByOwner |
( |
const float | Value | ) |
|
|
inline |
442 {
444
445 }
float DamageReceivedByOwner
Definition AIDataTypes.h:405
◆ AddDetection()
| void FHostileActorInfo::AddDetection |
( |
const float | Value, |
|
|
const float | MaxDetection, |
|
|
const float | InvestigateDetection ) |
|
inline |
487 {
490 {
492 }
494 {
496 }
498 {
500 }
501
503 {
505 }
506 }
FVector LastSeenLocation
Definition AIDataTypes.h:391
bool bInvestigate
Definition AIDataTypes.h:398
bool bDetected
Definition AIDataTypes.h:396
float DetectionLevel
Definition AIDataTypes.h:394
◆ AddHostility()
| void FHostileActorInfo::AddHostility |
( |
const float | Value | ) |
|
|
inline |
◆ AddVisibility()
| void FHostileActorInfo::AddVisibility |
( |
const float | Value | ) |
|
|
inline |
483 {
485 }
float VisibilityScore
Definition AIDataTypes.h:411
◆ ClearDetection()
| void FHostileActorInfo::ClearDetection |
( |
| ) |
|
|
inline |
◆ Empty()
528 {
530 return EmptyData;
531 }
Definition AIDataTypes.h:385
◆ GetLocation()
| FVector FHostileActorInfo::GetLocation |
( |
| ) |
const |
|
inline |
582 {
584 if(
HostileActor ==
nullptr){
return FVector::ZeroVector;}
586 }
◆ GetRelationshipStatus()
577 {
579 }
static ERelationshipStatus GetRelationship(const float TrustLevel, const float HostilityLevel)
Definition AIDataTypes.h:169
◆ IsAllied()
| bool FHostileActorInfo::IsAllied |
( |
| ) |
const |
|
inline |
560 {
562 {
563 return true;
564 }
565 return false;
566 }
◆ IsFriendly()
| bool FHostileActorInfo::IsFriendly |
( |
| ) |
const |
|
inline |
552 {
554 {
555 return true;
556 }
557 return false;
558 }
float HostilityLevelFriendly
Definition AIDataTypes.h:20
float TrustLevelFriendly
Definition AIDataTypes.h:18
◆ IsHostile()
| bool FHostileActorInfo::IsHostile |
( |
| ) |
const |
|
inline |
544 {
546 {
547 return true;
548 }
549 return false;
550 }
float HostilityLevelHostile
Definition AIDataTypes.h:35
◆ IsNeutral()
| bool FHostileActorInfo::IsNeutral |
( |
| ) |
const |
|
inline |
568 {
569 if(TrustScore <= 0.0f && HostilityScore >= 40.0f)
570 {
571 return true;
572 }
573 return false;
574 }
◆ IsValid()
| bool FHostileActorInfo::IsValid |
( |
| ) |
const |
|
inline |
- Returns
- if Hostile Actor is Set
◆ LostSightOnTarget()
| void FHostileActorInfo::LostSightOnTarget |
( |
| ) |
|
|
inline |
◆ LostTarget()
| void FHostileActorInfo::LostTarget |
( |
const float | InvestigateDetection | ) |
|
|
inline |
◆ operator==()
◆ bDead
| bool FHostileActorInfo::bDead = false |
◆ bDetected
| bool FHostileActorInfo::bDetected = false |
◆ bInvestigate
| bool FHostileActorInfo::bInvestigate = false |
◆ DamageDealtToOwner
| float FHostileActorInfo::DamageDealtToOwner = 0.0f |
◆ DamageReceivedByOwner
| float FHostileActorInfo::DamageReceivedByOwner = 0.0f |
Damage Owner has done to this Character
◆ DetectionLevel
| float FHostileActorInfo::DetectionLevel = 0.0f |
◆ HostileActor
| AActor* FHostileActorInfo::HostileActor = nullptr |
◆ HostilityIncreaseFactor
| float FHostileActorInfo::HostilityIncreaseFactor = 0.2f |
◆ HostilityScore
| float FHostileActorInfo::HostilityScore = 100.0f |
◆ LastSeenLocation
| FVector FHostileActorInfo::LastSeenLocation = FVector::ZeroVector |
◆ TotalScore
| float FHostileActorInfo::TotalScore = 0.0f |
◆ TrustDecreaseFactor
| float FHostileActorInfo::TrustDecreaseFactor = 10.0f |
◆ TrustScore
| float FHostileActorInfo::TrustScore = 0.0f |
◆ VisibilityScore
| float FHostileActorInfo::VisibilityScore = 0.0f |
The documentation for this struct was generated from the following file:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/AIToolKit/Source/AIToolKit/Public/Data/AIDataTypes.h