API reference

FOvrPageRequestLatentAction Class

It's a latent action for most blueprint nodes that wait for OVR Platform responses. It provides a way to handle requests for paged arrays in a latent manner, allowing for the processing of responses, such as UOvrPageRequestsBlueprintLibrary::FetchAchievementDefinitionPage.

Constructors

FOvrPageRequestLatentAction ( LatentInfo , OutExecs , ErrorMsg , RG , RP )
Signature
FOvrPageRequestLatentAction::FOvrPageRequestLatentAction(const FLatentActionInfo &LatentInfo, EOvrPageRequestOutputPins &OutExecs, FString &ErrorMsg, OvrPlatformRequestGenerator &&RG, OvrPlatformResponseProcessor &&RP)
Parameters
LatentInfo: const FLatentActionInfo &
ErrorMsg: FString &

Fields

bRequestSuccessful : bool
This variable indicates whether the request to the OVRP Subsystem was successful.
Signature
bool FOvrPageRequestLatentAction::bRequestSuccessful
bResponseProcessed : bool
This variable indicates whether the response from the Oculus VR Platform (OVRP) Subsystem has been processed.
Signature
bool FOvrPageRequestLatentAction::bResponseProcessed
bThenPinExecuted : bool
This variable indicates whether the "then" pin of the latent action has been executed.
Signature
bool FOvrPageRequestLatentAction::bThenPinExecuted
ErrorMsg : FString &
This output pin is used to pass an error message back to the blueprint if the request to the OVRP Subsystem failed.
Signature
FString& FOvrPageRequestLatentAction::ErrorMsg
The current page number. This output pin is used to pass an array of execution pins back to the blueprint. Each execution pin represents a page of data that was retrieved from the OVRP Subsystem.
Signature
EOvrPageRequestOutputPins& FOvrPageRequestLatentAction::OutExecs

Member Functions

UpdateOperation ( Response )
It's responsible for updating the state of the latent action based on the current state of the request to the Oculus VR Platform (OVRP) Subsystem.
Signature
virtual void FOvrPageRequestLatentAction::UpdateOperation(FLatentResponse &Response) override
Parameters
Response: FLatentResponse &
Returns
void