35 UFUNCTION(BlueprintCallable)
36 virtual
void CompleteApexSession(
bool Completed,
bool Success);
44 UFUNCTION(BlueprintCallable)
45 virtual
void EarlyExitSession(
float Score,
float MaxScore, TMap<FString, FString> ExtensionParameters);
50 UFUNCTION(BlueprintNativeEvent)
51 FXAPIStatement GetStatementData();
53 UFUNCTION(BlueprintNativeEvent)
56 UFUNCTION(BlueprintNativeEvent)
57 void OnEndStoryReached();
62 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Setup")
63 bool UseDefaultSessionStart = true;
67 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Setup")
68 bool UseReportingEachStep = true;
72 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Setup")
73 bool UseDefaultSessionEnd = true;
77 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Setup")
78 int32 ScoreFactor = 1;
81 int32 GetAmountOfCompletedSteps(const TArray<
FPassedExperiences> PassedExperiences) const;
86 int32 GetApexSessionDuration();
88 UPROPERTY(BlueprintReadOnly)
89 UApexAPI* ApexSubSystem;
90 UPROPERTY(BlueprintReadOnly)
93 FDateTime ApexStartTime;
94 TArray<int32> LoadedStoryIndexesHistory;
Event called when we complete last step.
Event called when new story is loaded.