Skip to content

Commit 1152ac3

Browse files
authored
Make Transaction Overrides Editable in Blueprints (#31)
Updated FThirdwebEngineTransactionOverrides to be fully editable in Blueprints by changing BlueprintReadOnly to BlueprintReadWrite. This allows modifying gas and transaction values directly in Unreal Engine
1 parent 0a4d44f commit 1152ac3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/Thirdweb/Public/Engine/Transaction/ThirdwebEngineTransactionOverrides.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ struct THIRDWEB_API FThirdwebEngineTransactionOverrides
1111
{
1212
GENERATED_BODY()
1313

14-
UPROPERTY(EditAnywhere, BlueprintReadOnly, DisplayName="Gas Limit", Category="Thirdweb|Engine")
14+
UPROPERTY(EditAnywhere, BlueprintReadWrite, DisplayName = "Gas Limit", Category = "Thirdweb|Engine")
1515
int64 Gas = 0;
1616

17-
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Thirdweb|Engine")
17+
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Thirdweb|Engine")
1818
int64 MaxFeePerGas = 0;
1919

20-
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Thirdweb|Engine")
20+
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Thirdweb|Engine")
2121
int64 MaxPriorityFeePerGas = 0;
2222

23-
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Thirdweb|Engine")
23+
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Thirdweb|Engine")
2424
int64 Value = 0;
2525

2626
bool IsDefault() const { return Gas == 0 && MaxFeePerGas == 0 && MaxPriorityFeePerGas == 0 && Value == 0; }

0 commit comments

Comments
 (0)