//
// GroundItem.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;
using NosSmooth.Game.Data.Info;
using NosSmooth.Packets.Enums.Entities;
namespace NosSmooth.Game.Data.Entities;
///
/// The item on the ground.
///
public class GroundItem : IEntity
{
///
/// Gets or sets the id of the owner, if any.
///
public long? OwnerId { get; internal set; }
///
/// Gets or sets the amount of the item on the ground.
///
public int Amount { get; internal set; }
///
/// Gets or sets whether the item is for a quest.
///
public bool IsQuestRelated { get; internal set; }
///
/// Gets or sets the info about the item, if available.
///
public IItemInfo? ItemInfo { get; internal set; }
///
/// Gets the VNum of the npc.
///
public int VNum { get; internal set; }
///
public long Id { get; set; }
///
public Position? Position { get; set; }
///
public EntityType Type
{
get => EntityType.Object;
}
}