Details

Last Updated
3 weeks ago
First Uploaded
3 weeks ago
Downloads
33K
Likes
2
Size
98KB
Dependency string
PotatoePet-AdvancedREPO_Config-1.0.2
Dependants

AdvancedREPO.Config

Configuration framework which allows the synchronization of BepInEx configurations from host to clients.

If you want to use this as a developer you can simply use the extension method .Sync() for any ConfigEntry you've created like this:

StaminaPerUpgrade = configFile.Bind<int>(
    new ConfigDefinition("Stamina", "Upgrade stamina"), 
    10, 
    new ConfigDescription("How much stamina every upgrade gives.", new AcceptableValueRange<int>(0, 100)))
    .Sync();

This will return a ConfigField<int>. During gameplay simply read the .Value of this ConfigField<int>. Synchronization will be done by the framework on level start.

Source

The source code is licensed under a MIT license and available here: https://github.com/FluffyFishGames/AdvancedREPO/tree/main

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.