Skip to content

Commit

Permalink
Rename property
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Jan 11, 2025
1 parent cdf0642 commit 1fa5c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CS2Interface/GameData/GameObjects/Recipes/Recipe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Recipe : GameObject {
public string? Quality { get; private set; }

[JsonInclude]
[JsonPropertyName("defs")]
[JsonPropertyName("def")]
[JsonConverter(typeof(KVConverter))]
public KeyValue? RecipeData { get; private set; }

Expand Down
1 change: 1 addition & 0 deletions CS2Interface/IPC/Documentation/Data/Recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Property | Type | Description
`Data.inputs` | `string` | A description of the inputs
`Data.outputs` | `string` | A description of the outputs
`Data.quality` | `string` | The quality of the inputs and outputs (Unique or StatTrak™)
`Data.def`| `object` | Related game data found in [items_game.txt](https://raw.githubusercontent.com/SteamDatabase/GameTracking-CS2/master/game/csgo/pak01_dir/scripts/items/items_game.txt) under `recipes`

## Example Response

Expand Down

0 comments on commit 1fa5c52

Please sign in to comment.