Skip to content

Commit 8979930

Browse files
Updated from pipeline, Version : 15.1.0
1 parent 554faf4 commit 8979930

File tree

11 files changed

+230
-71
lines changed

11 files changed

+230
-71
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/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
4+
export WORKDIR=/tmp/pipelines/2794858752/601368620/
5+
export COMMIT_HASH=42e08723f7d66f6c317babfc8a1dacf0fac995ce
6+
export GIT_HASH=42e08723f7d66f6c317babfc8a1dacf0fac995ce
7+
export VERSION=15.1.0
8+
export REVISION_ID=15.1.0
99
10-
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE1LjAuMCAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='
10+
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDE1LjEuMCAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
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.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/15.1.0%0D15.0.0) (2022-08-01)
6+
7+
8+
### Features
9+
10+
* **party:** add party connect, and disconnect notification ([bee9d18](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/bee9d181a3d9f6ecf7628c8e4a47399382fd0510))
11+
12+
13+
### Bug Fixes
14+
15+
* **party:** change all all function, delegate or variable by using PartyMember. Also adding some description on the function. ([6189926](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/6189926b8e4a767fa3adf61e1e043bade49df630))
16+
* **party:** fix typo on partyMemberLeaveNotice and FPartyMemberDisconnectNotif ([b28a515](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/b28a515b78434d76b038475056fc4fabe8cac801))
17+
* **party:** Set Deprecation Variable, Function, and Delegate for PartyLeaveNotif. ([ab4d428](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/ab4d42860e26b8c26ffbef79a73a6a0fdd8f87ba))
18+
519
## [15.0.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/15.0.0%0D14.0.0) (2022-07-18)
620

721

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.13.0",
4-
"maxVersion": "5.13.0"
3+
"minVersion": "5.14.0",
4+
"maxVersion": "5.14.0"
55
},
66
"agreement": {
77
"minVersion": "1.22.4",
88
"maxVersion": "1.22.4"
99
},
1010
"basic": {
11-
"minVersion": "2.1.0",
12-
"maxVersion": "2.1.0"
11+
"minVersion": "2.1.1",
12+
"maxVersion": "2.1.1"
1313
},
1414
"platform": {
15-
"minVersion": "4.12.0",
16-
"maxVersion": "4.12.0"
15+
"minVersion": "4.12.1",
16+
"maxVersion": "4.12.1"
1717
},
1818
"social": {
1919
"minVersion": "1.29.3",
@@ -28,16 +28,16 @@
2828
"maxVersion": "2.10.8"
2929
},
3030
"cloudsave": {
31-
"minVersion": "3.1.1",
32-
"maxVersion": "3.1.1"
31+
"minVersion": "3.1.2",
32+
"maxVersion": "3.1.2"
3333
},
3434
"ugc": {
35-
"minVersion": "2.3.0",
36-
"maxVersion": "2.3.0"
35+
"minVersion": "2.4.0",
36+
"maxVersion": "2.4.0"
3737
},
3838
"lobby": {
39-
"minVersion": "3.11.2",
40-
"maxVersion": "3.11.2"
39+
"minVersion": "3.11.3",
40+
"maxVersion": "3.11.3"
4141
},
4242
"group": {
4343
"minVersion": "2.11.6",
@@ -48,11 +48,11 @@
4848
"maxVersion": "1.14.3"
4949
},
5050
"dsmcontroller": {
51-
"minVersion": "3.4.0",
52-
"maxVersion": "3.4.0"
51+
"minVersion": "3.4.1",
52+
"maxVersion": "3.4.1"
5353
},
5454
"game-telemetry": {
55-
"minVersion": "1.7.2",
56-
"maxVersion": "1.7.2"
55+
"minVersion": "1.8.0",
56+
"maxVersion": "1.8.0"
5757
}
5858
}

Source/AccelByteUe4Sdk/Private/Api/AccelByteLobbyApi.cpp

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ 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");
100+
const FString PartyLeaveNotif = TEXT("partyLeaveNotif"); // This variable is DEPRECATED
101+
const FString PartyMemberLeaveNotif = TEXT("partyLeaveNotif");
101102
const FString PartyInvite = TEXT("partyInviteResponse");
102103
const FString PartyInviteNotif = TEXT("partyInviteNotif");
103104
const FString PartyGetInvitedNotif = TEXT("partyGetInvitedNotif");
@@ -108,6 +109,8 @@ namespace Api
108109
const FString PartyKick = TEXT("partyKickResponse");
109110
const FString PartyKickNotif = TEXT("partyKickNotif");
110111
const FString PartyDataUpdateNotif = TEXT("partyDataUpdateNotif");
112+
const FString PartyMemberConnectNotif = TEXT("partyConnectNotif");
113+
const FString PartyMemberDisconnectNotif = TEXT("partyDisconnectNotif");
111114
const FString PartyGenerateCode = TEXT("partyGenerateCodeResponse");
112115
const FString PartyGetCode = TEXT("partyGetCodeResponse");
113116
const FString PartyDeleteCode = TEXT("partyDeleteCodeResponse");
@@ -279,13 +282,16 @@ namespace Api
279282
DisconnectNotif,
280283

281284
// Party
282-
PartyLeaveNotif,
285+
PartyLeaveNotif, // This enum is DEPRECATED
286+
PartyMemberLeaveNotif,
283287
PartyInviteNotif,
284288
PartyGetInvitedNotif,
285289
PartyJoinNotif,
286290
PartyRejectNotif,
287291
PartyKickNotif,
288292
PartyDataUpdateNotif,
293+
PartyMemberConnectNotif,
294+
PartyMemberDisconnectNotif,
289295

290296
// Chat
291297
PersonalChatNotif,
@@ -376,13 +382,16 @@ namespace Api
376382
TMap<FString, Notif> Lobby::NotifStringEnumMap{
377383
FORM_STRING_ENUM_PAIR(Notif,ConnectedNotif),
378384
FORM_STRING_ENUM_PAIR(Notif,DisconnectNotif),
379-
FORM_STRING_ENUM_PAIR(Notif,PartyLeaveNotif),
385+
FORM_STRING_ENUM_PAIR(Notif,PartyLeaveNotif), // This FORM STRING ENUM is DEPRECATED
386+
FORM_STRING_ENUM_PAIR(Notif,PartyMemberLeaveNotif),
380387
FORM_STRING_ENUM_PAIR(Notif,PartyInviteNotif),
381388
FORM_STRING_ENUM_PAIR(Notif,PartyGetInvitedNotif),
382389
FORM_STRING_ENUM_PAIR(Notif,PartyJoinNotif),
383390
FORM_STRING_ENUM_PAIR(Notif,PartyRejectNotif),
384391
FORM_STRING_ENUM_PAIR(Notif,PartyKickNotif),
385392
FORM_STRING_ENUM_PAIR(Notif,PartyDataUpdateNotif),
393+
FORM_STRING_ENUM_PAIR(Notif,PartyMemberConnectNotif),
394+
FORM_STRING_ENUM_PAIR(Notif,PartyMemberDisconnectNotif),
386395
FORM_STRING_ENUM_PAIR(Notif,PersonalChatNotif),
387396
FORM_STRING_ENUM_PAIR(Notif,PartyChatNotif),
388397
FORM_STRING_ENUM_PAIR(Notif,ChannelChatNotif),
@@ -1342,12 +1351,15 @@ void Lobby::UnbindPartyNotifEvents()
13421351
{
13431352
FReport::Log(FString(__FUNCTION__));
13441353

1345-
PartyLeaveNotif.Unbind();
1354+
PartyLeaveNotif.Unbind(); // This Unbind is DEPRECATED
1355+
PartyMemberLeaveNotif.Unbind();
13461356
PartyInviteNotif.Unbind();
13471357
PartyGetInvitedNotif.Unbind();
13481358
PartyJoinNotif.Unbind();
13491359
PartyRejectNotif.Unbind();
13501360
PartyKickNotif.Unbind();
1361+
PartyMemberConnectNotif.Unbind();
1362+
PartyMemberDisconnectNotif.Unbind();
13511363
}
13521364

13531365
void Lobby::UnbindPartyResponseEvents()
@@ -1889,20 +1901,23 @@ void Lobby::HandleMessageNotif(const FString& ReceivedMessageType, const FString
18891901
}
18901902
break;
18911903
}
1892-
CASE_NOTIF(DisconnectNotif , FAccelByteModelsDisconnectNotif);
1893-
CASE_NOTIF(PartyLeaveNotif , FAccelByteModelsLeavePartyNotice);
1894-
CASE_NOTIF(PartyInviteNotif , FAccelByteModelsInvitationNotice);
1895-
CASE_NOTIF(PartyGetInvitedNotif , FAccelByteModelsPartyGetInvitedNotice);
1896-
CASE_NOTIF(PartyJoinNotif , FAccelByteModelsPartyJoinNotice);
1897-
CASE_NOTIF(PartyRejectNotif , FAccelByteModelsPartyRejectNotice);
1898-
CASE_NOTIF(PartyKickNotif , FAccelByteModelsGotKickedFromPartyNotice);
1899-
CASE_NOTIF(PartyDataUpdateNotif , FAccelByteModelsPartyDataNotif);
1904+
CASE_NOTIF(DisconnectNotif, FAccelByteModelsDisconnectNotif);
1905+
CASE_NOTIF(PartyLeaveNotif, FAccelByteModelsLeavePartyNotice); // This Case Notif is DEPRECATED
1906+
CASE_NOTIF(PartyMemberLeaveNotif, FAccelByteModelsLeavePartyNotice);
1907+
CASE_NOTIF(PartyInviteNotif, FAccelByteModelsInvitationNotice);
1908+
CASE_NOTIF(PartyGetInvitedNotif, FAccelByteModelsPartyGetInvitedNotice);
1909+
CASE_NOTIF(PartyJoinNotif, FAccelByteModelsPartyJoinNotice);
1910+
CASE_NOTIF(PartyRejectNotif, FAccelByteModelsPartyRejectNotice);
1911+
CASE_NOTIF(PartyKickNotif, FAccelByteModelsGotKickedFromPartyNotice);
1912+
CASE_NOTIF(PartyDataUpdateNotif, FAccelByteModelsPartyDataNotif);
1913+
CASE_NOTIF(PartyMemberConnectNotif, FAccelByteModelsPartyMemberConnectionNotice);
1914+
CASE_NOTIF(PartyMemberDisconnectNotif, FAccelByteModelsPartyMemberConnectionNotice);
19001915
// Chat
1901-
CASE_NOTIF(PersonalChatNotif , FAccelByteModelsPersonalMessageNotice);
1902-
CASE_NOTIF(PartyChatNotif , FAccelByteModelsPartyMessageNotice);
1903-
CASE_NOTIF(ChannelChatNotif , FAccelByteModelsChannelMessageNotice);
1916+
CASE_NOTIF(PersonalChatNotif, FAccelByteModelsPersonalMessageNotice);
1917+
CASE_NOTIF(PartyChatNotif, FAccelByteModelsPartyMessageNotice);
1918+
CASE_NOTIF(ChannelChatNotif, FAccelByteModelsChannelMessageNotice);
19041919
// Presence
1905-
CASE_NOTIF(FriendStatusNotif , FAccelByteModelsUsersPresenceNotice);
1920+
CASE_NOTIF(FriendStatusNotif, FAccelByteModelsUsersPresenceNotice);
19061921
// Notification
19071922
case(Notif::MessageNotif):
19081923
{

Source/AccelByteUe4Sdk/Private/Blueprints/ABParty.cpp

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,16 @@ void UABParty::SetOnPartyLeave(FDPartyLeaveNotif OnNotif)
334334
}));
335335
}
336336

337+
void UABParty::SetOnPartyMemberLeave(FDPartyMemberLeaveNotif OnNotif)
338+
{
339+
ApiClientPtr->Lobby.SetPartyMemberLeaveNotifDelegate(
340+
Api::Lobby::FPartyMemberLeaveNotif::CreateLambda(
341+
[OnNotif](FAccelByteModelsLeavePartyNotice const& Notif)
342+
{
343+
OnNotif.ExecuteIfBound(Notif);
344+
}));
345+
}
346+
337347
void UABParty::SetOnPartyKick(FDPartyKickNotif OnNotif)
338348
{
339349
ApiClientPtr->Lobby.SetPartyKickNotifDelegate(
@@ -363,3 +373,23 @@ void UABParty::SetOnPartyDataUpdateNotifDelegate(FDPartyDataUpdateNotif OnNotif)
363373
OnNotif.ExecuteIfBound(Notif);
364374
}));
365375
}
376+
377+
void UABParty::SetOnPartyMemberConnect(FDPartyMemberConnectNotif OnNotif)
378+
{
379+
ApiClientPtr->Lobby.SetPartyMemberConnectNotifDelegate(
380+
Api::Lobby::FPartyMemberConnectNotif::CreateLambda(
381+
[OnNotif](FAccelByteModelsPartyMemberConnectionNotice const& Notif)
382+
{
383+
OnNotif.ExecuteIfBound(Notif);
384+
}));
385+
}
386+
387+
void UABParty::SetOnPartyMemberDisconnect(FDPartyMemberDisconnectNotif OnNotif)
388+
{
389+
ApiClientPtr->Lobby.SetPartyMemberDisconnectNotifDelegate(
390+
Api::Lobby::FPartyMemberDisconnectNotif::CreateLambda(
391+
[OnNotif](FAccelByteModelsPartyMemberConnectionNotice const& Notif)
392+
{
393+
OnNotif.ExecuteIfBound(Notif);
394+
}));
395+
}

Source/AccelByteUe4Sdk/Private/Blueprints/AccelByteLobbyBlueprints.cpp

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,13 @@ void UAccelByteBlueprintsLobby::BindEvent(
140140
const FConnectSuccess& OnSuccess,
141141
const FBlueprintErrorHandler& OnError,
142142
const FConnectionClosed& OnConnectionClosed,
143-
const FLeavePartyNotice& OnLeavePartyNotice,
143+
const FLeavePartyNotice& OnLeavePartyNotice, // This delegate is DEPRECATED. better to use FPartyMemberLeaveNotice
144144
const FInvitePartyInvitationNotice& OnInvitePartyInvitationNotice,
145145
const FInvitePartyGetInvitedNotice& OnInvitePartyGetInvitedNotice,
146146
const FInvitePartyJoinNotice& OnInvitePartyJoinNotice,
147147
const FInvitePartyKickedNotice& OnInvitePartyKickedNotice,
148+
const FPartyMemberConnectNotice& OnPartyConnectNotice,
149+
const FPartyMemberDisconnectNotice& OnPartyDisconnectNotice,
148150
const FPrivateMessageNotice& OnPrivateMessageNotice,
149151
const FPartyMessageNotice& OnPartyMessageNotice,
150152
const FUserPresenceNotice& OnUserPresenceNotice,
@@ -169,10 +171,9 @@ void UAccelByteBlueprintsLobby::BindEvent(
169171
AccelByte::Api::Lobby::FConnectionClosed::CreateLambda([OnConnectionClosed](int32 StatusCode, const FString& Reason, bool WasClean) {
170172
OnConnectionClosed.ExecuteIfBound(StatusCode, Reason, WasClean);
171173
});
172-
173-
174-
174+
175175
// Party
176+
// This delegate is DEPRECATED. better to use FPartyMemberLeaveNotice
176177
AccelByte::Api::Lobby::FPartyLeaveNotif OnLeavePartyNoticeDelegate =
177178
AccelByte::Api::Lobby::FPartyLeaveNotif::CreateLambda([OnLeavePartyNotice](const FAccelByteModelsLeavePartyNotice& Result) {
178179
OnLeavePartyNotice.ExecuteIfBound(Result);
@@ -197,6 +198,16 @@ void UAccelByteBlueprintsLobby::BindEvent(
197198
AccelByte::Api::Lobby::FPartyKickNotif::CreateLambda([OnInvitePartyKickedNotice](const FAccelByteModelsGotKickedFromPartyNotice& Result) {
198199
OnInvitePartyKickedNotice.ExecuteIfBound(Result);
199200
});
201+
202+
AccelByte::Api::Lobby::FPartyMemberConnectNotif OnPartyConnectNoticeDelegate =
203+
AccelByte::Api::Lobby::FPartyMemberConnectNotif::CreateLambda([OnPartyConnectNotice](const FAccelByteModelsPartyMemberConnectionNotice& Result) {
204+
OnPartyConnectNotice.ExecuteIfBound(Result);
205+
});
206+
207+
AccelByte::Api::Lobby::FPartyMemberDisconnectNotif OnPartyDisconnectNoticeDelegate =
208+
AccelByte::Api::Lobby::FPartyMemberDisconnectNotif::CreateLambda([OnPartyDisconnectNotice](const FAccelByteModelsPartyMemberConnectionNotice& Result) {
209+
OnPartyDisconnectNotice.ExecuteIfBound(Result);
210+
});
200211

201212
// Chat
202213
AccelByte::Api::Lobby::FPersonalChatNotif OnPrivateMessageNoticeDelegate =
@@ -260,11 +271,13 @@ void UAccelByteBlueprintsLobby::BindEvent(
260271
FRegistry::Lobby.SetConnectSuccessDelegate(OnSuccessDelegate);
261272
FRegistry::Lobby.SetConnectFailedDelegate(OnErrorDelegate);
262273
FRegistry::Lobby.SetConnectionClosedDelegate(OnConnectionCloseDelegate);
263-
FRegistry::Lobby.SetPartyLeaveNotifDelegate(OnLeavePartyNoticeDelegate);
274+
FRegistry::Lobby.SetPartyLeaveNotifDelegate(OnLeavePartyNoticeDelegate); // This delegate is DEPRECATED. better to use SetPartyMemberLeaveNotifDelegate().
264275
FRegistry::Lobby.SetPartyInviteNotifDelegate(OnInvitePartyInvitationNoticeDelegate);
265276
FRegistry::Lobby.SetPartyGetInvitedNotifDelegate(OnInvitePartyGetInvitedNoticeDelegate);
266277
FRegistry::Lobby.SetPartyJoinNotifDelegate(OnInvitePartyJoinNoticeDelegate);
267278
FRegistry::Lobby.SetPartyKickNotifDelegate(OnInvitePartyKickedNoticeDelegate);
279+
FRegistry::Lobby.SetPartyMemberConnectNotifDelegate(OnPartyConnectNoticeDelegate);
280+
FRegistry::Lobby.SetPartyMemberDisconnectNotifDelegate(OnPartyDisconnectNoticeDelegate);
268281
FRegistry::Lobby.SetPrivateMessageNotifDelegate(OnPrivateMessageNoticeDelegate);
269282
FRegistry::Lobby.SetPartyChatNotifDelegate(OnPartyMessageNoticeDelegate);
270283
FRegistry::Lobby.SetUserPresenceNotifDelegate(OnOnUserPresenceNoticeDelegate);

0 commit comments

Comments
 (0)