Stratum
A lite stage and asset management framework, designed with Thunderstore in mind.
Date uploaded | 2 years ago |
Version | 1.1.0 |
Download link | Stratum-Stratum-1.1.0.zip |
Downloads | 64193 |
Dependency string | Stratum-Stratum-1.1.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_H3VR
BepInEx pack for H3VR. Preconfigured and ready to use.
Preferred version: 5.4.1100README
Stratum
Stratum is a lite stage and asset management framework, designed with Thunderstore in mind. Combined with Mason, they are an evolution of the pre-Thunderstore asset management framework, Deli.
For a more detailed explaination about the dual-project system, see the Mason docs. Stratum is a library, and as such, this repository is intended for developers.
Installation
Stratum has a Thunderstore package, otherwise it can be downloaded from the releases section.
Usage
Add the Stratum
NuGet package to your project. Be sure to copy the nuget.config file from this repository as well, because Stratum references libraries from BepInEx's NuGet source.
Inherit from StratumPlugin
and apply the usual BepInEx attributes. Then, implement the two stage callbacks. These callbacks pass an IStageContext<TRet>
specific to your plugin, to which you can add loaders and access other plugins' contexts.