~ruther/NosSmooth

ref: dd86f6122c5c8f23b348eba55224add362e77b10 NosSmooth/Core/NosSmooth.Game/Data/Items/UpgradeableItem.cs -rw-r--r-- 793 bytes
dd86f612 — František Boháček fix(packets): make cmode fields correctly optional 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