after upgrading to the last (official) version 0.9.6.25 my scripts like this do not work anymore:
Code: Select all
using SPAD.neXt.Interfaces;
using SPAD.neXt.Interfaces.Events;
using SPAD.neXt.Interfaces.Scripting;
namespace ClientEventReceiver
{
public class ClientEventReceiver_AUDIO_COM2_MON_LED : IScriptValueProvider
{
public double ProvideValue(IApplication app)
{
var def = EventSystem.GetDataDefinition("SIMCONNECT:AUDIO COM2 MON LED", SPADDefinitionTypes.CONTROL);
return (def?.GetValue()).GetValueOrDefault(-1);
}
}
}
Did the signature of the function "GetDataDefinition" change with this new SPAD .neXt version?No overload for method "GetDataDefinition" takes 2 arguments.
Thanks
Andreas