// // LivingEntity.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.Game.Data.Info; using NosSmooth.Packets.Enums; namespace NosSmooth.Game.Data.Entities; /// /// Represents any nostale living entity such as monster, npc, player. /// public interface ILivingEntity : IEntity { /// /// Gets the speed of the entity. May be null if unknown. /// public byte? Speed { get; } /// /// Gets the level of the entity. May be null if unknown. /// public ushort? Level { get; } /// /// Gets the direction the entity is looking. May be null if unknown. /// public byte? Direction { get; } /// /// Gets the percentage of the health points of the entity. May be null if unknown. /// public Health? Hp { get; } /// /// Gets the percentage of the mana points of the entity. May be null if unknown. /// public Health? Mp { get; } /// /// Gets the faction of the entity. May be null if unknown. /// public FactionType? Faction { get; } /// /// Gets the size of the entity. /// public short Size { get; } /// /// Gets the VNums of the effects the entity has. /// public IReadOnlyList? EffectsVNums { get; } }