kwsch / pkNX

Pokémon (Nintendo Switch) ROM Editor & Randomizer
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/
GNU General Public License v3.0
339 stars 106 forks source link

Flatsharp codegen #326

Closed kwsch closed 1 year ago

kwsch commented 1 year ago

Converts all the manually made [FlatBufferTable]++ class definitions back to fbs, and lets the latest FlatSharp.Compiler build the serializers at compile time rather than at runtime w/ reflection.

Not sure I like how big it makes the executable; there might be ways to trim down FlatSharp's output.