29 lines
706 B
C++
29 lines
706 B
C++
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
|
|
|
|
|
|
#include "Notifies/GCS_ANS_AttackTrace.h"
|
|
|
|
#include "CombatFlow/GCS_AttackRequest.h"
|
|
#include "UObject/ObjectSaveContext.h"
|
|
|
|
|
|
UGCS_ANS_AttackTrace::UGCS_ANS_AttackTrace(const FObjectInitializer& ObjectInitializer): Super(ObjectInitializer)
|
|
{
|
|
#if WITH_EDITORONLY_DATA
|
|
bShouldFireInEditor = false;
|
|
#endif
|
|
AttackRequest = ObjectInitializer.CreateDefaultSubobject<UGCS_AttackRequest_Melee>(this, TEXT("AttackRequest"));
|
|
}
|
|
|
|
void UGCS_ANS_AttackTrace::PostInitProperties()
|
|
{
|
|
Super::PostInitProperties();
|
|
}
|
|
|
|
#if WITH_EDITORONLY_DATA
|
|
void UGCS_ANS_AttackTrace::PreSave(FObjectPreSaveContext SaveContext)
|
|
{
|
|
Super::PreSave(SaveContext);
|
|
}
|
|
#endif
|