Initialize Git with LFS for binary assets and add standard Unreal Engine .gitignore/.gitattributes. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
743 B
C++
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;
|
|
}
|
|
|