Stratum-Stratum icon

Stratum

A lite stage and asset management framework, designed with Thunderstore in mind.

Last updated 2 years ago
Total downloads 211163
Total rating 6 
Categories Libraries
Dependency string Stratum-Stratum-1.1.1
Dependants 21 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_H3VR-5.4.1100 icon
BepInEx-BepInExPack_H3VR

BepInEx pack for H3VR. Preconfigured and ready to use.

Preferred version: 5.4.1100

README

Stratum

releases nuget codecov chat

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.