Overview

WCGASTransferSubsystem is a Tickable World Subsystem that serves as the central tracking and coordination system for all active effect and ability transfers in the Wonderscape GAS Ally plugin. It automatically initializes when the game world starts, registers and tracks all active transfers using O(1) TMap lookups, handles multiple expiration types (timer-based, range-based, death-based, logout-based), manages ownership chain tracking for multi-step transfer scenarios, coordinates with the Ability Grant Registry for duplicate-aware ability management, and provides comprehensive dead owner handling with configurable fallback behaviors.


Purpose

The Transfer Subsystem orchestrates all effect and ability transfer tracking by providing:


How It Works

Initialization Flow

  1. World Subsystem Startup: When the UWorld initializes (Game, PIE, or GamePreview world types), the subsystem automatically creates via UE's subsystem lifecycle
  2. Setup Cleanup Timer: Creates a 30-second looping timer that calls CleanupStaleEntries() to remove transfers with invalid ASC weak references