Update Setup
parent
2e91bc1343
commit
28082bf2cf
4
Setup.md
4
Setup.md
|
@ -6,7 +6,7 @@ Download the `DunGenPlus.dll` through Thunderstore or through this Github reposi
|
|||
|
||||
This goes without saying, this mod also requires the DungeonGenerationPlus mod to be installed in your Lethal Company mod pack.
|
||||
|
||||
If you'd like to use this mod's API and callback features, reference the same `DunGenPlus.dll` file in your code project thing what do you call that?
|
||||
If you'd like to use this mod's API and callback features, reference the same `DunGenPlus.dll` file in your project solution thing.
|
||||
|
||||
## Setting up the DunGenExtender asset
|
||||
|
||||
|
@ -28,7 +28,7 @@ After any of the two previous steps, verify that the Extender was registered by
|
|||
|
||||
## Setting up the API Callbacks
|
||||
|
||||
After your interior is selected but before it is generated, a shallow copy of the DunGenExtender's properties is passed to an event caller thing. You can register a function call to this event caller thing to modify the properties before they are used. This is useful if you have configs for your dungeon's generation. The following is a code example of how to register a function call and how you may want to use it.
|
||||
After your interior is selected but before it is generated, a shallow copy of the DunGenExtender's properties is passed to an event caller handler thing. You can register a function call to this event caller handler thing to modify the properties before they are used. This is useful if you have configs for your dungeon's generation. The following is a code example of how to register a function call and how you may want to use it.
|
||||
|
||||
```cs
|
||||
dunGenExtender.Events.OnModifyDunGenExtenderProperties.AddListener(UpdateDunGenExtenderProperties);
|
||||
|
|
Loading…
Reference in New Issue