-
Notifications
You must be signed in to change notification settings - Fork 0
Home
wwwDayDream edited this page Apr 21, 2024
·
4 revisions
- 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.
- Add the Nuget Package to your project; That project should target either
NET Standard 2.1+
orNET Framework 4.7.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.
-
(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. - 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.