Skip to content

Commit

Permalink
v1.8.2 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtycajunrice authored Dec 9, 2024
1 parent e552b98 commit 47759a0
Show file tree
Hide file tree
Showing 89 changed files with 400 additions and 394 deletions.
Binary file modified Content/Examples/NodeDocs/Thirdweb_AllNodes.uasset
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Contract/AsyncTaskThirdwebEngineReadContract.h"
#include "AsyncTasks/Engine/Contract/AsyncTaskContractReadContract.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"

UAsyncTaskThirdwebEngineReadContract* UAsyncTaskThirdwebEngineReadContract::ReadContract(
UAsyncTaskContractReadContract* UAsyncTaskContractReadContract::ReadContract(
UObject* WorldContextObject,
const int64 ChainID,
const FString& ContractAddress,
Expand All @@ -21,7 +21,7 @@ UAsyncTaskThirdwebEngineReadContract* UAsyncTaskThirdwebEngineReadContract::Read
RR_TASK
}

void UAsyncTaskThirdwebEngineReadContract::Activate()
void UAsyncTaskContractReadContract::Activate()
{
ThirdwebEngine::Contract::Read(
this,
Expand All @@ -34,13 +34,13 @@ void UAsyncTaskThirdwebEngineReadContract::Activate()
);
}

void UAsyncTaskThirdwebEngineReadContract::HandleResponse(const FString& Content)
void UAsyncTaskContractReadContract::HandleResponse(const FString& Content)
{
Success.Broadcast(Content, TEXT(""));
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineReadContract::HandleFailed(const FString& Error)
void UAsyncTaskContractReadContract::HandleFailed(const FString& Error)
{
Failed.Broadcast(TEXT(""), Error);
SetReadyToDestroy();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Contract/AsyncTaskThirdwebEngineWriteContract.h"
#include "AsyncTasks/Engine/Contract/AsyncTaskContractWriteContract.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"

UAsyncTaskThirdwebEngineWriteContract* UAsyncTaskThirdwebEngineWriteContract::WriteContract(
UAsyncTaskContractWriteContract* UAsyncTaskContractWriteContract::WriteContract(
UObject* WorldContextObject,
const int64 ChainId,
const FString& ContractAddress,
Expand Down Expand Up @@ -34,7 +34,7 @@ UAsyncTaskThirdwebEngineWriteContract* UAsyncTaskThirdwebEngineWriteContract::Wr
RR_TASK
}

void UAsyncTaskThirdwebEngineWriteContract::Activate()
void UAsyncTaskContractWriteContract::Activate()
{
ThirdwebEngine::Contract::Write(
this,
Expand All @@ -54,13 +54,13 @@ void UAsyncTaskThirdwebEngineWriteContract::Activate()
);
}

void UAsyncTaskThirdwebEngineWriteContract::HandleResponse(const FString& QueueId)
void UAsyncTaskContractWriteContract::HandleResponse(const FString& QueueId)
{
Success.Broadcast(QueueId, TEXT(""));
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineWriteContract::HandleFailed(const FString& Error)
void UAsyncTaskContractWriteContract::HandleFailed(const FString& Error)
{
Failed.Broadcast(TEXT(""), Error);
SetReadyToDestroy();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/AsyncTaskMarketplacePostBase.h"

void UAsyncTaskMarketplacePostBase::HandleResponse(const FString& QueueId)
{
Success.Broadcast(QueueId, TEXT(""));
SetReadyToDestroy();
}

void UAsyncTaskMarketplacePostBase::HandleFailed(const FString& Error)
{
Failed.Broadcast(TEXT(""), Error);
SetReadyToDestroy();
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer.h"
#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskDirectListingsApproveReservedBuyer.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"
#include "Engine/Marketplace/ThirdwebMarketplace.h"

UAsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer* UAsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer::ApproveReservedBuyer(
UAsyncTaskDirectListingsApproveReservedBuyer* UAsyncTaskDirectListingsApproveReservedBuyer::ApproveReservedBuyer(
UObject* WorldContextObject,
const int64 ChainId,
const FString& Contract,
Expand All @@ -30,7 +30,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer* UAsyncTas
RR_TASK
}

UAsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer* UAsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer::MarketplaceApproveReservedBuyer(
UAsyncTaskDirectListingsApproveReservedBuyer* UAsyncTaskDirectListingsApproveReservedBuyer::MarketplaceApproveReservedBuyer(
UObject* WorldContextObject,
const UThirdwebMarketplace* Marketplace,
const FString& BackendWallet,
Expand All @@ -53,7 +53,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer* UAsyncTas
RR_TASK
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsApproveReservedBuyer::Activate()
void UAsyncTaskDirectListingsApproveReservedBuyer::Activate()
{
ThirdwebEngine::Marketplace::DirectListings::ApproveReservedBuyer(
this,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskThirdwebEngineMarketplaceDirectListingsBuy.h"
#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskDirectListingsBuy.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"
#include "Engine/Marketplace/ThirdwebMarketplace.h"

UAsyncTaskThirdwebEngineMarketplaceDirectListingsBuy* UAsyncTaskThirdwebEngineMarketplaceDirectListingsBuy::Buy(
UAsyncTaskDirectListingsBuy* UAsyncTaskDirectListingsBuy::Buy(
UObject* WorldContextObject,
const int64 ChainId,
const FString& Contract,
Expand All @@ -30,7 +30,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsBuy* UAsyncTaskThirdwebEngineMa
RR_TASK
}

UAsyncTaskThirdwebEngineMarketplaceDirectListingsBuy* UAsyncTaskThirdwebEngineMarketplaceDirectListingsBuy::MarketplaceBuy(
UAsyncTaskDirectListingsBuy* UAsyncTaskDirectListingsBuy::MarketplaceBuy(
UObject* WorldContextObject,
const UThirdwebMarketplace* Marketplace,
const FString& BackendWallet,
Expand All @@ -53,7 +53,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsBuy* UAsyncTaskThirdwebEngineMa
RR_TASK
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsBuy::Activate()
void UAsyncTaskDirectListingsBuy::Activate()
{
ThirdwebEngine::Marketplace::DirectListings::Buy(
this,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskThirdwebEngineMarketplaceDirectListingsCancel.h"
#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskDirectListingsCancel.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"
#include "Engine/Marketplace/ThirdwebMarketplace.h"

UAsyncTaskThirdwebEngineMarketplaceDirectListingsCancel* UAsyncTaskThirdwebEngineMarketplaceDirectListingsCancel::Cancel(
UAsyncTaskDirectListingsCancel* UAsyncTaskDirectListingsCancel::Cancel(
UObject* WorldContextObject,
const int64 ChainId,
const FString& Contract,
Expand All @@ -28,7 +28,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsCancel* UAsyncTaskThirdwebEngin
RR_TASK
}

UAsyncTaskThirdwebEngineMarketplaceDirectListingsCancel* UAsyncTaskThirdwebEngineMarketplaceDirectListingsCancel::MarketplaceCancel(
UAsyncTaskDirectListingsCancel* UAsyncTaskDirectListingsCancel::MarketplaceCancel(
UObject* WorldContextObject,
const UThirdwebMarketplace* Marketplace,
const FString& BackendWallet,
Expand All @@ -49,7 +49,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsCancel* UAsyncTaskThirdwebEngin
RR_TASK
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsCancel::Activate()
void UAsyncTaskDirectListingsCancel::Activate()
{
ThirdwebEngine::Marketplace::DirectListings::Cancel(
this,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskThirdwebEngineMarketplaceDirectListingsCreate.h"
#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskDirectListingsCreate.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"
#include "Engine/Marketplace/ThirdwebMarketplace.h"

UAsyncTaskThirdwebEngineMarketplaceDirectListingsCreate* UAsyncTaskThirdwebEngineMarketplaceDirectListingsCreate::Create(
UAsyncTaskDirectListingsCreate* UAsyncTaskDirectListingsCreate::Create(
UObject* WorldContextObject,
const int64 ChainId,
const FString& Contract,
Expand All @@ -28,7 +28,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsCreate* UAsyncTaskThirdwebEngin
RR_TASK
}

UAsyncTaskThirdwebEngineMarketplaceDirectListingsCreate* UAsyncTaskThirdwebEngineMarketplaceDirectListingsCreate::MarketplaceCreate(
UAsyncTaskDirectListingsCreate* UAsyncTaskDirectListingsCreate::MarketplaceCreate(
UObject* WorldContextObject,
const UThirdwebMarketplace* Marketplace,
const FString& BackendWallet,
Expand All @@ -48,7 +48,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsCreate* UAsyncTaskThirdwebEngin
RR_TASK
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsCreate::Activate()
void UAsyncTaskDirectListingsCreate::Activate()
{
ThirdwebEngine::Marketplace::DirectListings::Create(
this,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskThirdwebEngineMarketplaceDirectListingsGet.h"
#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskDirectListingsGet.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"
#include "Engine/Marketplace/ThirdwebMarketplace.h"
#include "Engine/Marketplace/DirectListings/ThirdwebMarketplaceDirectListing.h"

UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet* UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet::Get(
UAsyncTaskDirectListingsGet* UAsyncTaskDirectListingsGet::Get(
UObject* WorldContextObject,
const int64 ChainId,
const FString& Contract,
Expand All @@ -21,7 +21,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet* UAsyncTaskThirdwebEngineMa
RR_TASK
}

UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet* UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet::MarketplaceGet(
UAsyncTaskDirectListingsGet* UAsyncTaskDirectListingsGet::MarketplaceGet(
UObject* WorldContextObject,
const UThirdwebMarketplace* Marketplace,
const FString& ListingId
Expand All @@ -34,19 +34,19 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet* UAsyncTaskThirdwebEngineMa
RR_TASK
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet::HandleResponse(const FThirdwebMarketplaceDirectListing& Listing)
void UAsyncTaskDirectListingsGet::HandleResponse(const FThirdwebMarketplaceDirectListing& Listing)
{
Success.Broadcast(Listing, TEXT(""));
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet::HandleFailed(const FString& Error)
void UAsyncTaskDirectListingsGet::HandleFailed(const FString& Error)
{
Failed.Broadcast(FThirdwebMarketplaceDirectListing(), Error);
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGet::Activate()
void UAsyncTaskDirectListingsGet::Activate()
{
ThirdwebEngine::Marketplace::DirectListings::Get(
this,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll.h"
#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskDirectListingsGetAll.h"

#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"
#include "Engine/Marketplace/ThirdwebMarketplace.h"

UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll* UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll::GetAll(
UAsyncTaskDirectListingsGetAll* UAsyncTaskDirectListingsGetAll::GetAll(
UObject* WorldContextObject,
const int64 ChainId,
const FString& Contract,
Expand All @@ -30,7 +30,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll* UAsyncTaskThirdwebEngin
RR_TASK
}

UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll* UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll::MarketplaceGetAll(
UAsyncTaskDirectListingsGetAll* UAsyncTaskDirectListingsGetAll::MarketplaceGetAll(
UObject* WorldContextObject,
const UThirdwebMarketplace* Marketplace,
const bool bOnlyValid,
Expand All @@ -53,19 +53,19 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll* UAsyncTaskThirdwebEngin
RR_TASK
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll::HandleResponse(const TArray<FThirdwebMarketplaceDirectListing>& Listings)
void UAsyncTaskDirectListingsGetAll::HandleResponse(const TArray<FThirdwebMarketplaceDirectListing>& Listings)
{
Success.Broadcast(Listings, TEXT(""));
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll::HandleFailed(const FString& Error)
void UAsyncTaskDirectListingsGetAll::HandleFailed(const FString& Error)
{
Failed.Broadcast({}, Error);
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetAll::Activate()
void UAsyncTaskDirectListingsGetAll::Activate()
{
ThirdwebEngine::Marketplace::DirectListings::GetAll(
this,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) 2024 Thirdweb. All Rights Reserved.

#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount.h"
#include "AsyncTasks/Engine/Marketplace/DirectListings/AsyncTaskDirectListingsGetTotalCount.h"

#include "ThirdwebUtils.h"
#include "Components/SlateWrapperTypes.h"
#include "Engine/ThirdwebEngine.h"
#include "Engine/Marketplace/ThirdwebMarketplace.h"

UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount* UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount::GetTotalCount(
UAsyncTaskDirectListingsGetTotalCount* UAsyncTaskDirectListingsGetTotalCount::GetTotalCount(
UObject* WorldContextObject,
const int64 ChainId,
const FString& Contract
Expand All @@ -19,7 +19,7 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount* UAsyncTaskThirdw
RR_TASK
}

UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount* UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount::MarketplaceGetTotalCount(
UAsyncTaskDirectListingsGetTotalCount* UAsyncTaskDirectListingsGetTotalCount::MarketplaceGetTotalCount(
UObject* WorldContextObject,
const UThirdwebMarketplace* Marketplace
)
Expand All @@ -30,19 +30,19 @@ UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount* UAsyncTaskThirdw
RR_TASK
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount::HandleResponse(const FString& Total)
void UAsyncTaskDirectListingsGetTotalCount::HandleResponse(const FString& Total)
{
Success.Broadcast(ThirdwebUtils::Internal::ParseInt64(Total), TEXT(""));
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount::HandleFailed(const FString& Error)
void UAsyncTaskDirectListingsGetTotalCount::HandleFailed(const FString& Error)
{
Failed.Broadcast(0, Error);
SetReadyToDestroy();
}

void UAsyncTaskThirdwebEngineMarketplaceDirectListingsGetTotalCount::Activate()
void UAsyncTaskDirectListingsGetTotalCount::Activate()
{
ThirdwebEngine::Marketplace::DirectListings::GetTotalCount(
this,
Expand Down
Loading

0 comments on commit 47759a0

Please sign in to comment.