Skip to content

Commit 554faf4

Browse files
Updated from pipeline, Version : 15.0.0
1 parent da2c0b6 commit 554faf4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+913
-546
lines changed

.variables

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export DO_UPDATE=true
22
export LEVEL=CRITICAL
33
export REPO_NAME=justice-unreal-sdk-plugin
4-
export WORKDIR=/tmp/pipelines/2673136433/579136363/
5-
export COMMIT_HASH=f2c97827082e85b5eb407f4590558c283bc7322b
6-
export GIT_HASH=f2c97827082e85b5eb407f4590558c283bc7322b
7-
export VERSION=14.0.0
8-
export REVISION_ID=14.0.0
4+
export WORKDIR=/tmp/pipelines/2732863279/590000501/
5+
export COMMIT_HASH=5cfc012e54ce8d60d211584c3b363806afe949d7
6+
export GIT_HASH=5cfc012e54ce8d60d211584c3b363806afe949d7
7+
export VERSION=15.0.0
8+
export REVISION_ID=15.0.0
99
10-
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE0LjAuMCAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='
10+
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE1LjAuMCAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [15.0.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/15.0.0%0D14.0.0) (2022-07-18)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* **reporting:** Changed AdditionalInfo datatype from dictionary to a struct / JsonObject later
11+
12+
### Features
13+
14+
* add setby from server response function GetGameRecord ([280a5d0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/280a5d0d16e17c37582e4564459456f8b7b376b9))
15+
* Adding SortBy parameter of AccelByteModelsItemCriteria to call GetItemsByCriteria blueprint function ([5c51226](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/5c512263c27bb125fecdc4d19832a7979adc1243))
16+
* **basic:** added category (optional) param in upload generate URL for user content ([9dcb1af](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/9dcb1af412310a303efbab0b1d1b0b540d40d689))
17+
* **basic:** Expose generate upload URL ([2ab1517](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/2ab15174509b88331907f586e014688cfb302b87))
18+
* **ecommerce:** Support to sync Durable items from Epic Game Store ([d2aae0b](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/d2aae0bb3bee7117b1f633fce2cf2d877fa7b11e))
19+
* Implement query game record method for ServerCloudSave ([2e9441a](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/2e9441aa4e19060113556f474513ca7c0f5e6606))
20+
* **item:** get Item Dynamic Data ([8343831](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/8343831c6012f192c65c21fc1b8d1f57497776a9))
21+
* Purchasing Requirements ([c331c94](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/c331c944c409350d087c5df18591a4b23bcd0aac))
22+
* **reporting:** Reporting Signature Adjustment ([5e00a2a](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/5e00a2a9f1725d23297e3b8c4fb5ada6e90287d9))
23+
* sdk adjustment for avoiding breaking changes and revisioning/reverting of phase 2 cleanup legacy Avatar/User Profile implementation ([27a16c6](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/27a16c62d7ecb071f1330be100540e94c709d213))
24+
* Set the currencyType for Currency.GetCurrencyList ([30067e7](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/30067e7f6fcda6a135cc33b38735376512596820))
25+
* **User:** add country and DoB on FAccountUserData ([96acefc](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/96acefcfb8672b5196ec84d3b32627e203a88a9d))
26+
27+
28+
### Bug Fixes
29+
30+
* add UMETA to the Environment enum class to fix compile errors ([7c64000](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/7c64000b059617e54d2f6b3c7420c73e3d476125))
31+
* **blueprints:** add missing category for any class exposed to Blueprints which use UPROPERTY ([c9e477b](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/c9e477b489813e93c81a5cbacfd6960defc5ddf7))
32+
* **blueprints:** wrong function name for Fulfillment to redeem code ([8a59361](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/8a59361493a8cc188b00a155ebdb6b504a1dd11c))
33+
* **item:** wrong query parameters creation on GetItemsByCriteria ([fb4c584](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/fb4c58408fca6aaf3535c68696318bbf5efac859))
34+
535
## [14.0.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/14.0.0%0D13.0.0) (2022-07-04)
636

737

Content/CompatibilityMap.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"iam": {
3-
"minVersion": "5.12.0",
4-
"maxVersion": "5.12.0"
3+
"minVersion": "5.13.0",
4+
"maxVersion": "5.13.0"
55
},
66
"agreement": {
7-
"minVersion": "1.22.3",
8-
"maxVersion": "1.22.3"
7+
"minVersion": "1.22.4",
8+
"maxVersion": "1.22.4"
99
},
1010
"basic": {
11-
"minVersion": "2.0.0",
12-
"maxVersion": "2.0.0"
11+
"minVersion": "2.1.0",
12+
"maxVersion": "2.1.0"
1313
},
1414
"platform": {
15-
"minVersion": "4.11.0",
16-
"maxVersion": "4.11.0"
15+
"minVersion": "4.12.0",
16+
"maxVersion": "4.12.0"
1717
},
1818
"social": {
1919
"minVersion": "1.29.3",
@@ -32,24 +32,24 @@
3232
"maxVersion": "3.1.1"
3333
},
3434
"ugc": {
35-
"minVersion": "2.2.1",
36-
"maxVersion": "2.2.1"
35+
"minVersion": "2.3.0",
36+
"maxVersion": "2.3.0"
3737
},
3838
"lobby": {
39-
"minVersion": "3.11.1",
40-
"maxVersion": "3.11.1"
39+
"minVersion": "3.11.2",
40+
"maxVersion": "3.11.2"
4141
},
4242
"group": {
4343
"minVersion": "2.11.6",
4444
"maxVersion": "2.11.6"
4545
},
4646
"qosm": {
47-
"minVersion": "1.14.2",
48-
"maxVersion": "1.14.2"
47+
"minVersion": "1.14.3",
48+
"maxVersion": "1.14.3"
4949
},
5050
"dsmcontroller": {
51-
"minVersion": "3.3.0",
52-
"maxVersion": "3.3.0"
51+
"minVersion": "3.4.0",
52+
"maxVersion": "3.4.0"
5353
},
5454
"game-telemetry": {
5555
"minVersion": "1.7.2",

Source/AccelByteUe4Sdk/Private/Api/AccelByteCloudSaveApi.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,9 @@ void CloudSave::GetGameRecord(FString const& Key, THandler<FAccelByteModelsGameR
466466
FString UpdatedAt;
467467
JSONObject.TryGetStringField("updated_at", UpdatedAt);
468468
FDateTime::ParseIso8601(*UpdatedAt, GameRecord.UpdatedAt);
469+
FString SetByString;
470+
JSONObject.TryGetStringField("set_by", SetByString);
471+
GameRecord.SetBy = FAccelByteUtilities::GetUEnumValueFromString<ESetByMetadataRecord>(SetByString);
469472
TSharedPtr<FJsonObject> const* value;
470473
JSONObject.TryGetObjectField("value", value);
471474
GameRecord.Value = ConvertJsonObjToJsonObjWrapper(value);

Source/AccelByteUe4Sdk/Private/Api/AccelByteCurrencyApi.cpp

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
#include "Core/AccelByteRegistry.h"
88
#include "Core/AccelByteReport.h"
99
#include "Core/AccelByteHttpRetryScheduler.h"
10-
#include "Core/AccelByteSettings.h"
10+
#include "Core/AccelByteSettings.h"
11+
#include "Core/AccelByteUtilities.h"
1112

1213
namespace AccelByte
1314
{
@@ -25,7 +26,8 @@ Currency::Currency(Credentials const& InCredentialsRef
2526
Currency::~Currency()
2627
{}
2728

28-
void Currency::GetCurrencyList(const FString& Namespace, const THandler<TArray<FAccelByteModelsCurrencyList>>& OnSuccess, const FErrorHandler& OnError)
29+
void Currency::GetCurrencyList(const FString& Namespace, const THandler<TArray<FAccelByteModelsCurrencyList>>& OnSuccess, const FErrorHandler& OnError,
30+
EAccelByteCurrencyType CurrencyType)
2931
{
3032
FReport::Log(FString(__FUNCTION__));
3133

@@ -36,6 +38,12 @@ void Currency::GetCurrencyList(const FString& Namespace, const THandler<TArray<F
3638
FString Accept = TEXT("application/json");
3739
FString Content = TEXT("");
3840

41+
if (CurrencyType != EAccelByteCurrencyType::NONE)
42+
{
43+
FString Query = FString::Printf(TEXT("currencyType=%s"), *FAccelByteUtilities::GetUEnumValueAsString(CurrencyType));
44+
Url.Append(Query.IsEmpty() ? TEXT("") : FString::Printf(TEXT("?%s"),*Query));
45+
}
46+
3947
FHttpRequestPtr Request = FHttpModule::Get().CreateRequest();
4048
Request->SetURL(Url);
4149
Request->SetHeader(TEXT("Authorization"), Authorization);

Source/AccelByteUe4Sdk/Private/Api/AccelByteEntitlementApi.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,5 +495,23 @@ void Entitlement::SyncTwitchDropEntitlement(FAccelByteModelsTwitchDropEntitlemen
495495
HttpClient.ApiRequest("PUT", Url, {}, Content, OnSuccess, OnError);
496496
}
497497

498+
void Entitlement::SyncEpicGameDurableItems(FString const& EpicGamesJwtToken, FVoidHandler const& OnSuccess, FErrorHandler const& OnError)
499+
{
500+
FReport::Log(FString(__FUNCTION__));
501+
502+
// Url
503+
FString Url = FString::Printf(TEXT("%s/public/namespaces/%s/users/%s/dlc/epicgames/sync"), *SettingsRef.PlatformServerUrl, *CredentialsRef.GetNamespace(), *CredentialsRef.GetUserId());
504+
// Content Body
505+
FString Content = TEXT("");
506+
FJsonObject DataJson;
507+
DataJson.SetStringField("epicGamesJwtToken", EpicGamesJwtToken);
508+
TSharedPtr<FJsonObject> JsonObject = MakeShared<FJsonObject>(DataJson);
509+
TSharedRef<TJsonWriter<>> Writer = TJsonWriterFactory<>::Create(&Content);
510+
FJsonSerializer::Serialize(JsonObject.ToSharedRef(), Writer);
511+
512+
// Api Request
513+
HttpClient.ApiRequest("PUT", Url, {}, Content, OnSuccess, OnError);
514+
}
515+
498516
} // Namespace Api
499517
}

0 commit comments

Comments
 (0)