PKHeX/PKHeX.Core/Legality/RNG/Locks/TeamLock.cs
2020-12-21 17:17:56 -08:00

25 lines
No EOL
623 B
C#

namespace PKHeX.Core
{
public sealed class TeamLock
{
public readonly int Species;
public readonly string Comment;
public readonly NPCLock[] Locks;
internal TeamLock Clone() => new(Species, Comment, (NPCLock[])Locks.Clone());
public TeamLock(int species, NPCLock[] locks)
{
Species = species;
Locks = locks;
Comment = string.Empty;
}
public TeamLock(int species, string comment, NPCLock[] locks)
{
Species = species;
Locks = locks;
Comment = comment;
}
}
}