mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
Add IEncounterable -> pkm interface method
egg,slot,static,link,trade need to be implemented later remove IEncounterable from PL6
This commit is contained in:
parent
314a92b67b
commit
1e13220e6e
9 changed files with 17 additions and 1 deletions
|
@ -14,5 +14,7 @@
|
|||
|
||||
public GameVersion Game;
|
||||
public bool SplitBreed;
|
||||
|
||||
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,5 +19,7 @@
|
|||
LevelMax = pkm.CurrentLevel;
|
||||
EggEncounter = pkm.WasEgg;
|
||||
}
|
||||
|
||||
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,5 +36,7 @@
|
|||
public bool RibbonWorld { get; set; }
|
||||
public bool RibbonChampionWorld { get; set; }
|
||||
public bool RibbonSouvenir { get; set; }
|
||||
|
||||
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,5 +20,7 @@ namespace PKHeX.Core
|
|||
Encounter = encounter;
|
||||
Check = check;
|
||||
}
|
||||
|
||||
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
|
@ -60,5 +60,7 @@
|
|||
return $"{wild} {Type.ToString().Replace("_", " ")}";
|
||||
}
|
||||
}
|
||||
|
||||
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,5 +63,7 @@
|
|||
|
||||
private const string _name = "Static Encounter";
|
||||
public string Name => Version == GameVersion.Any ? _name : $"{_name} ({Version})";
|
||||
|
||||
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,5 +53,7 @@
|
|||
{
|
||||
0, 126, 254, 2001, 30002, 30001, 30001,
|
||||
};
|
||||
|
||||
public PKM ConvertToPKM(ITrainerInfo SAV) => throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
bool EggEncounter { get; }
|
||||
int LevelMin { get; }
|
||||
int LevelMax { get; }
|
||||
|
||||
PKM ConvertToPKM(ITrainerInfo SAV);
|
||||
}
|
||||
|
||||
public static partial class Extensions
|
||||
|
|
|
@ -189,7 +189,7 @@ namespace PKHeX.Core
|
|||
/// This Template object is very similar to the <see cref="WC6"/> structure and similar objects, in that the structure offsets are ordered the same.
|
||||
/// This template object is only present in Generation 6 save files.
|
||||
/// </remarks>
|
||||
public class PL6_PKM : IEncounterable, IRibbonSetEvent3, IRibbonSetEvent4
|
||||
public class PL6_PKM : IRibbonSetEvent3, IRibbonSetEvent4
|
||||
{
|
||||
internal const int Size = 0xA0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue