Navigation
API > API/Plugins > API/Plugins/MassEQS > API/Plugins/MassEQS/IMassEQSRequestInterface
References
| Module | MassEQS |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassEQS/Public/MassEQSTypes.h |
| Include | #include "MassEQSTypes.h" |
Syntax
struct FMassEQSRequestHandler
Remarks
Stores relevant information for managing requests sent to MassEQSSubsystem. Provides generic functionality for Sending, Receiving, and Canceling these requests. Any class who implements IMassEQSRequestInterface should have one of these.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | CachedRequestQueueIndex | ||
| TObjectPtr< UMassEQSSubsystem > | MassEQSSubsystem | Cached MassEQSSubsystem pointer for interacting with this subsystem. | |
| float | MaxRequestTime | The max amount of time allowed for this request. CancelRequest will be called if this is used after this time has elapsed. | |
| FMassEQSRequestHandle | RequestHandle | Handle for request in MassEQSSubsystem. | |
| float | RequestStartTime | The point in time that an ongoing request was sent, -1 if none have been sent. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Cancel request if currently ongoing. | ||
| bool | |||
| void | Reset () |
Reset RequestID to 0 and RequestStartTime to -1.f | |
| void | SendOrRecieveRequest
(
FEnvQueryInstance& QueryInstance, |
Called when an EnvQueryInstance is trying to run a Generator or Test who implements this. |
Constants
| Name | Description |
|---|---|
| DefaultMaxRequestTime |