// 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(); return PS ? PS->GetAbilitySystemComponent() : nullptr; }