pkNX/pkNX.Game/GameData.cs
Kurt 639f8156ab
Handle FlatBuffers in-process with FlatSharp, and add more flatbuffer editors. (#166)
Thanks @sora10pls for double checking some editors, and @Lusamine for some field identification.

Closes #115 -- tested the pokedex after randomization and it no longer crashes when randomizing+saving with the latest code in this pull request.

Adds:
* Shop editor (SWSH + LGPE)
* Move editor
* Item editor
* Symbol (Overworld Pokemon) Behavior editor
* Default Rental team editor
2021-09-02 19:47:41 -07:00

20 lines
663 B
C#

using pkNX.Structures;
namespace pkNX.Game
{
/// <summary>
/// Cached data reusable by multiple editors.
/// </summary>
public class GameData
{
public PersonalTable PersonalData { get; internal set; }
public DataCache<MegaEvolutionSet[]> MegaEvolutionData { get; internal set; }
public string[][] GameText { get; internal set; }
public DataCache<IMove> MoveData { get; internal set; }
public DataCache<EvolutionSet> EvolutionData { get; internal set; }
public DataCache<Learnset> LevelUpData { get; internal set; }
public DataCache<EggMoves> EggMoves { get; internal set; }
}
}