Payback
0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
MainPlayerState.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 "AbilitySystemInterface.h"
7
#include "GameFramework/PlayerState.h"
8
#include "MainPlayerState.generated.h"
9
10
class
UPlayerAttributeSet
;
11
class
USituationAttributeSet
;
12
16
UCLASS()
17
class CK_UE_API
AMainPlayerState
: public APlayerState, public IAbilitySystemInterface
18
{
19
GENERATED_BODY()
20
21
public
:
22
AMainPlayerState
();
23
24
virtual
UAbilitySystemComponent* GetAbilitySystemComponent()
const override
;
25
FORCEINLINE
UPlayerAttributeSet
*
GetPlayerAttributeSet
()
const
{
return
AttributeSet; }
26
27
protected
:
28
UPROPERTY(VisibleAnywhere, Category = GAS)
29
TObjectPtr<UAbilitySystemComponent> ASC;
30
31
UPROPERTY()
32
TObjectPtr<
UPlayerAttributeSet
> AttributeSet;
33
34
UPROPERTY()
35
TObjectPtr<
USituationAttributeSet
> SituationAttributeSet;
36
};
AMainPlayerState
Definition
MainPlayerState.h:18
AMainPlayerState::GetPlayerAttributeSet
FORCEINLINE UPlayerAttributeSet * GetPlayerAttributeSet() const
Definition
MainPlayerState.h:25
UPlayerAttributeSet
Definition
PlayerAttributeSet.h:10
USituationAttributeSet
Definition
SituationAttributeSet.h:12
Source
CK_UE
Character
Player
PlayerState
MainPlayerState.h
다음에 의해 생성됨 :
1.9.8