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

26 lines
749 B
C++

// REALMS IN RUIN. Copyright (c) 2025 Trevor Edwards. All rights reserved.
#include "Characters/RIRBaseCharacter.h"
#include "Player/RIRPlayerState.h"
#include "Abilities/RIRAbilitySystemComponent.h"
#include "Attributes/RIRAttributeSet.h"
#include "AbilitySystemComponent.h"
#include "GameFramework/Controller.h"
ARIRBaseCharacter::ARIRBaseCharacter()
{
// Optional: initialize components, set default properties, etc
}
void ARIRBaseCharacter::BeginPlay()
{
Super::BeginPlay();
// GAS Initialization moved to PossessedBy / OnRep_PlayerState
}
UAbilitySystemComponent* ARIRBaseCharacter::GetAbilitySystemComponent() const
{
ARIRPlayerState* PS = GetPlayerState<ARIRPlayerState>();
return PS ? PS->GetAbilitySystemComponent() : nullptr;
}