Class PropertyWatcherDataBroker
- Namespace
- KSP.Messages
- Assembly
- Assembly-CSharp.dll
public class PropertyWatcherDataBroker
- Inheritance
-
PropertyWatcherDataBroker
- Inherited Members
-
- Extension Methods
-
Constructors
PropertyWatcherDataBroker()
public PropertyWatcherDataBroker()
Methods
GetContractBool(Type)
public PropertyWatcherDataBroker.DataContract<bool> GetContractBool(Type targetType)
Parameters
targetType Type
Returns
- PropertyWatcherDataBroker.DataContract<bool>
GetContractDouble(Type)
public PropertyWatcherDataBroker.DataContract<double> GetContractDouble(Type targetType)
Parameters
targetType Type
Returns
- PropertyWatcherDataBroker.DataContract<double>
GetCurrentBoolData(Type)
public bool GetCurrentBoolData(Type targetType)
Parameters
targetType Type
Returns
- bool
GetCurrentDoubleData(Type)
public double GetCurrentDoubleData(Type targetType)
Parameters
targetType Type
Returns
- double
RegisterOnDataChangedBool(Type, Action)
public void RegisterOnDataChangedBool(Type typeWatched, Action callback)
Parameters
typeWatched Type
callback Action
RegisterOnDataChangedDouble(Type, Action)
public void RegisterOnDataChangedDouble(Type typeWatched, Action callback)
Parameters
typeWatched Type
callback Action
SetCurrentBoolData(Type, bool)
public void SetCurrentBoolData(Type targetType, bool value)
Parameters
targetType Type
value bool
SetCurrentDoubleData(Type, double)
public void SetCurrentDoubleData(Type targetType, double value)
Parameters
targetType Type
value double