GASATHON/Project/Source/Gasa/Game/GasaPlayerState.cpp
2024-04-13 11:56:19 -04:00

16 lines
442 B
C++

#include "GasaPlayerState.h"
#include "AbilitySystem/GasaAbilitySystemComponent.h"
AGasaPlayerState::AGasaPlayerState()
{
AbilitySystem = CreateDefaultSubobject<UGasaAbilitySystemComp>("Ability System");
AbilitySystem->SetIsReplicated(true);
AbilitySystem->SetReplicationMode(EGameplayEffectReplicationMode::Mixed);
Attributes = CreateDefaultSubobject<UAttributeSet>("Attributes");
// Replication
NetUpdateFrequency = 100.f;
}