Method EconomyGetActiveBoosts
EconomyGetActiveBoosts(String)
Gets information about currently active boosts for the player.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.ActiveBoostsContainer,Den.Dev.Grunt.Models.RawResponseContainer>> EconomyGetActiveBoosts (string player);
Parameters
Type | Name | Description |
---|---|---|
System.String | player | The unique player XUID, in the format "xuid(XUID_VALUE)". |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<ActiveBoostsContainer,RawResponseContainer>> | If successful, returns an instance of ActiveBoostsContainer that contains the list of active boosts. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 7/8/2022:
{
"Boosts": [
{
"ExpirationDate": {
"ISO8601Date": "2022-07-08T21:22:02.151Z"
},
"State": "Active",
"BoostPath": "Consumables/Boosts/xpboost.json",
"EffectiveMultiplier": 2.0,
"Matches": 0
}
]
}