Skip to content
wwwDayDream edited this page Apr 21, 2024 · 4 revisions

Limitations

  • Upon completion of patching the /Game_Data/Managed/ DLLs, a copy is saved to the /BepInEx/cache/ directory. These can be referenced to avoid using reflection but your build would fail on Github Workflows (Ignore if you don't know what this means).
  • Fields are private though they can be accessed through reflection.

Getting Started

  1. Add the Nuget Package to your project; That project should target either NET Standard 2.1+ or NET Framework 4.7.2+.
  2. Add the dependency string to your manifest.json or thunderstore.toml. For reference the Thunderstore username and package GUID should be www_Day_Dream-CessilCellsCeaChells.
  3. (Optional) Install the library from Thunderstore into your game either manually or via a mod manager. This will allow you to test your mod and (maybe) reference the /BepInEx/cache/ DLLs.
  4. After adding the desired Assembly Attributes to your project you can access those fields, properties, and methods with System.Reflection or by experimenting with referencing the /BepInEx/cache/ DLLs.