punish v6.8.18.0
This commit is contained in:
commit
e786325cda
322 changed files with 554232 additions and 0 deletions
21
Questionable.Model/Questionable.Model.Questing/QuestId.cs
Normal file
21
Questionable.Model/Questionable.Model.Questing/QuestId.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System.Globalization;
|
||||
|
||||
namespace Questionable.Model.Questing;
|
||||
|
||||
public sealed class QuestId : ElementId
|
||||
{
|
||||
public QuestId(ushort value)
|
||||
: base(value)
|
||||
{
|
||||
}
|
||||
|
||||
public static QuestId FromRowId(uint rowId)
|
||||
{
|
||||
return new QuestId((ushort)(rowId & 0xFFFF));
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return base.Value.ToString(CultureInfo.InvariantCulture);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue