Manager for automatic Apex session reporting using UApexAPI.
More...
#include <ApexReportingManager.h>
Manager for automatic Apex session reporting using UApexAPI.
UCLASS(Blueprintable, meta=(ShowWorldContextPin))
Definition at line 18 of file ApexReportingManager.h.
◆ THandler
◆ THandlerKey
◆ THandlers
◆ UApexReportingManager()
UApexReportingManager::UApexReportingManager |
( |
| ) |
|
◆ CompleteApexSession()
void UApexReportingManager::CompleteApexSession |
( |
bool | Completed, |
|
|
bool | Success ) |
|
virtualBlueprintCallable |
This function is responsible for completing the session.
- Parameters
-
Completed | Shows if session was finished. |
Success | Shows if user finished session successfully. |
UFUNCTION(BlueprintCallable)
Definition at line 22 of file ApexReportingManager.cpp.
◆ DECLARE_EVENT_HANDLER() [1/5]
◆ DECLARE_EVENT_HANDLER() [2/5]
◆ DECLARE_EVENT_HANDLER() [3/5]
◆ DECLARE_EVENT_HANDLER() [4/5]
◆ DECLARE_EVENT_HANDLER() [5/5]
◆ EarlyExitSession()
void UApexReportingManager::EarlyExitSession |
( |
float | Score, |
|
|
float | MaxScore, |
|
|
TMap< FString, FString > | ExtensionParameters ) |
|
virtualBlueprintCallable |
This function is responsible for quitting the session without completing it.
- Parameters
-
Score | stores gained score. |
MaxScore | stores max score. |
ExtensionParameters | stores some extension parameters such as reason for quitting session before complete. |
UFUNCTION(BlueprintCallable)
Definition at line 56 of file ApexReportingManager.cpp.
◆ GENERATED_BODY()
UApexReportingManager::GENERATED_BODY |
( |
| ) |
|
|
private |
◆ GetAmountOfCompletedSteps()
int32 UApexReportingManager::GetAmountOfCompletedSteps |
( |
const TArray< FPassedExperiences > | PassedExperiences | ) |
const |
|
protected |
◆ GetApexSessionDuration()
int32 UApexReportingManager::GetApexSessionDuration |
( |
| ) |
|
|
protected |
Retrieves the duration of the Apex session.
- Returns
- The duration of the Apex session in seconds.
Definition at line 121 of file ApexReportingManager.cpp.
◆ GetPrivateOwner()
APlayerController * UBaseManager::GetPrivateOwner |
( |
| ) |
const |
|
inlineinherited |
◆ GetStatementData()
FXAPIStatement UApexReportingManager::GetStatementData |
( |
| ) |
|
|
BlueprintNativeEvent |
This function can be implemented in blueprint to send custom FXAPIStatement.
UFUNCTION(BlueprintNativeEvent)
◆ HandleEvent()
void UBaseManager::HandleEvent |
( |
UBaseEvent * | Event | ) |
|
|
inherited |
◆ HandleEvent_Impl()
void UBaseManager::HandleEvent_Impl |
( |
class UBaseEvent * | Event | ) |
|
|
protectedinherited |
◆ OnEndStoryReached()
void UApexReportingManager::OnEndStoryReached |
( |
| ) |
|
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent)
◆ OnInitialized()
void UApexReportingManager::OnInitialized |
( |
| ) |
|
|
BlueprintNativeEvent |
UFUNCTION(BlueprintNativeEvent)
◆ SendEvent()
template<typename TEventType , typename... TInitializeArgs>
void UBaseManager::SendEvent |
( |
TInitializeArgs... | Arguments | ) |
|
|
inlineinherited |
◆ SetPrivateOwner()
void UBaseManager::SetPrivateOwner |
( |
APlayerController * | Owner | ) |
|
|
inlineinherited |
◆ ApexStartTime
FDateTime UApexReportingManager::ApexStartTime |
|
protected |
◆ ApexSubSystem
UApexAPI* UApexReportingManager::ApexSubSystem |
|
protectedBlueprintReadOnly |
◆ CurrentStep
FText UApexReportingManager::CurrentStep |
|
protectedBlueprintReadOnly |
◆ Handlers
◆ LoadedStoryIndexesHistory
TArray<int32> UApexReportingManager::LoadedStoryIndexesHistory |
|
protected |
◆ PrivateOwner
APlayerController* UBaseManager::PrivateOwner |
|
privateinherited |
◆ ScoreFactor
int32 UApexReportingManager::ScoreFactor = 1 |
|
BlueprintReadWriteEditAnywhere |
The value by which the score reported in 'CompleteApexSession' will be multiplied.
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Setup")
Definition at line 112 of file ApexReportingManager.h.
◆ UseDefaultSessionEnd
bool UApexReportingManager::UseDefaultSessionEnd = true |
|
BlueprintReadWriteEditAnywhere |
◆ UseDefaultSessionStart
bool UApexReportingManager::UseDefaultSessionStart = true |
|
BlueprintReadWriteEditAnywhere |
◆ UseReportingEachStep
bool UApexReportingManager::UseReportingEachStep = true |
|
BlueprintReadWriteEditAnywhere |
Indicates whether reporting should occur after completing each step.
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Setup")
Definition at line 94 of file ApexReportingManager.h.
The documentation for this class was generated from the following files: