Skip to content

Commit

Permalink
Update Category to Uproperty
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoda committed Mar 23, 2021
1 parent 034ee4e commit 13aa832
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ class FETCH_API UFetchResponse : public UObject
GENERATED_BODY()

public:
UPROPERTY(BlueprintReadOnly);
UPROPERTY(BlueprintReadOnly, Category = "Scripting | Javascript");
int32 StatusCode;

UPROPERTY(BlueprintReadOnly);
UPROPERTY(BlueprintReadOnly, Category = "Scripting | Javascript");
FString ResponseText;

UPROPERTY(BlueprintReadOnly);
UPROPERTY(BlueprintReadOnly, Category = "Scripting | Javascript");
TArray<FFetchHeader> Headers;

private:
Expand Down
16 changes: 8 additions & 8 deletions UnrealFetchDevApp/Plugins/Fetch/Source/Fetch/Public/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ struct FETCH_API FFetchHeader
GENERATED_BODY()

public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
FString Key;

UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
FString Value;
};

Expand All @@ -37,13 +37,13 @@ struct FETCH_API FFetchOptions
GENERATED_BODY()

public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
TEnumAsByte<FFetchOptionsMethod> Method = FFetchOptionsMethod::GET;

UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
FString Body;

UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
TArray<FFetchHeader> Headers;
};

Expand All @@ -53,13 +53,13 @@ struct FETCH_API FFetchJsonOptions
GENERATED_BODY()

public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
TEnumAsByte<FFetchOptionsMethod> Method = FFetchOptionsMethod::GET;

UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
USimpleJsonValue* Body;

UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Scripting | Javascript")
TArray<FFetchHeader> Headers;
};

Expand Down

0 comments on commit 13aa832

Please sign in to comment.