using System;
using System.Collections.Generic;
using System.Linq;
namespace PKHeX.Core;
///
/// with multiple references (used for multiple met locations)
///
///
public sealed record EncounterStatic8S(GameVersion Version) : EncounterStatic8(Version)
{
public override int Location { get => Locations[0]; init { } }
public IReadOnlyList Locations { get; init; } = Array.Empty();
protected override bool IsMatchLocation(PKM pk) => Locations.Contains(pk.Met_Location);
}