Ludeon Forums

RimWorld => Mods => Topic started by: RawCode on July 14, 2014, 09:25:50 AM

Title: Entry point for custom class
Post by: RawCode on July 14, 2014, 09:25:50 AM
Is any way to load DLL without binding it to any ingame object present (and i missed it) or there is no such option?

I performed *some* research but found no way to load code without binding it to world generation, storyteller or object.
Title: Re: Entry point for custom class
Post by: Haplo on July 14, 2014, 09:32:58 AM
Your code will be present, just by adding the dll.
The problem you'll face is how to call your code.
Every item of code is called at one point or another, then it's functions will be executed. So, to use your code, you need something to hook it to, that way it can be called.
And the easiest to do that right now is via some objects that are created from the provided xml-files.