Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions PortableLeagueApi.Interfaces/Static/Item/IItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public interface IItem : IApiModel
bool Consumed { get; set; }
int Depth { get; set; }
string Description { get; set; }
Dictionary<string, string> Effect { get; set; }
IList<string> From { get; set; }
IGold Gold { get; set; }
string Group { get; set; }
Expand Down
3 changes: 3 additions & 0 deletions PortableLeagueApi.Static/Models/DTO/Item/ItemDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ internal class ItemDto
[JsonProperty("description")]
public string Description { get; set; }

[JsonProperty("effect")]
public Dictionary<string, string> Effect { get; set; }

[JsonProperty("from")]
public IList<string> From { get; set; }

Expand Down
2 changes: 2 additions & 0 deletions PortableLeagueApi.Static/Models/Item/Item.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public class Item : ApiModel, IItem

public string Description { get; set; }

public Dictionary<string, string> Effect { get; set; }

public IList<string> From { get; set; }

public IGold Gold { get; set; }
Expand Down