Skip to content

Commit 71d5ad0

Browse files
Updated from pipeline, Version : 23.1.2
1 parent 8035cfd commit 71d5ad0

File tree

6 files changed

+28
-15
lines changed

6 files changed

+28
-15
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/4250160727/861449024/
4-
export COMMIT_HASH=2d2398ab01025e5344032c14648e35fe2757e8dc
5-
export GIT_HASH=2d2398ab01025e5344032c14648e35fe2757e8dc
6-
export VERSION=23.1.1
7-
export REVISION_ID=23.1.1
3+
export WORKDIR=/tmp/pipelines/4298664964/869779115/
4+
export COMMIT_HASH=aca8b98b486aa2d54d30d5a7cdcca0f22b5de322
5+
export GIT_HASH=aca8b98b486aa2d54d30d5a7cdcca0f22b5de322
6+
export VERSION=23.1.2
7+
export REVISION_ID=23.1.2
88
9-
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDIzLjEuMSAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='
9+
export COMMIT_MESSAGE_BASE64='Y2hvcmUocmVsZWFzZSk6IDIzLjEuMiAtIGNvbW1pdGVkIGFuZCB0YWdnZWQgYnkgSmVua2lucwo='

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": 32,
4-
"VersionName": "23.1.1",
3+
"Version": 33,
4+
"VersionName": "23.1.2",
55
"FriendlyName": "AccelByte Unreal Engine SDK",
66
"Description": "Official AccelByte SDK for Unreal Engine 4",
77
"Category": "Online Platform",

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
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+
### [23.1.2](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/23.1.2%0D23.1.1) (2023-05-17)
6+
7+
8+
### Bug Fixes
9+
10+
* **UGC:** change the content update boolean to false by default ([36914b6](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/commits/36914b6c0575815ef9db954c667e92e44bf5a5f2))
11+
512
### [23.1.1](https://bitbucket.org/accelbyte/justice-unreal-sdk-plugin/branches/compare/23.1.1%0D23.1.0) (2023-05-09)
613

714

Source/AccelByteUe4Sdk/Private/Api/AccelByteUGCApi.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ void UGC::ModifyContent(FString const& ChannelId
129129
, FString const& ContentId
130130
, FAccelByteModelsUGCRequest const& ModifyRequest
131131
, THandler<FAccelByteModelsUGCResponse> const& OnSuccess
132-
, FErrorHandler const& OnError)
132+
, FErrorHandler const& OnError
133+
, bool bUpdateContent)
133134
{
134135
FReport::Log(FString(__FUNCTION__));
135136
FReport::LogDeprecated(FString(__FUNCTION__), TEXT("The API might be removed without notice, please use ModifyContent(.., FAccelByteModelsUGCUpdateRequest const& ModifyRequest, ..) instead!!"));
@@ -143,7 +144,7 @@ void UGC::ModifyContent(FString const& ChannelId
143144
Req.FileExtension = ModifyRequest.FileExtension;
144145
Req.ContentType = ModifyRequest.ContentType;
145146
Req.PreviewMetadata = ModifyRequest.PreviewMetadata;
146-
Req.UpdateContentFile = true;
147+
Req.UpdateContentFile = bUpdateContent;
147148
Req.CustomAttributes = ModifyRequest.CustomAttributes;
148149

149150
ModifyContent(ChannelId, ContentId, Req, OnSuccess, OnError);
@@ -159,7 +160,8 @@ void UGC::ModifyContent(FString const& ChannelId
159160
, FString const& FileExtension
160161
, THandler<FAccelByteModelsUGCResponse> const& OnSuccess
161162
, FErrorHandler const& OnError
162-
, FString ContentType)
163+
, FString ContentType
164+
, bool bUpdateContent)
163165
{
164166
FReport::Log(FString(__FUNCTION__));
165167
FReport::LogDeprecated(FString(__FUNCTION__), TEXT("The API might be removed without notice, please use ModifyContent(.., FAccelByteModelsUGCUpdateRequest const& ModifyRequest, ..) instead!!"));
@@ -173,7 +175,7 @@ void UGC::ModifyContent(FString const& ChannelId
173175
Req.FileExtension = FileExtension;
174176
Req.ContentType = ContentType;
175177

176-
ModifyContent(ChannelId, ContentId, Req, OnSuccess, OnError);
178+
ModifyContent(ChannelId, ContentId, Req, OnSuccess, OnError, bUpdateContent);
177179
}
178180

179181
void UGC::DeleteContent(FString const& ChannelId

Source/AccelByteUe4Sdk/Public/Api/AccelByteUGCApi.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class ACCELBYTEUE4SDK_API UGC : public FApiBase
8888
* @param UGCRequest Detail information for the content request that will be modified.
8989
* @param OnSuccess This will be called when the operation succeeded. The result is FAccelByteModelsUGCResponse.
9090
* @param OnError This will be called when the operation failed.
91+
* @param bUpdateContent This will be used to update the content too or only content information . Default value is false.
9192
*
9293
* @deprecated This method will be removed in the future, so please use
9394
* void ModifyContent(FString const& ChannelId
@@ -100,7 +101,8 @@ class ACCELBYTEUE4SDK_API UGC : public FApiBase
100101
, FString const& ContentId
101102
, FAccelByteModelsUGCRequest const& UGCRequest
102103
, THandler<FAccelByteModelsUGCResponse> const& OnSuccess
103-
, FErrorHandler const& OnError);
104+
, FErrorHandler const& OnError
105+
, bool bUpdateContent = false);
104106

105107
/**
106108
* @brief Modify existing content to update some information with TArray<uint8> Preview parameter.
@@ -116,6 +118,7 @@ class ACCELBYTEUE4SDK_API UGC : public FApiBase
116118
* @param OnSuccess This will be called when the operation succeeded. The result is FAccelByteModelsUGCResponse.
117119
* @param OnError This will be called when the operation failed.
118120
* @param ContentType The specific type of the content's modified. Default value is "application/octet-stream".
121+
* @param bUpdateContent This will be used to update the content too or only content information . Default value is false.
119122
*
120123
* @deprecated This method will be removed in the future, so please use
121124
* void ModifyContent(FString const& ChannelId
@@ -134,7 +137,8 @@ class ACCELBYTEUE4SDK_API UGC : public FApiBase
134137
, FString const& FileExtension
135138
, THandler<FAccelByteModelsUGCResponse> const& OnSuccess
136139
, FErrorHandler const& OnError
137-
, FString ContentType = TEXT("application/octet-stream"));
140+
, FString ContentType = TEXT("application/octet-stream")
141+
, bool bUpdateContent = false);
138142

139143
/**
140144
* @brief Delete a content based on the its channel id and content id.

version.json

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

0 commit comments

Comments
 (0)