Method EconomySpartanBodyCustomization
EconomySpartanBodyCustomization(String)
Gets the currently active Spartan body customization.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.SpartanBody,Den.Dev.Grunt.Models.RawResponseContainer>> EconomySpartanBodyCustomization (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<SpartanBody,RawResponseContainer>> | If successful, returns an instance of SpartanBody containing the customization information. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 6/15/2022:
{
"LastModifiedDateUtc": {
"ISO8601Date": "2022-06-05T20:51:56.085Z"
},
"LeftArm": "None",
"RightArm": "None",
"LeftLeg": "None",
"RightLeg": "None",
"BodyType": "Medium",
"VoicePath": "Inventory/Spartan/Voices/105-000-voice-000-ebb64d1f.json"
}