Struct Weather
- Namespace
- rF2SharedMemoryNet.RF2Data.Structs
- Assembly
- rF2SharedMemoryNet.dll
Represents weather-related data and control information for the RF2 simulation.
public struct Weather
- Inherited Members
Remarks
This structure contains weather control information and metadata related to the simulation's weather system. The VersionUpdateBegin and VersionUpdateEnd fields are used to track updates to the buffer.
Fields
TrackNodeSize
Represents the size of a track node.
public double TrackNodeSize
Field Value
VersionUpdateBegin
Represents the version number of the buffer at the point when an update begins.
public uint VersionUpdateBegin
Field Value
Remarks
This value is incremented immediately before the buffer is written to, indicating the start of an update. It can be used to track changes or ensure consistency during buffer operations.
VersionUpdateEnd
Represents the version update counter, which is incremented after a buffer write operation is completed.
public uint VersionUpdateEnd
Field Value
Remarks
This field can be used to track the completion of buffer write operations. Each successful write increments the value.
WeatherInfo
Represents weather control information.
public WeatherControlInfo WeatherInfo