Closed Nebby1999 closed 1 year ago
Revert Dotnet version chsnge
Need to fix an issue, closing for now
I just pushed a new commit that adds a SystemInitializer dependency injection feature to the namespace R2API.Utils
This class can be used to inject dependencies to any SystemInitializer attribute, I can see this being useful in situations where Time sensitivity is critical (IE: The rulebook system intializer executing before a mod adds new rules, which would cause a desync between the catalog and the RuleBook class)
I think some attempts should be made to avoid accidentally creating infinite loops? i'm unsure.
This PR adds the R2API.Rules submodule.
Despite R2API.LobbyConfig already existing (which also works on the existing RuleDef and RuleCatalog system the game has). both LobbyConfig and Rules aim to fix different issues and in different ways (LobbyConfig seems to be a pretty old API)
Alongside the new submodule, this PR also downgrades the dotNet version of the BuildCL from 7 to 6.