~ruther/NosSmooth

ref: 213fe53ae3a31d69b20543002b447347cf7893c0 NosSmooth/Extensions/NosSmooth.Extensions.Combat/Selectors/InventoryItem.cs -rw-r--r-- 760 bytes
213fe53a — Rutherther Merge pull request #81 from Rutherther/feat/pathfinding-mates 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
//  InventoryItem.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 System.Diagnostics.CodeAnalysis;
using NosSmooth.Data.Abstractions.Enums;
using NosSmooth.Game.Data.Inventory;

namespace NosSmooth.Extensions.Combat.Selectors;

/// <summary>
/// An item in an inventory, with a bag and slot specified.
/// </summary>
/// <param name="Bag">The bag of the item.</param>
/// <param name="Item">The slot with the item.</param>
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1313:Parameter names should begin with lower-case letter", Justification = "Fix")]
public record struct InventoryItem(BagType Bag, InventorySlot Item);
Do not follow this link