API Question ReadStatus and WriteStatus for modules?

Topper

Addon Developer
Addon Developer
Donator
Joined
Mar 28, 2008
Messages
666
Reaction score
20
Points
33
Hello,
I have seen the ReadStatus and WriteStatus methods for MFDs, but is there something similar for modules (no MFDs and no vessel etc.)?

I have a std::vector to store the data during runtimer for all the different vessels. The autopilot a are controlled by the clbk::posStep and the Interface ist an MFD. But the autopilots will work even if the MFD is closed, but in that case I can not save the data during quicksave or so to the scenario file because the WriteStatus method of the MFD will not be called.
 
Last edited:

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
104
Points
78
yes, global methods opcSaveState and opcLoadState.

those are the only ones I know about that are still "opc--" methods and were not included in the oapi::Module base class (I have to say that I can't see why), but they work perfectly.
 
Top