private byte[] GetDexBlock(Zukan8Type infoDexType) { return(infoDexType switch { Zukan8Type.Galar => Galar.Data, Zukan8Type.Armor => Rigel1.Data, Zukan8Type.Crown => Rigel2.Data, _ => throw new ArgumentOutOfRangeException(nameof(infoDexType), infoDexType, null) });
public Zukan8Index(Zukan8Type dexType, int index) { DexType = dexType; Index = index; }
private byte[] GetDexBlock(Zukan8Type infoDexType) => infoDexType switch {
public static string GetZukanTypeInternalPrefix(this Zukan8Type type) => type switch {