Files
tedwardsandCursor ff5640a020 Establish UE 5.8 known-good baseline with Batch 1 archaeology docs.
Initialize Git with LFS for binary assets and add standard Unreal Engine .gitignore/.gitattributes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 19:40:19 -07:00

25 lines
743 B
C++

// 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<URIRAbilitySystemComponent>("AbilitySystemComponent");
AbilitySystemComponent->SetIsReplicated(true);
AbilitySystemComponent->SetReplicationMode(EGameplayEffectReplicationMode::Mixed);
// AttributeSet
AttributeSet = CreateDefaultSubobject<URIRAttributeSet>("AttributeSet");
NetUpdateFrequency = 100.f;
}
UAbilitySystemComponent* ARIRPlayerState::GetAbilitySystemComponent() const
{
return AbilitySystemComponent;
}