Ed_
2574960fff
- Just a old name for a set of changes to make the game framework hardened for multiplayer as well as some ease of use functionality.
19 lines
520 B
C++
19 lines
520 B
C++
#include "GasaPlayerState.h"
|
|
|
|
#include "AbilitySystem/GasaAbilitySystemComponent.h"
|
|
#include "AbilitySystem/GasaAttributeSet.h"
|
|
|
|
AGasaPlayerState::AGasaPlayerState()
|
|
{
|
|
bAutoAbilitySystem = true;
|
|
|
|
AbilitySystem = CreateDefaultSubobject<UGasaAbilitySystemComp>("Ability System");
|
|
AbilitySystem->SetIsReplicated(true);
|
|
AbilitySystem->SetReplicationMode(EGameplayEffectReplicationMode::Mixed);
|
|
|
|
Attributes = CreateDefaultSubobject<UGasaAttributeSet>("Attributes");
|
|
|
|
// Replication
|
|
NetUpdateFrequency = 100.f;
|
|
}
|