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.
The Transfer Subsystem orchestrates all effect and ability transfer tracking by providing:
TransferID → FWCGASTrackedEffectTransfer) enabling O(1) registration, lookup, and unregistrationTransferID → FWCGASTrackedAbilityTransfer) with identical O(1) performance characteristicsFWCGASOwnershipChain) enabling return-to-source, return-to-origin, and chain-walking operationsNotifyActorDeath) and player logout (via FGameModeEvents::GameModeLogoutEvent)UWorld initializes (Game, PIE, or GamePreview world types), the subsystem automatically creates via UE's subsystem lifecycleCleanupStaleEntries() to remove transfers with invalid ASC weak references