Exemple #1
0
        Task <int> IDestiny2Client.SetItemLockStateAsync(Destiny.Requests.Actions.DestinyItemStateRequest destinyItemStateRequest)
        {
            string[] pathSegments = new string[] { "Destiny2", "Actions", "Items", "SetLockState" };
            Uri      uri          = GetEndpointUri(pathSegments, true, null);

            return(PostEntityAsync <Destiny.Requests.Actions.DestinyItemStateRequest, int>(uri, destinyItemStateRequest));
        }
Exemple #2
0
 int IDestiny2Client.SetItemLockState(Destiny.Requests.Actions.DestinyItemStateRequest destinyItemStateRequest) => Destiny2.SetItemLockStateAsync(destinyItemStateRequest).GetAwaiter().GetResult();