16 lines
442 B
C++
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;
|
|
}
|