// REALMS IN RUIN. Copyright (c) 2025 Trevor Edwards. All rights reserved. #include "Player/RIRPlayerState.h" #include "Abilities/RIRAbilitySystemComponent.h" #include "Attributes/RIRAttributeSet.h" ARIRPlayerState::ARIRPlayerState() { // AbilitySystemComponent AbilitySystemComponent = CreateDefaultSubobject("AbilitySystemComponent"); AbilitySystemComponent->SetIsReplicated(true); AbilitySystemComponent->SetReplicationMode(EGameplayEffectReplicationMode::Mixed); // AttributeSet AttributeSet = CreateDefaultSubobject("AttributeSet"); NetUpdateFrequency = 100.f; } UAbilitySystemComponent* ARIRPlayerState::GetAbilitySystemComponent() const { return AbilitySystemComponent; }