Method EconomyGetGiveawayRewards
EconomyGetGiveawayRewards(String)
Gets the information about giveaways available for a given player.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.PlayerGiveaways,Den.Dev.Grunt.Models.RawResponseContainer>> EconomyGetGiveawayRewards (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<PlayerGiveaways,RawResponseContainer>> | If successful, returns an instance of PlayerGiveaways containing available giveaways. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 6/13/2022:
{
"GiveawayResults": []
}