Skip to content

Conversation

@hazre
Copy link
Member

@hazre hazre commented Sep 18, 2025

This depends on ResoniteModding/BepisLoader#20 to be merged. This changes ResonitePlugin to be simply a renamed class and introduces ResonitePrePatcherPlugin which is a renamed PatcherPluginInfoAttribute for consistency sakes. (for backwards compatibility and consistency)

The idea is simple. BepInExResoniteShim should be the entry point of Resonite BepinEx modding. (it already is, including both CoreCLR and Shim in csproj is pointless unless u want to overwrite CoreCLR version for some reason)

Plugin authors should depend on ResoniteModding.BepInExResoniteShim in the csproj to get the references for BepisLoader (bepinex 6 fork). BepInEx.NET.CoreCLR should only be used for projects such as Shim itself. This has nothing to do with the Thunderstore package BepInExResoniteShim plugin, so no need to change thunderstore.toml. (even for prepatcher only mods)

public ResonitePlugin(string GUID, string Name, string Version, string? Author = null, string? Link = null) : base(GUID, Name, Version, Author, Link) { }
}

public class ResonitePrePatcherPlugin : PatcherPluginInfoAttribute
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? that's not how this works

}
public string Author { get; protected set; }
public string Link { get; protected set; }
public ResonitePlugin(string GUID, string Name, string Version, string? Author = null, string? Link = null) : base(GUID, Name, Version, Author, Link) { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if u doing this might as well mark the attribute as [Obsolete]

@hazre hazre closed this Sep 18, 2025
@hazre hazre deleted the change-attributes branch September 18, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants