๐ Player Connection Interface
Short Description
Unified interface for querying player connection metadata from QoL objects.
Long Description
The interface exposes stable IDs, net IDs, and connection indices for both PlayerController and PlayerState instances. It is designed to keep Blueprint queries consistent when working with QoL reference arrays.
๐ Features
- Access to net IDs, stable IDs, and connection indices.
- Works on both PlayerController and PlayerState instances.
๐ Usage Examples
Cast a QoL reference to GorgeousPlayerConnectionInfo to access connection metadata.
if (IGorgeousPlayerConnectionInfo_I* Info = Cast<IGorgeousPlayerConnectionInfo_I>(SomeObject))
{
FString StableId = Info->Execute_GetGorgeousStablePlayerId(SomeObject);
}
GetGorgeousStablePlayerId
Returns the stable player ID registered in the local player registry.
No parameters.
Use the Stable ID interface function on a PlayerState.
Best Practices
- Prefer PlayerState when querying all players on a client.
- Use stable IDs for long-lived references.
Troubleshooting
- If stable IDs are empty on clients, ensure the local player registry is active.