~ruther/NosSmooth

ref: 3a690ba9750370c19c9612c8ef29132ab416acb2 NosSmooth/Extensions/NosSmooth.Extensions.Combat/Operations/UseItemOperation.cs -rw-r--r-- 731 bytes
3a690ba9 — Rutherther Merge pull request #32 from Rutherther/combat 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
//  UseItemOperation.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

using NosSmooth.Game.Data.Items;
using Remora.Results;

namespace NosSmooth.Extensions.Combat.Operations;

// TODO: first inventory has to be made
public record UseItemOperation(Item Item) : ICombatOperation
{
    /// <inheritdoc />
    public Result<CanBeUsedResponse> CanBeUsed(ICombatState combatState)
    {
        throw new NotImplementedException();
    }

    /// <inheritdoc />
    public Task<Result> UseAsync(ICombatState combatState, CancellationToken ct = default)
    {
        throw new NotImplementedException();
    }
}
Do not follow this link