✨ Quality of Life (QoL) Overview
Short Description
Quality of Life classes provide a "Gorgeous-ready" foundation for standard Unreal Engine classes, with built-in ecosystem integrations.
Long Description
Standard Unreal classes like AGameState, APlayerController, and AGameMode are powerful but often require boilerplate to integrate with advanced systems. Gorgeous Core's QoL module provides subclasses that come pre-configured with AutoReplication mixins, Object Variable support, and helper methods to reduce development time and complexity.
🚀 Key Classes
| Class | Description |
|---|---|
| GameInstance | Registry resolution and global state management. |
| PlayerController | Interaction bridging and local variable access. |
| GameState | Global replicated variable container. |
| WorldSettings | Per-level configuration and ecosystem hooks. |
📚 Example: Accessing a QoL State
// Cast to the QoL Game State to access Gorgeous features
AGorgeousGameState* GS = Cast<AGorgeousGameState>(GetWorld()->GetGameState());
if (GS)
{
// The GameState already has a replication mixin ready to go
GS->GetReplicationMixin().RegisterVariable(MyVar);
}