~ruther/NosSmooth

ref: d0584ce3fb6bcd210fd7c253bee93b0ab6b8476e NosSmooth/Data/NosSmooth.Data.Abstractions/Infos/IItemInfo.cs -rw-r--r-- 1.1 KiB
d0584ce3 — Rutherther chore: update versions 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
//  IItemInfo.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.Enums;
using NosSmooth.Data.Abstractions.Language;

namespace NosSmooth.Data.Abstractions.Infos;

/// <summary>
/// The NosTale item information.
/// </summary>
public interface IItemInfo : IVNumInfo
{
    /// <summary>
    /// Gets the translatable name of the item.
    /// </summary>
    TranslatableString Name { get; }

    /// <summary>
    /// Gets the type of the item.
    /// </summary>
    ItemType Type { get; }

    /// <summary>
    /// Gets the subtype of the item. TODO UNKNOWN.
    /// </summary>
    int SubType { get; }

    /// <summary>
    /// Gets the equipment slot the item goes to, if any.
    /// </summary>
    EquipmentSlot? EquipmentSlot { get; }

    /// <summary>
    /// Gets the bag the item belongs to.
    /// </summary>
    BagType BagType { get; }

    /// <summary>
    /// Gets the data of the item.
    /// </summary>
    string[] Data { get; }
}
Do not follow this link