Skip to content

Commit b3dd058

Browse files
Updated from pipeline, Version : 24.11.0
1 parent 4e54134 commit b3dd058

Some content is hidden

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

55 files changed

+3923
-475
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/6097312914/1164845733/
5-
export COMMIT_HASH=bea6947586932e937ab7f6359e11f81e0863368b
6-
export GIT_HASH=bea6947586932e937ab7f6359e11f81e0863368b
7-
export VERSION=24.10.0
8-
export REVISION_ID=24.10.0
4+
export WORKDIR=/tmp/pipelines/6224678981/1185140299/
5+
export COMMIT_HASH=04e3cdf349660cc7a31c7d08f19031af80d7c552
6+
export GIT_HASH=04e3cdf349660cc7a31c7d08f19031af80d7c552
7+
export VERSION=24.11.0
8+
export REVISION_ID=24.11.0
99
10-
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDI0LjEwLjAgLSBjb21taXRlZCBhbmQgdGFnZ2VkIGJ5IEplbmtpbnNhZ3NWZXJzaW9uOiIzLjY2LjAiCgo='
10+
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDI0LjExLjAgLSBjb21taXRlZCBhbmQgdGFnZ2VkIGJ5IEplbmtpbnNhZ3NWZXJzaW9uOiIzLjY4LjAiCgo='

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": 56,
4-
"VersionName": "24.10.0",
3+
"Version": 57,
4+
"VersionName": "24.11.0",
55
"FriendlyName": "AccelByte Unreal Engine SDK",
66
"Description": "Official AccelByte SDK for Unreal Engine 4",
77
"Category": "Online Platform",

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
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+
## [24.11.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/24.11.0%0D24.10.0) (2024-02-21)
6+
7+
8+
### Features
9+
10+
* add common config API ([600021d](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/600021d9bbe433a8bd9007e453e3b4fa06deb25c))
11+
* add new autoCalcEstimatedPrice Param ([2abb5f2](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/2abb5f2e111b0579d7a609b0085051f46a537297))
12+
* add TicketIDs field in game session model ([df9ed23](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/df9ed23f427999627d0a8ed997b2158b6077869f))
13+
* Implement notification sender ([4f4702c](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/4f4702cccb0666a7660f3599c02b7518e3e7a2af))
14+
* **lobby:** add friend REST API ([f7afd5e](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/f7afd5e88adbf8ea24c58a56f41e7507df9eb4ce))
15+
* **lobby:** add handler for retrieving missing notifications ([732132f](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/732132fe3596098c6acf7a11165b09bb9b37935c))
16+
* **UGC:** add some public api that can be used without login in some environment ([4562ad7](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/4562ad7a8a26cf038acf6599348351167e2a68e3))
17+
18+
19+
### Bug Fixes
20+
21+
* **account:** account profile revamp ([6164cee](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/6164cee7671ed7f0afa5f7a929c028342696313b))
22+
* add validation to User API ([d7cbc42](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/d7cbc42342cb4b9a665f1f52673bf4db6baa5530))
23+
* incorrect request body serialized in GetUserOtherPlatformBasicPublicInfo ([f20ab79](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/f20ab7996fd1271d31a2309594fd22bff2706022))
24+
* remove validation for platform information request ([38ef15a](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/38ef15ab5181ccf0c1db21f09534795ac3542c9d))
25+
* **session:** remove empty fields for storePlayerAttributes's request ([23543f9](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/23543f9ca1c9ca1ca2673c127082740338b0038f))
26+
* **support:** add Ext field for FAccelByteModelsSectionInfo model ([2b97448](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/2b974482dd7928aeaceb78c77f664ace6bfe984b))
27+
* **support:** add SEASONAL enum type on EAccelByteCycle ([9058182](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/90581827ed99b94ad53307e5cebfcffeb6b39571))
28+
* **support:** repositioning the parameter on Region and Language inside ListActiveSectionContents function ([80e28c4](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/80e28c44790bd63761f7834fe8b23ecf87835745))
29+
30+
31+
### Refactors
32+
33+
* **PlatformHandler:** add dictionary as extra attributes for FetchPlatfromToken method ([f28b028](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/f28b0283ad9f6033eccc54c11f326b56e2e8a011))
34+
35+
36+
### Tests
37+
38+
* add define guard to avoid parallel tests to override stored value ([187770c](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/187770c3acc7270dfd3b02f7edebd7149f723b64))
39+
540
## [24.10.0](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/24.10.0%0D24.9.0) (2024-02-05)
641

742

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Copyright (c) 2024 AccelByte Inc. All Rights Reserved.
2+
// This is licensed software from AccelByte Inc, for limitations
3+
// and restrictions contact your company contract manager.
4+
5+
#include "Api/AccelByteConfigurationsApi.h"
6+
#include "Core/AccelByteReport.h"
7+
8+
AccelByte::Api::Configurations::Configurations(Credentials const& InCredentialsRef
9+
, Settings const& InSettingsRef
10+
, FHttpRetryScheduler& InHttpRef)
11+
: FApiBase(InCredentialsRef, InSettingsRef, InHttpRef)
12+
{}
13+
14+
AccelByte::Api::Configurations::~Configurations()
15+
{}
16+
17+
void AccelByte::Api::Configurations::GetAll(const THandler<TArray<FAccelByteModelsConfiguration>>& OnSuccess
18+
, const FErrorHandler& OnError)
19+
{
20+
FReport::Log(FString(__FUNCTION__));
21+
22+
const FString Url = FString::Printf(TEXT("%s/v1/public/namespaces/{namespace}/configs")
23+
, *SettingsRef.ConfigServerUrl);
24+
25+
HttpClient.ApiRequest(TEXT("GET"), Url, {}, FString(), OnSuccess, OnError);
26+
}
27+
28+
void AccelByte::Api::Configurations::Get(const FString& Key
29+
, const THandler<FAccelByteModelsConfiguration>& OnSuccess
30+
, const FErrorHandler& OnError)
31+
{
32+
FReport::Log(FString(__FUNCTION__));
33+
34+
if (Key.IsEmpty())
35+
{
36+
OnError.ExecuteIfBound(static_cast<int32>(ErrorCodes::InvalidRequest), TEXT("Key for common config can't be empty"));
37+
return;
38+
}
39+
40+
const FString Url = FString::Printf(TEXT("%s/v1/public/namespaces/{namespace}/configs/%s")
41+
, *SettingsRef.ConfigServerUrl
42+
, *Key);
43+
44+
HttpClient.ApiRequest(TEXT("GET"), Url, {}, FString(), OnSuccess, OnError);
45+
}

Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ void Item::GetItemById(FString const& ItemId
3030
, THandler<FAccelByteModelsPopulatedItemInfo> const& OnSuccess
3131
, FErrorHandler const& OnError
3232
, FString const& StoreId
33-
, bool bPopulateBundle)
33+
, bool bPopulateBundle
34+
, bool AutoCalcEstimatedPrice)
3435
{
3536
FReport::Log(FString(__FUNCTION__));
3637

@@ -56,7 +57,8 @@ void Item::GetItemById(FString const& ItemId
5657
{ TEXT("region"), Region },
5758
{ TEXT("language"), Language },
5859
{ TEXT("storeId"), StoreId },
59-
{ TEXT("populateBundle"), bPopulateBundle ? TEXT("true"):TEXT("false") }
60+
{ TEXT("populateBundle"), bPopulateBundle ? TEXT("true"):TEXT("false") },
61+
{ TEXT("autoCalcEstimatedPrice"), AutoCalcEstimatedPrice ? TEXT("true") : TEXT("false")}
6062
};
6163

6264
HttpClient.ApiRequest(Verb, Url, QueryParams, OnSuccess, OnError);
@@ -102,7 +104,8 @@ void Item::GetItemsByCriteria(FAccelByteModelsItemCriteria const& ItemCriteria
102104
, THandler<FAccelByteModelsItemPagingSlicedResult> const& OnSuccess
103105
, FErrorHandler const& OnError
104106
, TArray<EAccelByteItemListSortBy> SortBy
105-
, FString const& StoreId)
107+
, FString const& StoreId
108+
, bool AutoCalcEstimatedPrice)
106109
{
107110
FReport::Log(FString(__FUNCTION__));
108111

@@ -144,6 +147,7 @@ void Item::GetItemsByCriteria(FAccelByteModelsItemCriteria const& ItemCriteria
144147
{ TEXT("sortBy"), FString::Join(SortByStringArray, TEXT(",")) },
145148
{ TEXT("storeId"), StoreId },
146149
{ TEXT("includeSubCategoryItem"), ItemCriteria.IncludeSubCategoryItem ? TEXT("true") : TEXT("false") },
150+
{ TEXT("autoCalcEstimatedPrice"), AutoCalcEstimatedPrice ? TEXT("true") : TEXT("false")}
147151
};
148152

149153
HttpClient.ApiRequest(Verb, Url, QueryParams, OnSuccess, OnError);
@@ -155,7 +159,8 @@ void Item::SearchItem(FString const& Language
155159
, int32 const& Limit
156160
, FString const& Region
157161
, THandler<FAccelByteModelsItemPagingSlicedResult> const& OnSuccess
158-
, FErrorHandler const& OnError)
162+
, FErrorHandler const& OnError
163+
, bool AutoCalcEstimatedPrice)
159164
{
160165
FReport::Log(FString(__FUNCTION__));
161166

@@ -181,7 +186,8 @@ void Item::SearchItem(FString const& Language
181186
{ TEXT("language"), Language },
182187
{ TEXT("keyword"), Keyword },
183188
{ TEXT("offset"), Offset > 0 ? FString::FromInt(Offset) : TEXT("") },
184-
{ TEXT("limit"), Limit > 0 ? FString::FromInt(Limit) : TEXT("") }
189+
{ TEXT("limit"), Limit > 0 ? FString::FromInt(Limit) : TEXT("") },
190+
{ TEXT("autoCalcEstimatedPrice"), AutoCalcEstimatedPrice ? TEXT("true") : TEXT("false")}
185191
};
186192

187193
HttpClient.ApiRequest(Verb, Url, QueryParams, OnSuccess, OnError);
@@ -191,7 +197,8 @@ void Item::GetItemBySku(FString const& Sku
191197
, FString const& Language
192198
, FString const& Region
193199
, THandler<FAccelByteModelsItemInfo> const& OnSuccess
194-
, FErrorHandler const& OnError)
200+
, FErrorHandler const& OnError
201+
, bool AutoCalcEstimatedPrice)
195202
{
196203
FReport::Log(FString(__FUNCTION__));
197204

@@ -215,7 +222,8 @@ void Item::GetItemBySku(FString const& Sku
215222
const TMultiMap<FString, FString> QueryParams = {
216223
{ TEXT("sku"), Sku },
217224
{ TEXT("region"), Region },
218-
{ TEXT("language"), Language }
225+
{ TEXT("language"), Language },
226+
{ TEXT("autoCalcEstimatedPrice"), AutoCalcEstimatedPrice ? TEXT("true") : TEXT("false")}
219227
};
220228

221229
HttpClient.ApiRequest(Verb, Url, QueryParams, OnSuccess, OnError);
@@ -226,7 +234,8 @@ void Item::BulkGetLocaleItems(TArray<FString> const& ItemIds
226234
, FString const& Language
227235
, THandler<TArray<FAccelByteModelsItemInfo>> const& OnSuccess
228236
, FErrorHandler const& OnError
229-
, FString const& StoreId)
237+
, FString const& StoreId
238+
, bool AutoCalcEstimatedPrice)
230239
{
231240
FReport::Log(FString(__FUNCTION__));
232241

@@ -251,7 +260,8 @@ void Item::BulkGetLocaleItems(TArray<FString> const& ItemIds
251260
{ TEXT("itemIds"), FString::Join(ItemIds, TEXT(",")) },
252261
{ TEXT("region"), Region },
253262
{ TEXT("language"), Language },
254-
{ TEXT("storeId"), StoreId }
263+
{ TEXT("storeId"), StoreId },
264+
{ TEXT("autoCalcEstimatedPrice"), AutoCalcEstimatedPrice ? TEXT("true") : TEXT("false")}
255265
};
256266

257267
HttpClient.ApiRequest(Verb, Url, QueryParams, OnSuccess, OnError);

0 commit comments

Comments
 (0)