From ac79da3cc8c7c8053d131af24205f02e796fd42e Mon Sep 17 00:00:00 2001 From: Reejak <74499153+Reejak@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:23:48 +0100 Subject: [PATCH] Make Transaction Overrides Editable in Blueprints Updated FThirdwebEngineTransactionOverrides to be fully editable in Blueprints by changing BlueprintReadOnly to BlueprintReadWrite. This allows modifying gas and transaction values directly in Unreal Engine --- .../Transaction/ThirdwebEngineTransactionOverrides.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Thirdweb/Public/Engine/Transaction/ThirdwebEngineTransactionOverrides.h b/Source/Thirdweb/Public/Engine/Transaction/ThirdwebEngineTransactionOverrides.h index 9a471ac..04fd632 100644 --- a/Source/Thirdweb/Public/Engine/Transaction/ThirdwebEngineTransactionOverrides.h +++ b/Source/Thirdweb/Public/Engine/Transaction/ThirdwebEngineTransactionOverrides.h @@ -11,16 +11,16 @@ struct THIRDWEB_API FThirdwebEngineTransactionOverrides { GENERATED_BODY() - UPROPERTY(EditAnywhere, BlueprintReadOnly, DisplayName="Gas Limit", Category="Thirdweb|Engine") + UPROPERTY(EditAnywhere, BlueprintReadWrite, DisplayName = "Gas Limit", Category = "Thirdweb|Engine") int64 Gas = 0; - UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Thirdweb|Engine") + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Thirdweb|Engine") int64 MaxFeePerGas = 0; - UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Thirdweb|Engine") + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Thirdweb|Engine") int64 MaxPriorityFeePerGas = 0; - UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Thirdweb|Engine") + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Thirdweb|Engine") int64 Value = 0; bool IsDefault() const { return Gas == 0 && MaxFeePerGas == 0 && MaxPriorityFeePerGas == 0 && Value == 0; }