Skip to content
Open
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
5 changes: 4 additions & 1 deletion steam/containers/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -40,4 +43,4 @@ module.exports = (function(undefined){
};

return Player;
})();
})();