Every PGX system exposes a clean Blueprint API through dedicated Blueprint Libraries. Zero subsystem access needed.
Every system follows the same 4-level category pattern: Core (3–4 most used) → Query (read-only) → Advanced (batch, cache) → Debug (history, telemetry).
Each system exposes its full API through a single UPGXFooBlueprintLibrary. Representative nodes shown below.
Pseudocode showing typical Blueprint node flows. Every node is a static function — no subsystem reference needed.
// Blueprint: Save a player's inventory to a domain PGX Save | Data | Write SetDomainValue( DomainTag: "PGX.Save.Domain.Player", Key: "Health", Value: 100 ) SetDomainValue( DomainTag: "PGX.Save.Domain.Player", Key: "Gold", Value: 5400 ) PGX Save | Core QuickSaveAsync( SlotTag: "PGX.Save.Slot.Auto" ) → OnComplete(bSuccess) // OnComplete fires when disk write finishes // Checksum sidecar written automatically
// Blueprint: Play background music + sound effect PGX Audio | Core PlayMusic( MusicTag: "PGX.Audio.Music.MainTheme", FadeIn: 2.0 ) PlaySound( SoundTag: "PGX.Audio.SFX.UIConfirm" ) PGX Audio | Query SetChannelVolume( ChannelTag: "PGX.Audio.Channel.Music", Volume: 0.7 ) GetChannelVolume( ChannelTag: "PGX.Audio.Channel.SFX" ) → float CurrentVolume
// Blueprint: Register a handler, then fire an event PGX EventHandler | Core RegisterHandler( EventTag: "PGX.Event.Ability.Cast", Priority: 100, Callback: OnAbilityCast ) FirePGXEvent( EventTag: "PGX.Event.Ability.Cast", Context: AbilityContext ← morphing pin, any struct ) // Resolution: handlers sorted by priority // Handler at P:100 runs first // If it returns Handled, lower-priority handlers are skipped // ConflictPolicy controls this behavior per event tag
The 4-level pattern above isn’t theory. Here it is in the actual editor: Data, Data|Read, Data|Write, Query, Advanced, Debug. 27 nodes organized so you find the right one without scrolling a flat list.
Fire events, register handlers, query execution history. The same Core/Query/Advanced/Debug pattern you already know from Save. Learn one, know them all.