Skip to content

Commit cc36e6d

Browse files
author
babelshift
committed
Merge pull request #10 from SeeD-Seifer/master
Add Hero.LocalizedName property
2 parents 86f83d7 + cd9a18b commit cc36e6d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

SteamWebAPI2/Models/DOTA2/HeroResultContainer.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
using System.Collections.Generic;
1+
using Newtonsoft.Json;
2+
using System.Collections.Generic;
23

34
namespace SteamWebAPI2.Models.DOTA2
45
{
56
public class Hero
67
{
78
public string Name { get; set; }
89
public int Id { get; set; }
10+
11+
[JsonProperty(PropertyName = "localized_name")]
12+
public string LocalizedName { get; set; }
913
}
1014

1115
public class HeroResult

0 commit comments

Comments
 (0)