Method StatsMatchPrivacy
StatsMatchPrivacy(String)
Gets match privacy settings for a given player.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.MatchesPrivacy,Den.Dev.Grunt.Models.RawResponseContainer>?> StatsMatchPrivacy (string player);
Parameters
Type | Name | Description |
---|---|---|
System.String | player | The player identifier in the format "xuid(PLAYER_XUID_HERE)" |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<MatchesPrivacy,RawResponseContainer>> | An instance of MatchesPrivacy containing match privacy metadata if request was successful. Return value is null otherwise. |
Examples
Here is an example response from the API, as snapshotted on 7/21/2022:
{
"MatchmadeGames": 1,
"OtherGames": 2
}