Skip to content

Commit

Permalink
Added gameserverip field to PlayerSummaryModel/PlayerSummaryResultCon…
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkstr authored Mar 20, 2021
1 parent 0fbc5b8 commit 9a71baf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Steam.Models/SteamCommunity/PlayerSummaryModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,10 @@ public class PlayerSummaryModel
/// The id of the game that the player is currently playing. This doesn't seem to be an appid, so I'm not sure how to make use of this field.
/// </summary>
public string PlayingGameId { get; set; }

/// <summary>
/// The IP of the server the user is currently playing on.
/// </summary>
public string PlayingGameServerIP { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ internal class PlayerSummary
/// </summary>
[JsonProperty(PropertyName = "gameid")]
public string PlayingGameId { get; set; }

/// <summary>
/// The IP of the server the user is currently playing on.
/// </summary>
[JsonProperty(PropertyName = "gameserverip")]
public string PlayingGameServerIP { get; set; }
}

/// <summary>
Expand Down

0 comments on commit 9a71baf

Please sign in to comment.