baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
// <copyright file="QuestMonsterKillRequirement.cs" company="MUnique">
|
||||
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
||||
// </copyright>
|
||||
|
||||
namespace MUnique.OpenMU.DataModel.Configuration.Quests;
|
||||
|
||||
using MUnique.OpenMU.Annotations;
|
||||
|
||||
/// <summary>
|
||||
/// The monster kill requirement of a <see cref="QuestDefinition"/>.
|
||||
/// </summary>
|
||||
[Cloneable]
|
||||
public partial class QuestMonsterKillRequirement
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the monster which must be killed.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public virtual MonsterDefinition? Monster { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the minimum number of killed <see cref="Monster"/>s.
|
||||
/// </summary>
|
||||
public int MinimumNumber { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{this.MinimumNumber}x {this.Monster}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user