mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-23 07:06:06 -05:00
Adds support for Scarlet & Violet. Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com> Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com> Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
28 lines
725 B
C#
28 lines
725 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Stores location names for a given game group.
|
|
/// </summary>
|
|
public interface ILocationSet
|
|
{
|
|
/// <summary>
|
|
/// Gets the location name group for the requested location bank group ID.
|
|
/// </summary>
|
|
ReadOnlySpan<string> GetLocationNames(int bankID);
|
|
|
|
/// <summary>
|
|
/// Gets the location name for the requested location ID.
|
|
/// </summary>
|
|
string GetLocationName(int locationID);
|
|
|
|
/// <summary>
|
|
/// Gets all groups -- ONLY USE FOR UNIT TESTING.
|
|
/// </summary>
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
IEnumerable<(int Bank, string[] Names)> GetAll();
|
|
}
|