Method EconomyPlayerOperations
EconomyPlayerOperations(String, String)
Gets available reward tracks for a player based on current and past battle passes.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.OperationRewardTrackSnapshot,Den.Dev.Grunt.Models.RawResponseContainer>> EconomyPlayerOperations (string player, string flightId);
Parameters
Type | Name | Description |
---|---|---|
System.String | player | The unique player XUID, in the format "xuid(XUID_VALUE)". |
System.String | flightId | The unique ID for the currently active flight. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<OperationRewardTrackSnapshot,RawResponseContainer>> | If successful, returns an instance of OperationRewardTrackSnapshot containing battle pass information. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 6/14/2022:
{
"ActiveOperationRewardTrackPath": "RewardTracks/Operations/battlepass-lonewolves.json",
"OperationRewardTracks": [
{
"RewardTrackPath": "RewardTracks/Operations/battlepass-lonewolves.json",
"TrackType": "Operation",
"CurrentProgress": {
"Rank": 77,
"PartialProgress": 600,
"IsOwned": false
},
"PreviousProgress": null,
"IsOwned": false,
"BaseXp": null,
"BoostXp": null
},
{
"RewardTrackPath": "RewardTracks/Operations/battlepass-noblesacrifice.json",
"TrackType": "Operation",
"CurrentProgress": {
"Rank": 100,
"PartialProgress": 0,
"IsOwned": false
},
"PreviousProgress": null,
"IsOwned": false,
"BaseXp": null,
"BoostXp": null
},
{
"RewardTrackPath": "RewardTracks/Operations/Flighting.json",
"TrackType": "Operation",
"CurrentProgress": {
"Rank": 0,
"PartialProgress": 0,
"IsOwned": false
},
"PreviousProgress": null,
"IsOwned": false,
"BaseXp": null,
"BoostXp": null
},
{
"RewardTrackPath": "RewardTracks/Operations/UITest.json",
"TrackType": "Operation",
"CurrentProgress": {
"Rank": 0,
"PartialProgress": 0,
"IsOwned": false
},
"PreviousProgress": null,
"IsOwned": false,
"BaseXp": null,
"BoostXp": null
}
],
"ScheduledOperationRewardTrackPath": "RewardTracks/Operations/battlepass-lonewolves.json"
}