mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-18 14:28:33 +00:00
14 lines
312 B
C#
14 lines
312 B
C#
|
namespace PKHeX.Core;
|
||
|
|
||
|
public interface IHomeStorage
|
||
|
{
|
||
|
bool Exists(ulong tracker);
|
||
|
PKH GetEntity<T>(T pk) where T : PKM;
|
||
|
}
|
||
|
|
||
|
public sealed class HomeStorageFacade : IHomeStorage
|
||
|
{
|
||
|
public bool Exists(ulong tracker) => false;
|
||
|
public PKH GetEntity<T>(T pk) where T : PKM => PKH.ConvertFromPKM(pk);
|
||
|
}
|