using ODMO.Commons.DTOs.Base;
using ODMO.Commons.Enums.ClientEnums;
namespace ODMO.Commons.DTOs.Config.Events
{
public sealed class EventMobConfigDTO : 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 Round
///
public byte Round { 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; }
///
/// Monster spawn duration.
///
public int Duration { get; set; }
///
/// Initial location.
///
public EventMobLocationConfigDTO Location { get; set; }
///
/// Drop config.
///
public EventMobDropRewardConfigDTO? DropReward { get; set; }
///
/// Exp config.
///
public EventMobExpRewardConfigDTO? ExpReward { get; set; }
///
/// Reference to the owner.
///
public long EventMapConfigId { get; set; }
public EventMapsConfigDTO? EventMapConfig { get; set; }
public DateTime? DeathTime { get; set; }
public DateTime? ResurrectionTime { get; set; }
public object Clone()
{
var clonedObject = (EventMobConfigDTO)CloneMob();
return clonedObject;
}
private object CloneMob()
{
return (EventMobConfigDTO)MemberwiseClone();
}
}
}