mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
8a7ed99689
oops Add a tostring override to help visually debug
18 lines
409 B
C#
18 lines
409 B
C#
namespace PKHeX.Core
|
|
{
|
|
public class SlotGroup
|
|
{
|
|
public readonly string GroupName;
|
|
public readonly PKM[] Slots;
|
|
|
|
#if DEBUG
|
|
public override string ToString() => $"{GroupName}: {Slots.Length} {Slots.GetType().Name}";
|
|
#endif
|
|
|
|
public SlotGroup(string name, PKM[] slots)
|
|
{
|
|
GroupName = name;
|
|
Slots = slots;
|
|
}
|
|
}
|
|
}
|