Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230428
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed May 2, 2023
2 parents cbfca7b + 7efa3b4 commit ac36674
Show file tree
Hide file tree
Showing 242 changed files with 3,122 additions and 3,612 deletions.
4 changes: 2 additions & 2 deletions 4.23/ExampleProject/Plugins/PlayFab/PlayFab.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"FriendlyName": "PlayFab Marketplace Plugin",
"Version": 0,
"EngineVersion": "4.23.0",
"VersionName": "1.113.230403",
"VersionName": "1.115.230428",
"CreatedBy": "PlayFab and Phoenix Labs",
"CreatedByURL": "https://playfab.com/",
"DocsURL": "https://docs.microsoft.com/en-us/gaming/playfab/api-references/",
"SupportURL": "https://community.playfab.com/index.html",
"Category": "PlayFab",
"Description": "PlayFab Marketplace plugin for Unreal Engine 4.23 Current API version: 1.113.230403",
"Description": "PlayFab Marketplace plugin for Unreal Engine 4.23 Current API version: 1.115.230428",
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/217fdf581b784571af03d3fb6580368f",
"Modules": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2907,12 +2907,6 @@ struct PLAYFAB_API FClientGetFriendsListRequest : public FPlayFabRequestCommon
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Friend List Management Models")
EExternalFriendSources ExternalPlatformFriends = StaticCast<EExternalFriendSources>(0);
/** Indicates whether Facebook friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Friend List Management Models")
bool IncludeFacebookFriends = false;
/** Indicates whether Steam service friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Friend List Management Models")
bool IncludeSteamFriends = false;
/**
* If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client,
* only the allowed client profile properties for the title may be requested. These allowed properties are configured in
Expand Down Expand Up @@ -3521,12 +3515,6 @@ struct PLAYFAB_API FClientGetFriendLeaderboardRequest : public FPlayFabRequestCo
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
EExternalFriendSources ExternalPlatformFriends = StaticCast<EExternalFriendSources>(0);
/** Indicates whether Facebook friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
bool IncludeFacebookFriends = false;
/** Indicates whether Steam service friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
bool IncludeSteamFriends = false;
/** Maximum number of entries to retrieve. Default 10, maximum 100. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
int32 MaxResultsCount = 0;
Expand Down Expand Up @@ -3585,12 +3573,6 @@ struct PLAYFAB_API FClientGetFriendLeaderboardAroundPlayerRequest : public FPlay
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
EExternalFriendSources ExternalPlatformFriends = StaticCast<EExternalFriendSources>(0);
/** Indicates whether Facebook friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
bool IncludeFacebookFriends = false;
/** Indicates whether Steam service friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
bool IncludeSteamFriends = false;
/** Maximum number of entries to retrieve. Default 10, maximum 100. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Client | Player Data Management Models")
int32 MaxResultsCount = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ struct PLAYFAB_API FMultiplayerFindFriendLobbiesRequest : public FPlayFabRequest
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Multiplayer | Lobby Models")
UPlayFabJsonObject* CustomTags = nullptr;
/** Controls whether this query should link to friends made on the Facebook network. Defaults to false */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Multiplayer | Lobby Models")
bool ExcludeFacebookFriends = false;
/** Controls whether this query should link to friends made on the Steam network. Defaults to false */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Multiplayer | Lobby Models")
bool ExcludeSteamFriends = false;
/** Indicates which other platforms' friends this query should link to. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Multiplayer | Lobby Models")
EExternalFriendSources ExternalPlatformFriends = StaticCast<EExternalFriendSources>(0);
Expand Down Expand Up @@ -1986,6 +1980,9 @@ struct PLAYFAB_API FMultiplayerGetBuildResponse : public FPlayFabResultCommon
/** The VM size the build was created on. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Multiplayer | MultiplayerServer Models")
EAzureVmSize VmSize = StaticCast<EAzureVmSize>(0);
/** The configuration for the VmStartupScript feature for the build */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Multiplayer | MultiplayerServer Models")
UPlayFabJsonObject* VmStartupScriptConfiguration = nullptr;
};

/** Returns the details about a multiplayer server build alias. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1710,12 +1710,6 @@ struct PLAYFAB_API FServerGetFriendsListRequest : public FPlayFabRequestCommon
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Friend List Management Models")
EExternalFriendSources ExternalPlatformFriends = StaticCast<EExternalFriendSources>(0);
/** Indicates whether Facebook friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Friend List Management Models")
bool IncludeFacebookFriends = false;
/** Indicates whether Steam service friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Friend List Management Models")
bool IncludeSteamFriends = false;
/** PlayFab identifier of the player whose friend list to get. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Friend List Management Models")
FString PlayFabId;
Expand Down Expand Up @@ -2053,12 +2047,6 @@ struct PLAYFAB_API FServerGetFriendLeaderboardRequest : public FPlayFabRequestCo
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Player Data Management Models")
EExternalFriendSources ExternalPlatformFriends = StaticCast<EExternalFriendSources>(0);
/** Indicates whether Facebook friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Player Data Management Models")
bool IncludeFacebookFriends = false;
/** Indicates whether Steam service friends should be included in the response. Default is true. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Player Data Management Models")
bool IncludeSteamFriends = false;
/** Maximum number of entries to retrieve. */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PlayFab | Server | Player Data Management Models")
int32 MaxResultsCount = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6100,8 +6100,6 @@ UPlayFabClientAPI* UPlayFabClientAPI::GetFriendsList(FClientGetFriendsListReques
FString temp_ExternalPlatformFriends;
if (GetEnumValueToString<EExternalFriendSources>(TEXT("EExternalFriendSources"), request.ExternalPlatformFriends, temp_ExternalPlatformFriends))
OutRestJsonObj->SetStringField(TEXT("ExternalPlatformFriends"), temp_ExternalPlatformFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeFacebookFriends"), request.IncludeFacebookFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeSteamFriends"), request.IncludeSteamFriends);
if (request.ProfileConstraints != nullptr) OutRestJsonObj->SetObjectField(TEXT("ProfileConstraints"), request.ProfileConstraints);
if (request.XboxToken.IsEmpty() || request.XboxToken == "") {
OutRestJsonObj->SetFieldNull(TEXT("XboxToken"));
Expand Down Expand Up @@ -7199,8 +7197,6 @@ UPlayFabClientAPI* UPlayFabClientAPI::GetFriendLeaderboard(FClientGetFriendLeade
FString temp_ExternalPlatformFriends;
if (GetEnumValueToString<EExternalFriendSources>(TEXT("EExternalFriendSources"), request.ExternalPlatformFriends, temp_ExternalPlatformFriends))
OutRestJsonObj->SetStringField(TEXT("ExternalPlatformFriends"), temp_ExternalPlatformFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeFacebookFriends"), request.IncludeFacebookFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeSteamFriends"), request.IncludeSteamFriends);
OutRestJsonObj->SetNumberField(TEXT("MaxResultsCount"), request.MaxResultsCount);
if (request.ProfileConstraints != nullptr) OutRestJsonObj->SetObjectField(TEXT("ProfileConstraints"), request.ProfileConstraints);
OutRestJsonObj->SetNumberField(TEXT("StartPosition"), request.StartPosition);
Expand Down Expand Up @@ -7267,8 +7263,6 @@ UPlayFabClientAPI* UPlayFabClientAPI::GetFriendLeaderboardAroundPlayer(FClientGe
FString temp_ExternalPlatformFriends;
if (GetEnumValueToString<EExternalFriendSources>(TEXT("EExternalFriendSources"), request.ExternalPlatformFriends, temp_ExternalPlatformFriends))
OutRestJsonObj->SetStringField(TEXT("ExternalPlatformFriends"), temp_ExternalPlatformFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeFacebookFriends"), request.IncludeFacebookFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeSteamFriends"), request.IncludeSteamFriends);
OutRestJsonObj->SetNumberField(TEXT("MaxResultsCount"), request.MaxResultsCount);
if (request.PlayFabId.IsEmpty() || request.PlayFabId == "") {
OutRestJsonObj->SetFieldNull(TEXT("PlayFabId"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ UPlayFabMultiplayerAPI* UPlayFabMultiplayerAPI::FindFriendLobbies(FMultiplayerFi

// Serialize all the request properties to json
if (request.CustomTags != nullptr) OutRestJsonObj->SetObjectField(TEXT("CustomTags"), request.CustomTags);
OutRestJsonObj->SetBoolField(TEXT("ExcludeFacebookFriends"), request.ExcludeFacebookFriends);
OutRestJsonObj->SetBoolField(TEXT("ExcludeSteamFriends"), request.ExcludeSteamFriends);
FString temp_ExternalPlatformFriends;
if (GetEnumValueToString<EExternalFriendSources>(TEXT("EExternalFriendSources"), request.ExternalPlatformFriends, temp_ExternalPlatformFriends))
OutRestJsonObj->SetStringField(TEXT("ExternalPlatformFriends"), temp_ExternalPlatformFriends);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ FMultiplayerGetBuildResponse UPlayFabMultiplayerModelDecoder::decodeGetBuildResp
tempStruct.ServerType = !(dataObj->HasField("ServerType")) ? TEXT("") : dataObj->GetStringField("ServerType");
tempStruct.StartMultiplayerServerCommand = !(dataObj->HasField("StartMultiplayerServerCommand")) ? TEXT("") : dataObj->GetStringField("StartMultiplayerServerCommand");
GetEnumValueFromString<EAzureVmSize>(TEXT("EAzureVmSize"), dataObj->GetStringField("VmSize"), tempStruct.VmSize);
tempStruct.VmStartupScriptConfiguration = !(dataObj->HasField("VmStartupScriptConfiguration")) ? nullptr : dataObj->GetObjectField("VmStartupScriptConfiguration");

return tempStruct;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3876,8 +3876,6 @@ UPlayFabServerAPI* UPlayFabServerAPI::GetFriendsList(FServerGetFriendsListReques
FString temp_ExternalPlatformFriends;
if (GetEnumValueToString<EExternalFriendSources>(TEXT("EExternalFriendSources"), request.ExternalPlatformFriends, temp_ExternalPlatformFriends))
OutRestJsonObj->SetStringField(TEXT("ExternalPlatformFriends"), temp_ExternalPlatformFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeFacebookFriends"), request.IncludeFacebookFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeSteamFriends"), request.IncludeSteamFriends);
if (request.PlayFabId.IsEmpty() || request.PlayFabId == "") {
OutRestJsonObj->SetFieldNull(TEXT("PlayFabId"));
} else {
Expand Down Expand Up @@ -4601,8 +4599,6 @@ UPlayFabServerAPI* UPlayFabServerAPI::GetFriendLeaderboard(FServerGetFriendLeade
FString temp_ExternalPlatformFriends;
if (GetEnumValueToString<EExternalFriendSources>(TEXT("EExternalFriendSources"), request.ExternalPlatformFriends, temp_ExternalPlatformFriends))
OutRestJsonObj->SetStringField(TEXT("ExternalPlatformFriends"), temp_ExternalPlatformFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeFacebookFriends"), request.IncludeFacebookFriends);
OutRestJsonObj->SetBoolField(TEXT("IncludeSteamFriends"), request.IncludeSteamFriends);
OutRestJsonObj->SetNumberField(TEXT("MaxResultsCount"), request.MaxResultsCount);
if (request.PlayFabId.IsEmpty() || request.PlayFabId == "") {
OutRestJsonObj->SetFieldNull(TEXT("PlayFabId"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,16 @@ FString UPlayFabUtilities::getErrorText(int32 code)
case 16000: returnText = "OperationCanceled"; break;
case 17000: returnText = "InvalidDisplayNameRandomSuffixLength"; break;
case 17001: returnText = "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; break;
case 18000: returnText = "PartitionedEventInvalid"; break;
case 18001: returnText = "PartitionedEventCountOverLimit"; break;
case 19000: returnText = "PlayerCustomPropertiesPropertyNameTooLong"; break;
case 19001: returnText = "PlayerCustomPropertiesPropertyNameIsInvalid"; break;
case 19002: returnText = "PlayerCustomPropertiesStringPropertyValueTooLong"; break;
case 19003: returnText = "PlayerCustomPropertiesValueIsInvalidType"; break;
case 19004: returnText = "PlayerCustomPropertiesVersionMismatch"; break;
case 19005: returnText = "PlayerCustomPropertiesPropertyCountTooHigh"; break;
case 19006: returnText = "PlayerCustomPropertiesDuplicatePropertyName"; break;
case 19007: returnText = "PlayerCustomPropertiesPropertyDoesNotExist"; break;
}

// Return the text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

namespace PlayFabCommon
{
const FString PlayFabCommonSettings::sdkVersion = "1.113.230403";
const FString PlayFabCommonSettings::sdkVersion = "1.115.230428";
const FString PlayFabCommonSettings::buildIdentifier = "adobuild_unrealmarketplaceplugin_142";
const FString PlayFabCommonSettings::versionString = "UE4MKPL-1.113.230403";
const FString PlayFabCommonSettings::versionString = "UE4MKPL-1.115.230428";

FString PlayFabCommonSettings::clientSessionTicket;
FString PlayFabCommonSettings::entityToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9397,18 +9397,6 @@ void PlayFab::ClientModels::FGetFriendLeaderboardAroundPlayerRequest::writeJSON(
writeExternalFriendSourcesEnumJSON(ExternalPlatformFriends, writer);
}

if (IncludeFacebookFriends.notNull())
{
writer->WriteIdentifierPrefix(TEXT("IncludeFacebookFriends"));
writer->WriteValue(IncludeFacebookFriends);
}

if (IncludeSteamFriends.notNull())
{
writer->WriteIdentifierPrefix(TEXT("IncludeSteamFriends"));
writer->WriteValue(IncludeSteamFriends);
}

if (MaxResultsCount.notNull())
{
writer->WriteIdentifierPrefix(TEXT("MaxResultsCount"));
Expand Down Expand Up @@ -9473,20 +9461,6 @@ bool PlayFab::ClientModels::FGetFriendLeaderboardAroundPlayerRequest::readFromVa

ExternalPlatformFriends = readExternalFriendSourcesFromValue(obj->TryGetField(TEXT("ExternalPlatformFriends")));

const TSharedPtr<FJsonValue> IncludeFacebookFriendsValue = obj->TryGetField(TEXT("IncludeFacebookFriends"));
if (IncludeFacebookFriendsValue.IsValid() && !IncludeFacebookFriendsValue->IsNull())
{
bool TmpValue;
if (IncludeFacebookFriendsValue->TryGetBool(TmpValue)) { IncludeFacebookFriends = TmpValue; }
}

const TSharedPtr<FJsonValue> IncludeSteamFriendsValue = obj->TryGetField(TEXT("IncludeSteamFriends"));
if (IncludeSteamFriendsValue.IsValid() && !IncludeSteamFriendsValue->IsNull())
{
bool TmpValue;
if (IncludeSteamFriendsValue->TryGetBool(TmpValue)) { IncludeSteamFriends = TmpValue; }
}

const TSharedPtr<FJsonValue> MaxResultsCountValue = obj->TryGetField(TEXT("MaxResultsCount"));
if (MaxResultsCountValue.IsValid() && !MaxResultsCountValue->IsNull())
{
Expand Down Expand Up @@ -9700,18 +9674,6 @@ void PlayFab::ClientModels::FGetFriendLeaderboardRequest::writeJSON(JsonWriter&
writeExternalFriendSourcesEnumJSON(ExternalPlatformFriends, writer);
}

if (IncludeFacebookFriends.notNull())
{
writer->WriteIdentifierPrefix(TEXT("IncludeFacebookFriends"));
writer->WriteValue(IncludeFacebookFriends);
}

if (IncludeSteamFriends.notNull())
{
writer->WriteIdentifierPrefix(TEXT("IncludeSteamFriends"));
writer->WriteValue(IncludeSteamFriends);
}

if (MaxResultsCount.notNull())
{
writer->WriteIdentifierPrefix(TEXT("MaxResultsCount"));
Expand Down Expand Up @@ -9773,20 +9735,6 @@ bool PlayFab::ClientModels::FGetFriendLeaderboardRequest::readFromValue(const TS

ExternalPlatformFriends = readExternalFriendSourcesFromValue(obj->TryGetField(TEXT("ExternalPlatformFriends")));

const TSharedPtr<FJsonValue> IncludeFacebookFriendsValue = obj->TryGetField(TEXT("IncludeFacebookFriends"));
if (IncludeFacebookFriendsValue.IsValid() && !IncludeFacebookFriendsValue->IsNull())
{
bool TmpValue;
if (IncludeFacebookFriendsValue->TryGetBool(TmpValue)) { IncludeFacebookFriends = TmpValue; }
}

const TSharedPtr<FJsonValue> IncludeSteamFriendsValue = obj->TryGetField(TEXT("IncludeSteamFriends"));
if (IncludeSteamFriendsValue.IsValid() && !IncludeSteamFriendsValue->IsNull())
{
bool TmpValue;
if (IncludeSteamFriendsValue->TryGetBool(TmpValue)) { IncludeSteamFriends = TmpValue; }
}

const TSharedPtr<FJsonValue> MaxResultsCountValue = obj->TryGetField(TEXT("MaxResultsCount"));
if (MaxResultsCountValue.IsValid() && !MaxResultsCountValue->IsNull())
{
Expand Down Expand Up @@ -9865,18 +9813,6 @@ void PlayFab::ClientModels::FGetFriendsListRequest::writeJSON(JsonWriter& writer
writeExternalFriendSourcesEnumJSON(ExternalPlatformFriends, writer);
}

if (IncludeFacebookFriends.notNull())
{
writer->WriteIdentifierPrefix(TEXT("IncludeFacebookFriends"));
writer->WriteValue(IncludeFacebookFriends);
}

if (IncludeSteamFriends.notNull())
{
writer->WriteIdentifierPrefix(TEXT("IncludeSteamFriends"));
writer->WriteValue(IncludeSteamFriends);
}

if (ProfileConstraints.IsValid())
{
writer->WriteIdentifierPrefix(TEXT("ProfileConstraints"));
Expand Down Expand Up @@ -9907,20 +9843,6 @@ bool PlayFab::ClientModels::FGetFriendsListRequest::readFromValue(const TSharedP

ExternalPlatformFriends = readExternalFriendSourcesFromValue(obj->TryGetField(TEXT("ExternalPlatformFriends")));

const TSharedPtr<FJsonValue> IncludeFacebookFriendsValue = obj->TryGetField(TEXT("IncludeFacebookFriends"));
if (IncludeFacebookFriendsValue.IsValid() && !IncludeFacebookFriendsValue->IsNull())
{
bool TmpValue;
if (IncludeFacebookFriendsValue->TryGetBool(TmpValue)) { IncludeFacebookFriends = TmpValue; }
}

const TSharedPtr<FJsonValue> IncludeSteamFriendsValue = obj->TryGetField(TEXT("IncludeSteamFriends"));
if (IncludeSteamFriendsValue.IsValid() && !IncludeSteamFriendsValue->IsNull())
{
bool TmpValue;
if (IncludeSteamFriendsValue->TryGetBool(TmpValue)) { IncludeSteamFriends = TmpValue; }
}

const TSharedPtr<FJsonValue> ProfileConstraintsValue = obj->TryGetField(TEXT("ProfileConstraints"));
if (ProfileConstraintsValue.IsValid() && !ProfileConstraintsValue->IsNull())
{
Expand Down
Loading

0 comments on commit ac36674

Please sign in to comment.