Represents an LVar in MSFS.
More...
|
void | SetValue (double NewValue) |
| Sets a new value for this LVar. The new value is immediately sent to the WASM module, however this will not update the local Value property in this FsLvar.
|
|
|
string | Name [get] |
| The Name of the LVar.
|
|
bool | ValueChanged [get] |
| True if the value changed at the during the last RefreshData()
|
|
double | Value [get] |
| The current value of the Lvar.
|
|
|
EventHandler< LVarEvent > | OnValueChanged |
| Fires when this LVar changes.
|
|
Represents an LVar in MSFS.
◆ SetValue()
void SetValue |
( |
double | NewValue | ) |
|
|
inline |
Sets a new value for this LVar. The new value is immediately sent to the WASM module, however this will not update the local Value property in this FsLvar.
The Value will be updated when the new value has been set in the sim and is received by the next RefreshData() call. The OnValueChanged event will also be fired at this time.
- Parameters
-