Description
@hvacengi In one of the kOS issue threads I saw you mention that you are doing an optimization pass and that the AGX code in kOS was on your list to look at.
(I closed the webpage and now can't find the thread again, it was one that came up on my watch list over the weekend.)
I currently don't have working test code to show, but I'm currently reworking AGX, (mainly for the new GUI system) and I am looking at changing how AGX interfaces with mods by using the new GameEvents system.
First, I'm not getting rid of the currently reflection system being used so feel free to keep using it.
However, the new GameEvents system looks to be simpler because supposedly if AGX creates an event and kOS subscribes to it, kOS can fire the event. That would be a lot cleaner then all the reflection code currently being used, at least in terms of amount of code required.
Now, as for actual questions:
- Have you already done your pass of kOS's AGX code? I'm not trying to make a bunch of work for you here.
- As someone who gets programming on a lot higher level then I do, does changing from using Reflection ourselves to using the GameEvents system (which uses Reflection anyway) make our lives better/easier?
I will also try to throw together some proof of concept code for you to actually see what I'm talking about tonight, wanted to get this issue opened so I don't forget about it.
Activity