KLingo Project Documentation
1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
CompassTargetInterface.h
이 파일의 문서화 페이지로 가기
1
// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2
3
#pragma once
4
5
#include "CoreMinimal.h"
6
#include "UObject/Interface.h"
7
#include "
ECompassMarkerType.h
"
8
#include "CompassTargetInterface.generated.h"
9
10
// This class does not need to be modified.
11
UINTERFACE()
12
class
UCompassTargetInterface
: public UInterface
13
{
14
GENERATED_BODY()
15
};
16
20
class
ONEPIECE_API
ICompassTargetInterface
21
{
22
GENERATED_BODY()
23
24
// Add interface functions to this class. This is the class that will be inherited to implement this interface.
25
public
:
26
ECompassMarkerType
MarkerType
;
27
bool
bShowOnCompass =
true
;
28
29
ECompassMarkerType
GetCompassMarkerType
() {
return
MarkerType;}
30
virtual
void
SetCompassMarkerInto
(
ECompassMarkerType
InMarkerType) {MarkerType = InMarkerType;}
31
32
virtual
bool
ShouldShowOnCompass
()
const
{
return
bShowOnCompass;}
33
virtual
void
SetShowOnCompass
(
bool
bShow) {bShowOnCompass = bShow;}
34
};
ECompassMarkerType.h
ECompassMarkerType
ECompassMarkerType
Definition
ECompassMarkerType.h:5
ICompassTargetInterface
Definition
CompassTargetInterface.h:21
ICompassTargetInterface::SetShowOnCompass
virtual void SetShowOnCompass(bool bShow)
Definition
CompassTargetInterface.h:33
ICompassTargetInterface::ShouldShowOnCompass
virtual bool ShouldShowOnCompass() const
Definition
CompassTargetInterface.h:32
ICompassTargetInterface::GetCompassMarkerType
ECompassMarkerType GetCompassMarkerType()
Definition
CompassTargetInterface.h:29
ICompassTargetInterface::SetCompassMarkerInto
virtual void SetCompassMarkerInto(ECompassMarkerType InMarkerType)
Definition
CompassTargetInterface.h:30
ICompassTargetInterface::MarkerType
ECompassMarkerType MarkerType
Definition
CompassTargetInterface.h:26
UCompassTargetInterface
Definition
CompassTargetInterface.h:13
Source
Onepiece
Interactable
Public
CompassTargetInterface.h
생성시간 : 금 1월 9 2026 00:25:57, 프로젝트명 : KLingo Project Documentation, 생성자 :
1.9.8