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 15:35:19 -07:00
|
|
|
|
#include "AbilitySystem/GasaAttributeSet.h"
|
2024-04-13 08:09:22 -07:00
|
|
|
|
|
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
|
|
|
|
|
2024-04-13 15:35:19 -07:00
|
|
|
|
Attributes = CreateDefaultSubobject<UGasaAttributeSet>("Attributes");
|
2024-04-13 08:09:22 -07:00
|
|
|
|
|
2024-04-13 07:19:45 -07:00
|
|
|
|
// Replication
|
|
|
|
|
NetUpdateFrequency = 100.f;
|
|
|
|
|
}
|