Skip to content

Commit 9611b45

Browse files
Updated from pipeline, Version : 19.0.0
1 parent 60f4b21 commit 9611b45

25 files changed

+320
-45
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/3148225272/662361682/
5-
export COMMIT_HASH=f4d29093cafe70fd6e678753d8363323b1d9f260
6-
export GIT_HASH=f4d29093cafe70fd6e678753d8363323b1d9f260
7-
export VERSION=18.0.0
8-
export REVISION_ID=18.0.0
4+
export WORKDIR=/tmp/pipelines/3216519739/675126307/
5+
export COMMIT_HASH=4d9152aa287d60fa5977698cb0d339122878ae9a
6+
export GIT_HASH=4d9152aa287d60fa5977698cb0d339122878ae9a
7+
export VERSION=19.0.0
8+
export REVISION_ID=19.0.0
99
10-
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE4LjAuMCAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='
10+
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE5LjAuMCAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='

AccelByteUe4Sdk.uplugin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"FileVersion": 3,
3-
"Version": 3,
4-
"VersionName": "18.0.0",
3+
"Version": 4,
4+
"VersionName": "19.0.0",
55
"FriendlyName": "AccelByte Unreal Engine SDK",
66
"Description": "Official AccelByte SDK for Unreal Engine 4",
77
"Category": "Online Platform",

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+
## [19.0.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/19.0.0%0D18.0.0) (2022-10-24)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* renamed some variable in item info model
11+
12+
### Features
13+
14+
* **ABUtilities:** add function to get JsonString ([d5b4933](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/d5b49333326ef29601d323083a61904ed74026fe))
15+
* Bulk get user season progression API ([2e4adcd](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/2e4adcda4d06f80e4935b1f89735def68e5b9f75))
16+
* command line args switch parser ([398952d](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/398952da6cfb9d43a18b3b4f21fbcea81c96d60a))
17+
* expose update channel public endpoint ([cbdaf3a](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/cbdaf3aae1658b1c026ed0f70f8a170c1a7f0054))
18+
* implement get credential turn server ([c84b33f](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/c84b33fba54c54912752dbf210ab5cb0278987fe))
19+
* **qos:** re-enable udpecho on android ([3084896](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/3084896b169945f069d8c30f63db285cf97a6691))
20+
* **Session:** add TIMEOUT in session member status enum ([7574d07](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/7574d074d96e594a1c2361fd073ebf668ca212cc))
21+
22+
23+
### Bug Fixes
24+
25+
* add some missing headers ([5ca5fec](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/5ca5fec1ca6b4471952493a2476debb4ab4324da))
26+
27+
28+
### Reverts
29+
30+
* Revert "feat(session)!: Add session and party info in Game and Party session member changed notif and DS status change notif" ([86d4a06](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/86d4a06838436e0db4d8177ac2c9535869a0c905))
31+
32+
33+
* Merge remote-tracking branch 'remotes/origin/hotfix/17.0.0' into hotfix/resolve-conflict-17.0.0-master ([256353b](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/256353bfa2cf774233ded2e0b818a244bf2ba7c6))
34+
535
## [18.0.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/18.0.0%0D17.0.2) (2022-10-10)
636

737

Content/CompatibilityMap.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
{
22
"iam": {
3-
"minVersion": "5.19.0",
4-
"maxVersion": "5.19.0"
3+
"minVersion": "5.20.0",
4+
"maxVersion": "5.20.0"
55
},
66
"agreement": {
7-
"minVersion": "1.24.0",
8-
"maxVersion": "1.24.0"
7+
"minVersion": "1.24.1",
8+
"maxVersion": "1.24.1"
99
},
1010
"basic": {
11-
"minVersion": "2.2.0",
12-
"maxVersion": "2.2.0"
11+
"minVersion": "2.2.1",
12+
"maxVersion": "2.2.1"
1313
},
1414
"platform": {
15-
"minVersion": "4.16.0",
16-
"maxVersion": "4.16.0"
15+
"minVersion": "4.17.0",
16+
"maxVersion": "4.17.0"
1717
},
1818
"social": {
19-
"minVersion": "1.30.0",
20-
"maxVersion": "1.30.0"
19+
"minVersion": "1.30.1",
20+
"maxVersion": "1.30.1"
2121
},
2222
"leaderboard": {
23-
"minVersion": "2.15.8",
24-
"maxVersion": "2.15.8"
23+
"minVersion": "2.15.9",
24+
"maxVersion": "2.15.9"
2525
},
2626
"achievement": {
27-
"minVersion": "2.11.0",
28-
"maxVersion": "2.11.0"
27+
"minVersion": "2.11.1",
28+
"maxVersion": "2.11.1"
2929
},
3030
"cloudsave": {
31-
"minVersion": "3.1.6",
32-
"maxVersion": "3.1.6"
31+
"minVersion": "3.1.7",
32+
"maxVersion": "3.1.7"
3333
},
3434
"ugc": {
35-
"minVersion": "2.5.4",
36-
"maxVersion": "2.5.4"
35+
"minVersion": "2.5.5",
36+
"maxVersion": "2.5.5"
3737
},
3838
"lobby": {
39-
"minVersion": "3.11.10",
40-
"maxVersion": "3.11.10"
39+
"minVersion": "3.11.11",
40+
"maxVersion": "3.11.11"
4141
},
4242
"group": {
43-
"minVersion": "2.11.8",
44-
"maxVersion": "2.11.8"
43+
"minVersion": "2.11.9",
44+
"maxVersion": "2.11.9"
4545
},
4646
"qosm": {
47-
"minVersion": "1.14.8",
48-
"maxVersion": "1.14.8"
47+
"minVersion": "1.15.0",
48+
"maxVersion": "1.15.0"
4949
},
5050
"dsmcontroller": {
51-
"minVersion": "3.9.0",
52-
"maxVersion": "3.9.0"
51+
"minVersion": "3.10.0",
52+
"maxVersion": "3.10.0"
5353
},
5454
"game-telemetry": {
55-
"minVersion": "1.11.0",
56-
"maxVersion": "1.11.0"
55+
"minVersion": "1.12.0",
56+
"maxVersion": "1.12.0"
5757
}
5858
}

Source/AccelByteUe4Sdk/Private/Api/AccelByteLobbyApi.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,6 +2068,11 @@ void Lobby::HandleV2MatchmakingNotif(const FAccelByteModelsNotificationMessage&
20682068
DispatchV2JsonNotif<FAccelByteModelsV2MatchmakingExpiredNotif>(Message.Payload, V2MatchmakingExpiredNotif);
20692069
break;
20702070
}
2071+
case EV2MatchmakingNotifTopic::OnMatchmakingTicketCanceled:
2072+
{
2073+
DispatchV2JsonNotif<FAccelByteModelsV2MatchmakingCanceledNotif>(Message.Payload, V2MatchmakingCanceledNotif);
2074+
break;
2075+
}
20712076
default: UE_LOG(LogAccelByteLobby, Warning, TEXT("Unknown matchmaking v2 notification topic : %s"), *Message.Topic);
20722077
}
20732078
}
@@ -2078,6 +2083,7 @@ void Lobby::InitializeV2MatchmakingNotifDelegates()
20782083
{EV2MatchmakingNotifTopic::OnMatchFound, FMessageNotif::CreateRaw(this, &Lobby::HandleV2MatchmakingNotif)},
20792084
{EV2MatchmakingNotifTopic::OnMatchmakingStarted, FMessageNotif::CreateRaw(this, &Lobby::HandleV2MatchmakingNotif)},
20802085
{EV2MatchmakingNotifTopic::OnMatchmakingTicketExpired, FMessageNotif::CreateRaw(this, &Lobby::HandleV2MatchmakingNotif)},
2086+
{EV2MatchmakingNotifTopic::OnMatchmakingTicketCanceled, FMessageNotif::CreateRaw(this, &Lobby::HandleV2MatchmakingNotif)},
20812087
};
20822088
}
20832089

Source/AccelByteUe4Sdk/Private/Api/AccelByteQos.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@ namespace Api
8888
TSharedRef<TArray<TPair<FString, float>>> SuccessLatencies = MakeShared<TArray<TPair<FString, float>>>();
8989
TSharedRef<TArray<FString>> FailedLatencies = MakeShared<TArray<FString>>();
9090

91-
#if PLATFORM_ANDROID
92-
UE_LOG(LogAccelByte, Warning, TEXT("Android device does not support UE UDP Echo"));
93-
OnSuccess.ExecuteIfBound(*SuccessLatencies);
94-
return;
95-
#endif
96-
9791
int32 Count = QosServerList.Servers.Num();
9892

9993
if (Count > 0)

Source/AccelByteUe4Sdk/Private/Api/AccelByteTurnManagerApi.cpp

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,25 @@ namespace Api
8383
}));
8484
}
8585

86+
void TurnManager::GetTurnCredential(const FString &Region, const FString &Ip, int port, const THandler<FAccelByteModelsTurnServerCredential>& OnSuccess, const FErrorHandler& OnError)
87+
{
88+
FReport::Log(FString(__FUNCTION__));
89+
90+
FString Authorization = FString::Printf(TEXT("Bearer %s"), *CredentialsRef.GetAccessToken());
91+
FString Url = FString::Printf(TEXT("%s/turn/secret/%s/%s/%d"), *GetTurnManagerServerUrl(), *Region, *Ip, port);
92+
FString Verb = TEXT("GET");
93+
FString ContentType = TEXT("application/json");
94+
FString Accept = TEXT("application/json");
95+
96+
FHttpRequestPtr Request = FHttpModule::Get().CreateRequest();
97+
Request->SetURL(Url);
98+
Request->SetHeader(TEXT("Authorization"), Authorization);
99+
Request->SetVerb(Verb);
100+
Request->SetHeader(TEXT("Content-Type"), ContentType);
101+
Request->SetHeader(TEXT("Accept"), Accept);
102+
HttpRef.ProcessRequest(Request, CreateHttpResultHandler(OnSuccess, OnError), FPlatformTime::Seconds());
103+
}
104+
86105
FString TurnManager::GetTurnManagerServerUrl() const
87106
{
88107
return SettingsRef.TurnManagerServerUrl.IsEmpty() ? FString::Printf(TEXT("%s/turnmanager"), *SettingsRef.BaseUrl) : SettingsRef.TurnManagerServerUrl;

Source/AccelByteUe4Sdk/Private/Api/AccelByteUGCApi.cpp

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,31 @@ void UGC::CreateChannel(FString const& ChannelName
334334
HttpRef.ProcessRequest(Request, CreateHttpResultHandler(OnSuccess, OnError), FPlatformTime::Seconds());
335335
}
336336

337+
void UGC::UpdateChannel(FString const& ChannelId
338+
, FString const& ChannelName
339+
, THandler<FAccelByteModelsUGCChannelResponse> const& OnSuccess
340+
, FErrorHandler const& OnError)
341+
{
342+
FReport::Log(FString(__FUNCTION__));
343+
344+
FString Authorization = FString::Printf(TEXT("Bearer %s"), *CredentialsRef.GetAccessToken());
345+
FString Url = FString::Printf(TEXT("%s/v1/public/namespaces/%s/users/%s/channels/%s"), *SettingsRef.UGCServerUrl, *SettingsRef.Namespace, *CredentialsRef.GetUserId(), *ChannelId);
346+
FString Verb = TEXT("PUT");
347+
FString ContentType = TEXT("application/json");
348+
FString Accept = TEXT("application/json");
349+
FString Content = FString::Printf(TEXT("{\"name\": \"%s\"}"), *ChannelName);
350+
351+
FHttpRequestPtr Request = FHttpModule::Get().CreateRequest();
352+
Request->SetURL(Url);
353+
Request->SetHeader(TEXT("Authorization"), Authorization);
354+
Request->SetVerb(Verb);
355+
Request->SetHeader(TEXT("Content-Type"), ContentType);
356+
Request->SetHeader(TEXT("Accept"), Accept);
357+
Request->SetContentAsString(Content);
358+
359+
HttpRef.ProcessRequest(Request, CreateHttpResultHandler(OnSuccess, OnError), FPlatformTime::Seconds());
360+
}
361+
337362
void UGC::GetChannels(THandler<FAccelByteModelsUGCChannelsPagingResponse> const& OnSuccess
338363
, FErrorHandler const& OnError
339364
, int32 Limit

Source/AccelByteUe4Sdk/Private/Blueprints/ABUtilities.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,30 @@
33
// and restrictions contact your company contract manager.
44

55
#include "Blueprints/ABUtilities.h"
6+
#include "Dom/JsonObject.h"
67

78
FString UABUtilities::DateTimeToString(const FDateTime& DateTime)
89
{
910
return DateTime.ToIso8601();
1011
}
1112

13+
FString UABUtilities::GetJsonObjectAsJsonString(const FJsonObjectWrapper& ObjectWrapper)
14+
{
15+
if (!ObjectWrapper.JsonString.IsEmpty())
16+
{
17+
return ObjectWrapper.JsonString;
18+
}
19+
else
20+
{
21+
FString JsonString = TEXT("");
22+
if (ObjectWrapper.JsonObject.IsValid())
23+
{
24+
ObjectWrapper.JsonObjectToString(JsonString);
25+
}
26+
return JsonString;
27+
}
28+
}
29+
1230
bool UABUtilities::GetJsonValueAsString(const FJsonObjectWrapper& ObjectWrapper, const FString& Key, FString& OutString)
1331
{
1432
return ObjectWrapper.JsonObject->TryGetStringField(Key, OutString);

Source/AccelByteUe4Sdk/Private/Core/AccelByteMessageParser.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#pragma once
66

7+
#include "CoreMinimal.h"
8+
79
namespace AccelByte
810
{
911
class MessageParser

0 commit comments

Comments
 (0)