[Question] Override or add to core game methods, and have game use that instead

Started by mipen, July 23, 2014, 03:47:25 AM

Previous topic - Next topic

mipen

I was wondering if I could, for example add to the Verse.MapUpdate() method, or override it to include some of my own things? I am trying to make a water system similar to the power system, but in order for it to function, I need to call some methods from the MapUpdate method. Or would there be a better way of doing this?

RawCode

That method is not static, invocation "Verse.MapUpdate()" wont compile at all.

Since it's possible to modify runtime memory answer is "yes" but you should provide more info about what exactly you want to do and valid code sample that does not work or work in unexpected way.