Yunivers
Adding modding capabilities to my C# game
Here's a somewhat strange question that may just not have an answer.
I'm working on a project where I'd like to have the game be moddable in sorta the same way Minecraft is, where the modder can create a Mixin class of an existing Minecraft class, and then add or replace code of that class. I'd like to go about it in a way that's natively supported by my game, which is also going to be open-source, and I'd prefer to not get an answer that's just "use interfaces and reflection", as that's not very freeing for what the user can actually change about the core game, only allowing additions to aspects of the game that use interfaces, rather than being able to add to or replace any code in the game.
For the record, my game does not use a game engine, so suggestions about MelonLoader for Unity are off the table.
41 replies