Skip to content

R2API.ContentManagement is the biggest codesmell I've contribued and needs rectification. #511

@Nebby1999

Description

@Nebby1999

(I hate my code)

In all seriousness, ContentManagement, while it was a good idea, needs to be refactored to be modified to use BepInPlugins instead of obtaining the assembly via the calling method.

Using the assembly causes issues as it can sometimes create unecesary content packs. Or overall unintended behaviour

This rectification should be done in a clean way ideally to avoid mods breaking, which could be difficult.

The other option of course, is to do nothing and completely axe ContentPack frameworks from R2API once Seekers of The Storm releases, and let modders properly use IContentPackProvider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Code smellIssue describes ugly code or bad code practices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions