Skip to content

Commit

Permalink
Updated from pipeline, Version : 7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AccelByte-Build committed Oct 26, 2021
1 parent 3132f44 commit 7f27260
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 54 deletions.
12 changes: 6 additions & 6 deletions .variables
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export DO_UPDATE=true
export LEVEL=CRITICAL
export REPO_NAME=justice-unreal-sdk-plugin
export WORKDIR=/tmp/pipelines/1710226468/394479550/
export COMMIT_HASH=75dc6675396144f51975be0a9d315ff1ace29821
export GIT_HASH=75dc6675396144f51975be0a9d315ff1ace29821
export VERSION=7.0.1
export REVISION_ID=7.0.1
export WORKDIR=/tmp/pipelines/1716159625/395638254/
export COMMIT_HASH=4bc8f63650fdbe3e5a50ff42f1e722edf4d38639
export GIT_HASH=4bc8f63650fdbe3e5a50ff42f1e722edf4d38639
export VERSION=7.0.2
export REVISION_ID=7.0.2
export [email protected]
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDcuMC4xIC0gY29tbWl0ZWQgYW5kIHRhZ2dlZCBieSBKZW5raW5zCg=='
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDcuMC4yIC0gY29tbWl0ZWQgYW5kIHRhZ2dlZCBieSBKZW5raW5zCg=='
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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.

### [7.0.2](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/7.0.2%0D7.0.1) (2021-10-26)


### Tests

* **lobby:** fix matchmaking random timeout after StartMatchmakingAllParameters Test & increase wait matchmaking notif timeout ([bb41277](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/bb41277bf0610449c2b4e74aaa1c2a5455f22f68))


### Refactors

* **ServerDSM:** Remove fetching public IP when registering cloud server ([988f5c0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/988f5c05ff70d452baa81031605be23b38b0e9fe))

### [7.0.1](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/7.0.1%0D7.0.0) (2021-10-25)


Expand Down
56 changes: 28 additions & 28 deletions Content/CompatibilityMap.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
{
"iam": {
"minVersion": "4.5.1",
"maxVersion": "4.5.1"
"minVersion": "4.6.0",
"maxVersion": "4.6.0"
},
"agreement": {
"minVersion": "1.13.2",
"maxVersion": "1.13.2"
"minVersion": "1.14.0",
"maxVersion": "1.14.0"
},
"basic": {
"minVersion": "1.24.0",
"maxVersion": "1.24.0"
"minVersion": "1.25.0",
"maxVersion": "1.25.0"
},
"platform": {
"minVersion": "3.35.0",
"maxVersion": "3.35.0"
"minVersion": "3.36.0",
"maxVersion": "3.36.0"
},
"social": {
"minVersion": "1.19.0",
"maxVersion": "1.19.0"
"minVersion": "1.20.0",
"maxVersion": "1.20.0"
},
"leaderboard": {
"minVersion": "2.10.1",
"maxVersion": "2.10.1"
"minVersion": "2.11.0",
"maxVersion": "2.11.0"
},
"achievement": {
"minVersion": "2.7.1",
"maxVersion": "2.7.1"
"minVersion": "2.8.0",
"maxVersion": "2.8.0"
},
"cloudsave": {
"minVersion": "1.8.0",
"maxVersion": "1.8.0"
"minVersion": "1.9.0",
"maxVersion": "1.9.0"
},
"ugc": {
"minVersion": "1.7.0",
"maxVersion": "1.7.0"
"minVersion": "1.8.0",
"maxVersion": "1.8.0"
},
"lobby": {
"minVersion": "2.3.0",
"maxVersion": "2.3.0"
"minVersion": "2.4.1",
"maxVersion": "2.4.1"
},
"group": {
"minVersion": "2.8.0",
"maxVersion": "2.8.0"
"minVersion": "2.9.0",
"maxVersion": "2.9.0"
},
"qosm": {
"minVersion": "",
"maxVersion": ""
"minVersion": "1.9.0",
"maxVersion": "1.9.0"
},
"dsmcontroller": {
"minVersion": "2.6.0",
"maxVersion": "2.6.0"
"minVersion": "2.7.0",
"maxVersion": "2.7.0"
},
"game-telemetry": {
"minVersion": "1.1.10",
"maxVersion": "1.1.10"
"minVersion": "1.1.11",
"maxVersion": "1.1.11"
}
}
2 changes: 2 additions & 0 deletions Source/AccelByteUe4Sdk/Private/Api/AccelByteLobbyApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ FString Lobby::SendGetOnlineFriendPresenceRequest()
//-------------------------------------------------------------------------------------------------
// Notification
//-------------------------------------------------------------------------------------------------
UE_DEPRECATED(4.25, "Lobby version 2.4.0 and above doesn't support this anymore")
void Lobby::GetAllAsyncNotification()
{
FReport::Log(FString(__FUNCTION__));
Expand Down Expand Up @@ -1481,6 +1482,7 @@ if (lobbyResponseType.Equals(MessageType)) \
BanNotifReceived = true;
FAccelByteModelsUserBannedNotification Result;
bool bParseSuccess = FJsonObjectConverter::JsonObjectStringToUStruct(ParsedJson, &Result, 0, 0);
Credentials.OnTokenRefreshed().Remove(RefreshTokenDelegate.GetHandle());
if (bParseSuccess)
{
HttpRef.BearerAuthRejected();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ void UAccelByteBlueprintsLobby::SetPresenceStatus(Availability State, FString Ga
}

// Notification
UE_DEPRECATED(4.25, "Lobby version 2.4.0 and above doesn't support this anymore")
void UAccelByteBlueprintsLobby::GetAllAsyncNotification()
{
FRegistry::Lobby.GetAllAsyncNotification();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ namespace AccelByte
{
OnError.ExecuteIfBound(409, TEXT("Server already registered."));
}
else if (DSPubIp.IsEmpty())
{
GetPubIpDelegate.BindLambda([this, Port, OnSuccess, OnError](const FAccelByteModelsPubIp& Result)
{
DSPubIp = Result.Ip;
RegisterServerToDSM(Port, OnSuccess, OnError);
});
FAccelByteNetUtilities::GetPublicIP(GetPubIpDelegate, OnError);
}
else
{
ServerName = Environment::GetEnvironmentVariable("POD_NAME", 100);
Expand Down Expand Up @@ -102,15 +93,6 @@ namespace AccelByte
{
OnError.ExecuteIfBound(409, TEXT("Server not registered as Cloud Server."));
}
else if (DSPubIp.IsEmpty())
{
GetPubIpDelegate.BindLambda([this, KillMe, MatchId, OnSuccess, OnError](const FAccelByteModelsPubIp& Result)
{
DSPubIp = Result.Ip;
SendShutdownToDSM(KillMe, MatchId, OnSuccess, OnError);
});
FAccelByteNetUtilities::GetPublicIP(GetPubIpDelegate, OnError);
}
else
{
FString Authorization = FString::Printf(TEXT("Bearer %s"), *FRegistry::ServerCredentials.GetClientAccessToken());
Expand Down
4 changes: 4 additions & 0 deletions Source/AccelByteUe4Sdk/Public/Core/AccelByteUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ struct ACCELBYTEUE4SDK_API FAccelByteModelsPubIp
class ACCELBYTEUE4SDK_API FAccelByteNetUtilities
{
public:
/*
* @brief Get Public IP using api.ipify.org
*/
UE_DEPRECATED(4.25, "ipify support will be deprecated in the future releases, please use ISocketSubsystem to get public IP address")
static void GetPublicIP(const THandler<FAccelByteModelsPubIp>& OnSuccess, const FErrorHandler& OnError);
static void DownloadFrom(const FString& Url, const FHttpRequestProgressDelegate& OnProgress, const THandler<TArray<uint8>>& OnDownloaded, const FErrorHandler& OnError);
static void UploadTo(const FString& Url, const TArray<uint8>& DataUpload, const FHttpRequestProgressDelegate& OnProgress, const AccelByte::FVoidHandler& OnSuccess, const FErrorHandler& OnError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ class ACCELBYTEUE4SDK_API ServerDSM

/*
* @brief send register local server to DSM using public IP
* this method is using api.ipify.org to get the device's public IP
*
* @param Port the port where your game server run.
* @param OnSuccess This will be called when the operation succeeded.
* @param OnError This will be called when the operation failed.
*/
UE_DEPRECATED(4.25, "ipify supports will be deprecated in the future releases, please use RegisterLocalServerToDSM(const FString IPAddress, const int32 Port, const FString ServerName, const FVoidHandler& OnSuccess, const FErrorHandler& OnError)")
void RegisterLocalServerToDSM(const int32 Port, const FString ServerName, const FVoidHandler& OnSuccess, const FErrorHandler& OnError);

/*
Expand Down Expand Up @@ -128,7 +130,7 @@ class ACCELBYTEUE4SDK_API ServerDSM
int32 GetPlayerNum();

FString DSMServerUrl;
FString DSPubIp;
FString DSPubIp = "";

/*
* @brief Update values from command line arguments. Used for tests.
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "7.0.1"
"version": "7.0.2"
}

0 comments on commit 7f27260

Please sign in to comment.