Kerbal Space Program
1.12.4
|
Comms Streams are buffers that hold data from transmitter modules for a while, in order to get the full science value of submitting all the experiment data in one go. If the stream times out, however much data was stored gets submitted to R&D, which devaluates the subject more quickly than sending all the data at once. The xmitIncomplete flag can help avoid this by harmlessly terminating the stream if it times out prematurely. More...
Public Member Functions | |
RnDCommsStream (ScienceSubject subject, float fileSize, float timeout, float xmitValue, bool xmitIncomplete, ResearchAndDevelopment RDInstance) | |
RnDCommsStream (ScienceSubject subject, float fileSize, float timeout, float xmitValue, float scienceValueRatio, bool xmitIncomplete, ResearchAndDevelopment RDInstance) | |
void | StreamData (float dataAmount, ProtoVessel source) |
Public Attributes | |
float | fileSize |
float | scienceValueRatio |
ScienceSubject | subject |
float | timeout |
bool | xmitIncomplete |
float | xmitValue |
Comms Streams are buffers that hold data from transmitter modules for a while, in order to get the full science value of submitting all the experiment data in one go. If the stream times out, however much data was stored gets submitted to R&D, which devaluates the subject more quickly than sending all the data at once. The xmitIncomplete flag can help avoid this by harmlessly terminating the stream if it times out prematurely.
|
inline |
|
inline |
< start timedOut as true so it kicks off the coroutine on the first data in
|
inline |
float RnDCommsStream.fileSize |
float RnDCommsStream.scienceValueRatio |
ScienceSubject RnDCommsStream.subject |
float RnDCommsStream.timeout |
bool RnDCommsStream.xmitIncomplete |
float RnDCommsStream.xmitValue |