Skip to content

Commit ac7d9c1

Browse files
Updated from pipeline, Version : 15.1.2
1 parent 0be43b4 commit ac7d9c1

File tree

4 files changed

+36
-12
lines changed

4 files changed

+36
-12
lines changed

.variables

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export LEVEL=CRITICAL
22
export REPO_NAME=justice-unreal-sdk-plugin
3-
export WORKDIR=/tmp/pipelines/2811633169/604390815/
4-
export COMMIT_HASH=7aa61f535c6fc623b9c50e8cbcbeb1d7b77a4ddd
5-
export GIT_HASH=7aa61f535c6fc623b9c50e8cbcbeb1d7b77a4ddd
6-
export VERSION=15.1.1
7-
export REVISION_ID=15.1.1
3+
export WORKDIR=/tmp/pipelines/2818896385/605678314/
4+
export COMMIT_HASH=23084dc540856dfd8dd5c505bb483feb855e8b07
5+
export GIT_HASH=23084dc540856dfd8dd5c505bb483feb855e8b07
6+
export VERSION=15.1.2
7+
export REVISION_ID=15.1.2
88
9-
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE1LjEuMSAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='
9+
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE1LjEuMiAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
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.1.2](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/15.1.2%0D15.1.1) (2022-08-05)
6+
7+
8+
### Bug Fixes
9+
10+
* **lobby:** unbind delegates on Lobby destructor ([daa6af1](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/daa6af13907a89a844cd9b4838a27ac02694a453))
11+
* **party:** Party leave notif is not triggered ([5e8458f](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/5e8458f4070ba19cbe6cbeba9511ba4757f051d1))
12+
513
### [15.1.1](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/15.1.1%0D15.1.0) (2022-08-04)
614

715
## [15.1.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/15.1.0%0D15.0.0) (2022-08-01)

Source/AccelByteUe4Sdk/Private/Api/AccelByteLobbyApi.cpp

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ namespace Api
9797
const FString PartyInfo = TEXT("partyInfoResponse");
9898
const FString PartyCreate = TEXT("partyCreateResponse");
9999
const FString PartyLeave = TEXT("partyLeaveResponse");
100-
const FString PartyLeaveNotif = TEXT("partyLeaveNotif"); // This variable is DEPRECATED
101100
const FString PartyMemberLeaveNotif = TEXT("partyLeaveNotif");
102101
const FString PartyInvite = TEXT("partyInviteResponse");
103102
const FString PartyInviteNotif = TEXT("partyInviteNotif");
@@ -282,7 +281,6 @@ namespace Api
282281
DisconnectNotif,
283282

284283
// Party
285-
PartyLeaveNotif, // This enum is DEPRECATED
286284
PartyMemberLeaveNotif,
287285
PartyInviteNotif,
288286
PartyGetInvitedNotif,
@@ -382,7 +380,6 @@ namespace Api
382380
TMap<FString, Notif> Lobby::NotifStringEnumMap{
383381
FORM_STRING_ENUM_PAIR(Notif,ConnectedNotif),
384382
FORM_STRING_ENUM_PAIR(Notif,DisconnectNotif),
385-
FORM_STRING_ENUM_PAIR(Notif,PartyLeaveNotif), // This FORM STRING ENUM is DEPRECATED
386383
FORM_STRING_ENUM_PAIR(Notif,PartyMemberLeaveNotif),
387384
FORM_STRING_ENUM_PAIR(Notif,PartyInviteNotif),
388385
FORM_STRING_ENUM_PAIR(Notif,PartyGetInvitedNotif),
@@ -1902,8 +1899,23 @@ void Lobby::HandleMessageNotif(const FString& ReceivedMessageType, const FString
19021899
break;
19031900
}
19041901
CASE_NOTIF(DisconnectNotif, FAccelByteModelsDisconnectNotif);
1905-
CASE_NOTIF(PartyLeaveNotif, FAccelByteModelsLeavePartyNotice); // This Case Notif is DEPRECATED
1906-
CASE_NOTIF(PartyMemberLeaveNotif, FAccelByteModelsLeavePartyNotice);
1902+
case (Notif::PartyMemberLeaveNotif):
1903+
{
1904+
FAccelByteModelsLeavePartyNotice PartyLeaveResult;
1905+
bool bSuccess = FJsonObjectConverter::JsonObjectStringToUStruct(ParsedJsonString, &PartyLeaveResult, 0, 0);
1906+
if (bSuccess)
1907+
{
1908+
if (PartyLeaveNotif.IsBound())
1909+
{
1910+
PartyLeaveNotif.ExecuteIfBound(PartyLeaveResult);
1911+
}
1912+
else
1913+
{
1914+
PartyMemberLeaveNotif.ExecuteIfBound(PartyLeaveResult);
1915+
}
1916+
}
1917+
break;
1918+
}
19071919
CASE_NOTIF(PartyInviteNotif, FAccelByteModelsInvitationNotice);
19081920
CASE_NOTIF(PartyGetInvitedNotif, FAccelByteModelsPartyGetInvitedNotice);
19091921
CASE_NOTIF(PartyJoinNotif, FAccelByteModelsPartyJoinNotice);
@@ -2271,6 +2283,10 @@ Lobby::~Lobby()
22712283
if(UObjectInitialized())
22722284
{
22732285
Disconnect(true);
2286+
UnbindEvent();
2287+
ConnectSuccess.Unbind();
2288+
ConnectError.Unbind();
2289+
ConnectionClosed.Unbind();
22742290
}
22752291
}
22762292

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "15.1.1"
2+
"version": "15.1.2"
33
}

0 commit comments

Comments
 (0)