Skip to content

Commit

Permalink
post rebase fixes for 5.2 downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
andygruening committed Oct 31, 2024
1 parent 293b0db commit e4b44f3
Show file tree
Hide file tree
Showing 29 changed files with 6 additions and 1,382 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ struct SEQUENCEPLUGIN_API FSeqGetTokenSuppliesArgs
FString contractAddress = "";
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Default")
bool includeMetaData = false;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Default")
TOptional<FSeqPage> page;

bool customGetter = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct SEQUENCEPLUGIN_API FSeqGetTransactionHistoryArgs
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Default")
FSeqTransactionHistoryFilter filter;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Default")

TOptional<FSeqPage> page;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Default")
bool includeMetaData = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class UMarketplaceEnumsExtensions : public UObject
TArray<FString> StringArray;
for (const TEnumAsByte<EMarketplaceKind>& Kind : MarketplaceKinds)
{
StringArray.Add(UMarketplaceEnumsExtensions::AsString(Kind));
StringArray.Add(NewObject<UMarketplaceEnumsExtensions>()->AsString(Kind));
}
return StringArray;
}
Expand All @@ -147,7 +147,7 @@ class UMarketplaceEnumsExtensions : public UObject
TArray<FString> StringArray;
for (const TEnumAsByte<EMarketplacePropertyType>& Type : PropertyTypes)
{
StringArray.Add(UMarketplaceEnumsExtensions::AsString(Type));
StringArray.Add(NewObject<UMarketplaceEnumsExtensions>()->AsString(Type));
}
return StringArray;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct SEQUENCEPLUGIN_API FSeqCollectiblesFilter
for (int32 i = 0; i < MarketplaceKinds.Num(); i++)
{
ret.Append("\"");
ret.Append(UMarketplaceEnumsExtensions::AsString(MarketplaceKinds[i]));
ret.Append(NewObject<UMarketplaceEnumsExtensions>()->AsString(MarketplaceKinds[i]));
ret.Append("\"");

if (i < MarketplaceKinds.Num() - 1)
Expand Down Expand Up @@ -143,7 +143,7 @@ struct SEQUENCEPLUGIN_API FSeqCollectiblesFilter
ret->SetArrayField("properties", propertiesJsonArray);
}

ret->SetArrayField("marketplaces", USequenceSupport::StringListToJsonArray(UMarketplaceEnumsExtensions::EnumArrayToStringList<EMarketplaceKind>(MarketplaceKinds)));
ret->SetArrayField("marketplaces", USequenceSupport::StringListToJsonArray(NewObject<UMarketplaceEnumsExtensions>()->EnumArrayToStringList<EMarketplaceKind>(MarketplaceKinds)));

if (InAccounts.Num() > 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ struct SEQUENCEPLUGIN_API FSeqPropertyFilter

if (Type != EMarketplacePropertyType()) // Assuming you have an Unknown enum value
{
Args.Append("\"type\":" + UMarketplaceEnumsExtensions::AsString(Type) + ",");
Args.Append("\"type\":" + NewObject<UMarketplaceEnumsExtensions>()->AsString(Type) + ",");
}

Args.Append("\"min\":" + FString::Printf(TEXT("%lld"), Min) + ",");
Expand Down
3 changes: 0 additions & 3 deletions Plugins/SequenceTests/Resources/Icon128.png

This file was deleted.

34 changes: 0 additions & 34 deletions Plugins/SequenceTests/SequenceTests.uplugin

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e4b44f3

Please sign in to comment.