location list public (class still internal)

This commit is contained in:
Kurt
2023-04-10 00:50:11 -07:00
parent 6d0c2d9520
commit ebd061dcd9
9 changed files with 34 additions and 34 deletions

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations4
{
internal static ReadOnlySpan<byte> Met0 => new byte[]
public static ReadOnlySpan<byte> Met0 => new byte[]
{
000, 001, 002, 003, 004, 005, 006, 007, 008, 009,
010, 011, 012, 013, 014, 015, 016, 017, 018, 019,
@@ -33,13 +33,13 @@ internal static class Locations4
};
// Ignore the --- met location at index 7.
internal static ReadOnlySpan<ushort> Met2 => new ushort[]
public static ReadOnlySpan<ushort> Met2 => new ushort[]
{
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009,
2010, 2011, 2012, 2013, 2014,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009,
3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019,

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations5
{
internal static ReadOnlySpan<byte> Met0 => new byte[]
public static ReadOnlySpan<byte> Met0 => new byte[]
{
001, 002, 004, 005, 006, 007, 008, 009,
010, 011, 012, 013, 014, 015, 016, 017, 018, 019,
@@ -24,13 +24,13 @@ internal static class Locations5
150, 151, 152, 153,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30002, 30004, 30005, 30006, 30007, 30008,
30010, 30011, 30012, 30013, 30014, 30015,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40015, 40016, 40017, 40018, 40019,
@@ -45,5 +45,5 @@ internal static class Locations5
40100, 40101, 40102, 40103, 40104, 40105, 40106, 40107, 40108, 40109,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] { 60001, 60003 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] { 60001, 60003 };
}

View File

@@ -47,13 +47,13 @@ internal static class Locations6
350, 352, 354,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30003, 30004, 30005, 30006, 30007, 30008, 30009,
30010, 30011,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40015, 40016, 40017, 40018, 40019,
@@ -65,5 +65,5 @@ internal static class Locations6
40070, 40071, 40072, 40073, 40074, 40075, 40076, 40077, 40078, 40079,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
}

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations7
{
internal static ReadOnlySpan<byte> Met0 => new byte[]
public static ReadOnlySpan<byte> Met0 => new byte[]
{
002, 004, 006, 008,
010, 012, 014, 016, 018,
@@ -32,13 +32,13 @@ internal static class Locations7
230, 232,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30003, 30004, 30005, 30006, 30007, 30008, 30009,
30010, 30011, 30012, 30013, 30014, 30015, 30016, 30017,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40015, 40016, 40017, 40018, 40019,
@@ -51,5 +51,5 @@ internal static class Locations7
40080, 40081, 40082, 40083, 40084, 40085, 40086, 40087, 40088,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
}

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations7b
{
internal static ReadOnlySpan<byte> Met0 => new byte[]
public static ReadOnlySpan<byte> Met0 => new byte[]
{
002, 003, 004, 005, 006, 007, 008, 009,
010, 011, 012, 013, 014, 015, 016, 017, 018, 019,
@@ -14,13 +14,13 @@ internal static class Locations7b
050, 051, 052, 053,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30003, 30004, 30005, 30006, 30007, 30008, 30009,
30010, 30011, 30012, 30013, 30014, 30015, 30016, 30017,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40015, 40016, 40017, 40018, 40019,
@@ -32,5 +32,5 @@ internal static class Locations7b
40070, 40071, 40072, 40073, 40074, 40075, 40076, 40077,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
}

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations8
{
internal static ReadOnlySpan<byte> Met0 => new byte[]
public static ReadOnlySpan<byte> Met0 => new byte[]
{
002, 004, 006, 008,
012, 014, 016, 018,
@@ -33,13 +33,13 @@ internal static class Locations8
240, 242, 244, 246,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30003, 30004, 30005, 30006, 30007, 30008, 30009,
30010, 30011, 30012, 30013, 30014, 30015, 30016, 30017, 30018,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40016, 40017, 40018, 40019,
@@ -52,5 +52,5 @@ internal static class Locations8
40080, 40081, 40082, 40083, 40084, 40085, 40086,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
}

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations8a
{
internal static ReadOnlySpan<byte> Met0 => new byte[]
public static ReadOnlySpan<byte> Met0 => new byte[]
{
000, 002, 004, 006, 007, 008, 009,
010, 011, 012, 013, 014, 015, 016, 017, 018, 019,
@@ -24,14 +24,14 @@ internal static class Locations8a
150, 151, 152, 153, 154, 155,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30002, 30003, 30004, 30005, 30006, 30007, 30008, 30009,
30010, 30011, 30012, 30013, 30014, 30015, 30016, 30017, 30018, 30019,
30020, 30021, 30022,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40016, 40017, 40018, 40019,
@@ -44,5 +44,5 @@ internal static class Locations8a
40080, 40081, 40082, 40083, 40084, 40085, 40086,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
}

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations8b
{
internal static ReadOnlySpan<ushort> Met0 => new ushort[]
public static ReadOnlySpan<ushort> Met0 => new ushort[]
{
000, 001, 002, 003, 004, 005, 006, 007, 008, 009,
010, 011, 012, 013, 014, 015, 016, 017, 018, 019,
@@ -76,14 +76,14 @@ internal static class Locations8b
648, 649, 650, 651, 652, 653, 654, 655, 656, 657,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30003, 30004, 30005, 30006, 30007, 30009,
30010, 30011, 30012, 30013, 30014, 30015, 30016, 30017, 30018, 30019,
30020, 30022,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40016, 40017, 40018, 40019,
@@ -95,5 +95,5 @@ internal static class Locations8b
40070, 40071, 40072, 40074, 40075, 40076, 40077,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004, /* BDSP */ 60005, 60006, 60007, 60010 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004, /* BDSP */ 60005, 60006, 60007, 60010 };
}

View File

@@ -4,7 +4,7 @@ namespace PKHeX.Core;
internal static class Locations9
{
internal static ReadOnlySpan<byte> Met0 => new byte[]
public static ReadOnlySpan<byte> Met0 => new byte[]
{
002, 004, 006, 008,
010, 012, 014, 016, 018,
@@ -26,14 +26,14 @@ internal static class Locations9
130, 131,
};
internal static ReadOnlySpan<ushort> Met3 => new ushort[]
public static ReadOnlySpan<ushort> Met3 => new ushort[]
{
30001, 30003, 30004, 30005, 30006, 30007, 30008, 30009,
30010, 30011, 30012, 30013, 30014, 30015, 30016, 30017, 30018, 30019,
30020, 30021, 30022, 30023, 30024,
};
internal static ReadOnlySpan<ushort> Met4 => new ushort[]
public static ReadOnlySpan<ushort> Met4 => new ushort[]
{
40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009,
40010, 40011, 40012, 40013, 40014, 40015, 40016, 40017, 40018, 40019,
@@ -45,5 +45,5 @@ internal static class Locations9
40070, 40071, 40072, 40073, 40074, 40075, 40076, 40077, 40078,
};
internal static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
public static ReadOnlySpan<ushort> Met6 => new ushort[] {/* XY */ 60001, 60003, /* ORAS */ 60004 };
}