Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
UEnemyStrafeComponent 클래스 참조

#include <EnemyStrafeComponent.h>

UEnemyStrafeComponent에 대한 상속 다이어그램 :
Inheritance graph
UEnemyStrafeComponent에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

virtual void InitializeBehavior (const FEnemyExtendedData &EnemyExtendedData, FName RowName) override
 
virtual void ResetState () override
 
FORCEINLINE void SetCurrentStrafeDirection (float NewDirection)
 
FORCEINLINE float GetCurrentStrafeDirection () const
 
FORCEINLINE float GetStrafeSpeed () const
 
FORCEINLINE float GetStrafeDelay () const
 
FORCEINLINE float GetStrafeDistanceMin () const
 
FORCEINLINE float GetStrafeDistanceMax () const
 
FORCEINLINE float GetDirectionChangeChance () const
 
- UEnemyBehaviorComponent(으)로부터 상속된 Public 멤버 함수
 UEnemyBehaviorComponent ()
 

Protected 속성

float CurrentStrafeDirection = 1.0f
 
float StrafeSpeed = 0.0f
 
float StrafeDelay = 0.0f
 
float StrafeDistanceMin = 400.0f
 
float StrafeDistanceMax = 550.0f
 
float DirectionChangeChance = 0.3f
 

멤버 함수 문서화

◆ GetCurrentStrafeDirection()

FORCEINLINE float UEnemyStrafeComponent::GetCurrentStrafeDirection ( ) const
inline
23{ return CurrentStrafeDirection; }
float CurrentStrafeDirection
Definition EnemyStrafeComponent.h:33

다음에 의해서 참조됨 : FTask_Strafe::EnterState().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetDirectionChangeChance()

FORCEINLINE float UEnemyStrafeComponent::GetDirectionChangeChance ( ) const
inline
29{ return DirectionChangeChance; }
float DirectionChangeChance
Definition EnemyStrafeComponent.h:48

다음에 의해서 참조됨 : FTask_Strafe::EnterState().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetStrafeDelay()

FORCEINLINE float UEnemyStrafeComponent::GetStrafeDelay ( ) const
inline
26{ return StrafeDelay; }
float StrafeDelay
Definition EnemyStrafeComponent.h:39

◆ GetStrafeDistanceMax()

FORCEINLINE float UEnemyStrafeComponent::GetStrafeDistanceMax ( ) const
inline
28{ return StrafeDistanceMax; }
float StrafeDistanceMax
Definition EnemyStrafeComponent.h:45

다음에 의해서 참조됨 : FTask_Strafe::EnterState().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetStrafeDistanceMin()

FORCEINLINE float UEnemyStrafeComponent::GetStrafeDistanceMin ( ) const
inline
27{ return StrafeDistanceMin; }
float StrafeDistanceMin
Definition EnemyStrafeComponent.h:42

다음에 의해서 참조됨 : FTask_Strafe::EnterState().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetStrafeSpeed()

FORCEINLINE float UEnemyStrafeComponent::GetStrafeSpeed ( ) const
inline
25{ return StrafeSpeed; }
float StrafeSpeed
Definition EnemyStrafeComponent.h:36

◆ InitializeBehavior()

void UEnemyStrafeComponent::InitializeBehavior ( const FEnemyExtendedData &  EnemyExtendedData,
FName  RowName 
)
overridevirtual

UEnemyBehaviorComponent(으)로부터 재구현되었습니다.

10{
11 if (IsValid(EnemyExtendedData.EnemyAIStrafeTable) == false)
12 {
13 LOG_WARNING(LogCKAttribute, "Enemy AI Strafe Table 없음");
14 return;
15 }
16
17 FEnemyAIStrafeTableRow* StrafeRow = EnemyExtendedData.EnemyAIStrafeTable->FindRow<FEnemyAIStrafeTableRow>(RowName, TEXT("MonsterAIStrafeContext"));
18 if (StrafeRow == nullptr)
19 {
20 LOG_WARNING(LogCKAttribute, "Enemy AI Strafe Row 없음");
21 return;
22 }
23
24 StrafeSpeed = StrafeRow->Strafe_Speed;
25 StrafeDelay = StrafeRow->Strafe_Delay;
29}
#define LOG_WARNING(Category, Format,...)
Definition CK_UE.h:40
Definition EnemyAITable.h:43
float Strafe_Speed
Definition EnemyAITable.h:48
float Strafe_Distance_Max
Definition EnemyAITable.h:57
float Strafe_Distance_Min
Definition EnemyAITable.h:54
float Direction_Change_Chance
Definition EnemyAITable.h:60
float Strafe_Delay
Definition EnemyAITable.h:51
TObjectPtr< UDataTable > EnemyAIStrafeTable
Definition CharacterControlData.h:106

다음을 참조함 : FEnemyAIStrafeTableRow::Direction_Change_Chance, DirectionChangeChance, FEnemyExtendedData::EnemyAIStrafeTable, LOG_WARNING, FEnemyAIStrafeTableRow::Strafe_Delay, FEnemyAIStrafeTableRow::Strafe_Distance_Max, FEnemyAIStrafeTableRow::Strafe_Distance_Min, FEnemyAIStrafeTableRow::Strafe_Speed, StrafeDelay, StrafeDistanceMax, StrafeDistanceMin, StrafeSpeed.

◆ ResetState()

void UEnemyStrafeComponent::ResetState ( )
overridevirtual

UEnemyBehaviorComponent(으)로부터 재구현되었습니다.

32{
33 CurrentStrafeDirection = FMath::RandBool() ? -1.0f : 1.0f;
34}

다음을 참조함 : CurrentStrafeDirection.

◆ SetCurrentStrafeDirection()

FORCEINLINE void UEnemyStrafeComponent::SetCurrentStrafeDirection ( float  NewDirection)
inline
22{ CurrentStrafeDirection = NewDirection; }

다음에 의해서 참조됨 : FTask_Strafe::EnterState().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ CurrentStrafeDirection

float UEnemyStrafeComponent::CurrentStrafeDirection = 1.0f
protected

다음에 의해서 참조됨 : ResetState().

◆ DirectionChangeChance

float UEnemyStrafeComponent::DirectionChangeChance = 0.3f
protected

다음에 의해서 참조됨 : InitializeBehavior().

◆ StrafeDelay

float UEnemyStrafeComponent::StrafeDelay = 0.0f
protected

다음에 의해서 참조됨 : InitializeBehavior().

◆ StrafeDistanceMax

float UEnemyStrafeComponent::StrafeDistanceMax = 550.0f
protected

다음에 의해서 참조됨 : InitializeBehavior().

◆ StrafeDistanceMin

float UEnemyStrafeComponent::StrafeDistanceMin = 400.0f
protected

다음에 의해서 참조됨 : InitializeBehavior().

◆ StrafeSpeed

float UEnemyStrafeComponent::StrafeSpeed = 0.0f
protected

다음에 의해서 참조됨 : InitializeBehavior().


이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: