.NET Mod to be accessible to other mods?
-
Is it possible to make a C# mods with accessible methods so that other mods can use it?
Exemples:
Mod A:
Hunger SystemMod B:
Restaurant ModIf so, an exemple would be awesome.
Thanks.
-
I'm no scripter, but from what I read now and then that's being done by using decorators in c#
-
There are a few ways to do it.
One is to use decorators, which requires memory editing.
Another is to set your functions/variables as public, which can then be used by Referencing your mod's DLL.
-
@ReNNie thanks for the reply.
@Jitnaught I went with the public dependencies approach anyway I think it fits exactly my needs.