mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-22 02:13:10 +00:00
d5be6254f3
Adds structures to read/write saved spawner data such as seeds, counts. Adds generator and validator to emulate the FixInitSpec builder used by the game logic Similar to SW/SH raids, validating these in-process is not feasible due to the number crunching required. This does not handle the encounter slot call or the follow-up level range call. Just the inner FixInitSpec ctor & fill. level is calc'd: randFloat(sum) -> slot float rand.Next() -> gen_seed (for all the details) rand.NextInt(delta) +min -> level Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
18 lines
540 B
C#
18 lines
540 B
C#
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Interface for Accessing named blocks within a Generation 8 <see cref="GameVersion.PLA"/> save file.
|
|
/// </summary>
|
|
public interface ISaveBlock8LA
|
|
{
|
|
Box8 BoxInfo { get; }
|
|
Party8a PartyInfo { get; }
|
|
MyStatus8a MyStatus { get; }
|
|
PokedexSave8a PokedexSave { get; }
|
|
BoxLayout8a BoxLayout { get; }
|
|
MyItem8a Items { get; }
|
|
AdventureStart8a AdventureStart { get; }
|
|
LastSaved8a LastSaved { get; }
|
|
PlayTime8a Played { get; }
|
|
AreaSpawnerSet8a AreaSpawners { get; }
|
|
}
|