using ODMO.Commons.DTOs.Base; using ODMO.Commons.Enums.ClientEnums; namespace ODMO.Commons.DTOs.Config { public sealed class MobConfigDTO : StatusDTO, ICloneable { /// /// Sequencial unique identifier. /// public long Id { get; set; } /// /// Client reference for digimon type. /// public int Type { get; set; } /// /// Client reference for digimon model. /// public int Model { get; set; } /// /// Digimon name. /// public string Name { get; set; } /// /// Base digimon level. /// public byte Level { get; set; } /// /// View range (from current position) for aggressive mobs. /// public int ViewRange { get; set; } /// /// Hunt range (from start position) for giveup on chasing targets. /// public int HuntRange { get; set; } /// /// Monster class type enumeration. 8 = Raid Boss /// public int Class { get; set; } /// /// Monster coliseum Type /// public bool Coliseum { get; set; } /// /// Monster coliseum Round /// public byte Round { get; set; } public DungeonDayOfWeekEnum WeekDay { get; set; } /// /// Mob Coliseum type. /// public ColiseumMobTypeEnum ColiseumMobType { get; set; } /// /// Mob reaction type. /// public DigimonReactionTypeEnum ReactionType { get; set; } /// /// Mob attribute. /// public DigimonAttributeEnum Attribute { get; set; } /// /// Mob element. /// public DigimonElementEnum Element { get; set; } /// /// Mob main family. /// public DigimonFamilyEnum Family1 { get; set; } /// /// Mob second family. /// public DigimonFamilyEnum Family2 { get; set; } /// /// Mob third family. /// public DigimonFamilyEnum Family3 { get; set; } /// /// Respawn interval in seconds. /// public int RespawnInterval { get; set; } /// /// Initial location. /// public MobLocationConfigDTO Location { get; set; } /// /// Drop config. /// public MobDropRewardConfigDTO? DropReward { get; set; } /// /// Exp config. /// public MobExpRewardConfigDTO? ExpReward { get; set; } /// /// Reference to the owner. /// public long GameMapConfigId { get; set; } public MapConfigDTO GameMapConfig { get; set; } public DateTime? DeathTime { get; set; } public DateTime? ResurrectionTime { get; set; } public object Clone() { var clonedObject = (MobConfigDTO)CloneMob(); return clonedObject; } private object CloneMob() { return (MobConfigDTO)MemberwiseClone(); } } }