๐งพ RPC Result Helpers
Short Description
Blueprint helper library for unpacking AutoReplication RPC results and responder metadata.
Long Description
The result helpers convert raw RPC result structures into easy-to-consume values. They provide shortcuts to the primary responder, return Object Variable, and readable responder descriptions.
๐ Features
- Read primary and per-responder results.
- Extract return Object Variables from aggregated results.
- Inspect responder metadata and progress.
๐ Usage Examples
Use Get Primary Value Result to access the return Object Variable directly.
FGorgeousAutoReplicationRPCResult Primary = UGorgeousAutoReplicationRPCResultLibrary::GetPrimaryResult(AsyncResult);
UGorgeousObjectVariable* ReturnVar = UGorgeousAutoReplicationRPCResultLibrary::GetTargetVariable(Primary);
GetPrimaryValueResult
Returns a slim result structure with the handler-written return Object Variable and responder info.
| Parameter Name | Type | Description |
|---|---|---|
AsyncResult |
FGorgeousAutoReplicationRPCAsyncResult |
Aggregated RPC completion payload. |
Call Get Primary Value Result then cast ReturnOV to your expected type.
Best Practices
- Use the slim value result when you only need the return OV.
- Use responder helpers to debug multi-client RPC fan-out.
Troubleshooting
- If
ReturnOVis null, verify the handler wrote to the first parameter OV. - If responder keys look empty, ensure the relay component is active on clients.