Add static string method to part specific parameters for external use
DMagic1 opened this issue ยท 1 comments
If you can add something like this:
to your part-specific contract parameters, PartGoal is the only one I see, I can access it through reflection and display it in the contracts window. The static method and handling the type casting on your end simplify things and prevent anything from being changed or broken from my end.
The reflection methods I'm using for DMagic Orbital Science are here:
https://github.com/DMagic1/KSP_Contract_Window/blob/master/contractAssembly.cs