~ruther/NosSmooth

ref: 435cabf797e39038ab6eca097754ab84a47427ab NosSmooth/Core/NosSmooth.Game/Data/Items/UpgradeableItem.cs -rw-r--r-- 793 bytes
435cabf7 — František Boháček feat(game): add (basic) inventory parsing 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
//  UpgradeableItem.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.Data.Abstractions.Infos;

namespace NosSmooth.Game.Data.Items;

/// <summary>
/// An item that can be upgraded and has rarity, ie. weapon or armor.
/// </summary>
/// <param name="ItemVNum">The vnum of the item.</param>
/// <param name="Info">The information about the item.</param>
/// <param name="Upgrade">The upgrade (0 - 10).</param>
/// <param name="Rare">The rare nubmer (0 - 8).</param>
/// <param name="RuneCount">The number of runes.</param>
public record UpgradeableItem(int ItemVNum, IItemInfo? Info, byte? Upgrade, sbyte? Rare, int? RuneCount) : Item(ItemVNum, Info);
Do not follow this link