GASATHON/Project/Source/Gasa/Game/GasaPlayerState.cpp

16 lines
442 B
C++
Raw Normal View History

2024-04-13 07:19:45 -07:00
#include "GasaPlayerState.h"
2024-04-13 08:09:22 -07:00
#include "AbilitySystem/GasaAbilitySystemComponent.h"
2024-04-13 07:19:45 -07:00
AGasaPlayerState::AGasaPlayerState()
{
2024-04-13 08:09:22 -07:00
AbilitySystem = CreateDefaultSubobject<UGasaAbilitySystemComp>("Ability System");
AbilitySystem->SetIsReplicated(true);
2024-04-13 08:56:19 -07:00
AbilitySystem->SetReplicationMode(EGameplayEffectReplicationMode::Mixed);
2024-04-13 08:09:22 -07:00
Attributes = CreateDefaultSubobject<UAttributeSet>("Attributes");
2024-04-13 07:19:45 -07:00
// Replication
NetUpdateFrequency = 100.f;
}