Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
SpawnSystemInterface.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Interface.h"
7#include "SpawnSystemInterface.generated.h"
8
11class AActor;
12
13
14// This class does not need to be modified.
15UINTERFACE()
16class USpawnSystemInterface : public UInterface
17{
18 GENERATED_BODY()
19};
20
24class CK_UE_API ISpawnSystemInterface
25{
26 GENERATED_BODY()
27
28public:
29 virtual void Initialize(UStageSubsystem* StageManagementSubsystem) = 0;
30 virtual void ClearAll(const bool bClearSpawnedActors = true) = 0;
31
32 // 이 시스템이 스폰한 객체 중 타겟팅 가능한 것들을 수집한다. 타겟팅 대상이 없는 시스템은 재정의하지 않는다.
33 virtual void CollectSpawnedTargetables(TArray<ITargetableInterface*>& OutTargetables) const { }
34
35protected:
37 static void CollectActorTargetables(AActor* SpawnedActor, TArray<ITargetableInterface*>& OutTargetables);
38};
Definition SpawnSystemInterface.h:25
virtual void CollectSpawnedTargetables(TArray< ITargetableInterface * > &OutTargetables) const
Definition SpawnSystemInterface.h:33
virtual void Initialize(UStageSubsystem *StageManagementSubsystem)=0
virtual void ClearAll(const bool bClearSpawnedActors=true)=0
Definition TargetableInterface.h:20
Definition SpawnSystemInterface.h:17
Definition StageSubsystem.h:102