-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated from pipeline, Version : 26.2.0
- Loading branch information
1 parent
74d1c04
commit 2fd9b0d
Showing
42 changed files
with
1,436 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
export DO_UPDATE=true | ||
export LEVEL=CRITICAL | ||
export REPO_NAME=justice-unreal-sdk-plugin | ||
export WORKDIR=/tmp/pipelines/7627503846/1420842363/ | ||
export COMMIT_HASH=a81081e5766309e4756cf501493ec919be8b655f | ||
export GIT_HASH=a81081e5766309e4756cf501493ec919be8b655f | ||
export VERSION=26.1.1 | ||
export REVISION_ID=26.1.1 | ||
export WORKDIR=/tmp/pipelines/7862924541/1459818522/ | ||
export COMMIT_HASH=003473edf005d7cc8263e4cb21cb3ae2bf0dbbaa | ||
export GIT_HASH=003473edf005d7cc8263e4cb21cb3ae2bf0dbbaa | ||
export VERSION=26.2.0 | ||
export REVISION_ID=26.2.0 | ||
export [email protected] | ||
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDI2LjEuMSAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo=' | ||
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDI2LjIuMCAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2luc2Fnc1ZlcnNpb246IjMuNzcuMCIKCg==' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
Source/AccelByteUe4Sdk/Private/Api/AccelByteSessionHistoryApi.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Copyright (c) 2023 AccelByte Inc. All Rights Reserved. | ||
// This is licensed software from AccelByte Inc, for limitations | ||
// and restrictions contact your company contract manager. | ||
|
||
#include "Api/AccelByteSessionHistoryApi.h" | ||
#include "Core/AccelByteRegistry.h" | ||
#include "Core/AccelByteHttpRetryScheduler.h" | ||
#include "Core/AccelByteReport.h" | ||
#include "Core/AccelByteSettings.h" | ||
#include "Core/AccelByteUtilities.h" | ||
#include "Misc/Base64.h" | ||
|
||
namespace AccelByte | ||
{ | ||
namespace Api | ||
{ | ||
|
||
SessionHistory::SessionHistory(Credentials const& InCredentialsRef | ||
, Settings const& InSettingsRef | ||
, FHttpRetryScheduler& InHttpRef) | ||
: FApiBase(InCredentialsRef, InSettingsRef, InHttpRef) | ||
{} | ||
|
||
SessionHistory::~SessionHistory(){} | ||
|
||
FAccelByteTaskWPtr SessionHistory::QueryGameSessionHistory(THandler<FAccelByteModelsGameSessionHistoriesResult> const& OnSuccess | ||
, FErrorHandler const& OnError | ||
, EAccelByteGeneralSortBy const& SortBy | ||
, int32 Offset | ||
, int32 Limit) | ||
{ | ||
FReport::Log(FString(__FUNCTION__)); | ||
|
||
const FString Url = FString::Printf(TEXT("%s/v1/public/namespaces/%s/users/me/gamesessions") | ||
, *SettingsRef.SessionHistoryServerUrl | ||
, *CredentialsRef->GetNamespace()); | ||
|
||
const TMultiMap<FString, FString> QueryParams{ | ||
{ TEXT("order"), FAccelByteUtilities::ConvertAccelByteGeneralSortByToString(SortBy) }, | ||
{ TEXT("limit"), Limit > 0 ? FString::FromInt(Limit) : TEXT("") }, | ||
{ TEXT("offset"), Offset >= 0 ? FString::FromInt(Offset) : TEXT("") } | ||
}; | ||
|
||
return HttpClient.ApiRequest(TEXT("GET"), Url, QueryParams, OnSuccess, OnError); | ||
} | ||
|
||
} // Namespace Api | ||
} // Namespace AccelByte |
Oops, something went wrong.