diff --git a/steam/containers/Player.js b/steam/containers/Player.js index b0571c8..c500ace 100644 --- a/steam/containers/Player.js +++ b/steam/containers/Player.js @@ -17,6 +17,9 @@ module.exports = (function(undefined){ this.personaStateFlags = player.personastateflags ? player.personastateflags : undefined; this.countryCode = player.loccountrycode; this.stateCode = player.locstatecode; + // Optional fields returned if user is in game and has public profile + this.gameid = player.gameid; + this.gameextrainfo = player.gameextrainfo; } Player.prototype.convertPersonaState = function convertPersonaState(personaState) { @@ -40,4 +43,4 @@ module.exports = (function(undefined){ }; return Player; -})(); \ No newline at end of file +})();