示例#1
0
        Task <Destiny.DestinyEquipItemResults> IDestiny2Client.EquipItemsAsync(Destiny.Requests.Actions.DestinyItemSetActionRequest destinyItemSetActionRequest)
        {
            string[] pathSegments = new string[] { "Destiny2", "Actions", "Items", "EquipItems" };
            Uri      uri          = GetEndpointUri(pathSegments, true, null);

            return(PostEntityAsync <Destiny.Requests.Actions.DestinyItemSetActionRequest, Destiny.DestinyEquipItemResults>(uri, destinyItemSetActionRequest));
        }
示例#2
0
 Destiny.DestinyEquipItemResults IDestiny2Client.EquipItems(Destiny.Requests.Actions.DestinyItemSetActionRequest destinyItemSetActionRequest) => Destiny2.EquipItemsAsync(destinyItemSetActionRequest).GetAwaiter().GetResult();