2.9.16
Coherent GT
A modern user interface library for games
Coherent::UIGT::LoadResourceResponseUIGT Class Referenceabstract

Objects of this type are used from the client to control the loading of the resources. More...

#include <Coherent/Coherent/UIGT/ResourceResponseUIGT.h>

Public Member Functions

virtual void SignalContinueLoadResourceResponse ()=0
 Signals the UI system that the resource has to be loaded.
 
virtual void SignalCancelLoadResourceResponse ()=0
 Signals the UI system that the resource has to be canceled.
 
virtual void Release ()=0
 Releases the memory for this response. You MUST call release on this object after you've read the resource, otherwise memory leaks will occur.
 
virtual void SetCancelCode (int code)
 Set a custom cancel code. Defaults to 403 if left unspecified. More...
 

Detailed Description

Objects of this type are used from the client to control the loading of the resources.

Member Function Documentation

◆ SetCancelCode()

virtual void Coherent::UIGT::LoadResourceResponseUIGT::SetCancelCode ( int  code)
inlinevirtual

Set a custom cancel code. Defaults to 403 if left unspecified.

Parameters
codeHTTP code to set on the request to signal failure.