easternunit100-GameData_HeaderGenerator icon

GameData HeaderGenerator

This plugin is an API for plugin devs. Plugin devs can use these headers and add them to their project to get the constants of the block IDS instead of looking back and forth to the json files of the DataBlocks.

Last updated 2 years ago
Total downloads 522
Total rating 1 
Categories Rundown Mods Dev Tools
Dependency string easternunit100-GameData_HeaderGenerator-0.0.6
Dependants 0 other packages depend on this package

This mod requires the following mods to function

dakkhuza-MTFO-4.2.0 icon
dakkhuza-MTFO

The premier in GTFO DataBlock editing

Preferred version: 4.2.0

README

#PATCH NOTES 0.0.6

  • Added HotReloading support; Reloading the GameData will also regenerate the header files.

#PATCH NOTES 0.0.5

  • Added more illegal characters to the list to avoid placing unusual characters in the constant fields hence possibly creating a syntax error.

#NOTES

  • You do not have to include the header files in the same project, it can be in a different project and have your main project reference it.
  • Constants are variables whose value will not change during the lifetime of the program.
  • Compile your project and use dnspy to see that the constant values will appear as unsigned integers instead.

#ISSUES

  • The game could crash with the plugin being there prior to stripping the assemblies. If so, just start the game again and it should work.

#MANUAL INSTALLATION

Place GDHeaderGenerator.dll into the BepInEx\plugins folder.=======

Unzipping the zip into your game folder should work as well. Upon starting the game, a folder will generate with the name "Headers" alongside "custom" and all the constant unsigned integers for the GameData blocks.