GASATHON/Project/Source/Gasa/Characters/PlayerCharacter.cpp

34 lines
696 B
C++

#include "PlayerCharacter.h"
#include "Networking/GasaNetLibrary_Inlines.h"
#include "AbilitySystemComponent.h"
#include "Game/GasaPlayerController.h"
#include "UI/GasaHUD.h"
#include "UI/WidgetController.h"
APlayerCharacter::APlayerCharacter()
{
PrimaryActorTick.bCanEverTick = true;
bAutoAbilitySystem = false;
}
#pragma region ICombat
int32 APlayerCharacter::GetPlayerLevel()
{
return GetPlayerState<AGasaPlayerState>()->PlayerLevel;
}
#pragma endregion ICombat
#pragma region Pawn
void APlayerCharacter::PossessedBy(AController* NewController)
{
Super::PossessedBy(NewController);
}
void APlayerCharacter::OnRep_PlayerState()
{
Super::OnRep_PlayerState();
}
#pragma endregion Pawn