Overview

WCGASLevelingComponent is a lightweight ActorComponent that manages per-actor leveling state and experience points. It registers with the WCGASLevelingSubsystem for centralized leveling logic while maintaining individual actor progression. The component handles XP awards, level-up detection, milestone tracking for Souls-like systems, and attribute purchase history for escalating costs.


Core Functionality


Initialization Flow

Automatic Initialization (Default Behavior):

  1. Component reaches BeginPlay
  2. bAutoInitializeOnBeginPlay = true triggers automatic initialization
  3. Configuration validation (ASC exists, XP attribute valid)