ScriptBotScriptBase is the default Script Bot. This class can be inherited and used to create a custom Script Bot by changing elements of the default script, without having to implement all members of the ScriptBot-interface.
public class ScriptBotScriptBase : IScriptBotScript
{
public virtual void Update(ScriptBotContext context)
{
//Do nothing
}
public virtual void Init()
{
//Do nothing
}
public virtual List<DataSerie> ChartDataSeries
{
get { return new List<DataSerie>(); }
}
public virtual List<double> GetChartData(ScriptBotContext context)
{
return new List<double>();
}
public virtual List<ScriptParameter> GetParameters()
{
return new List<ScriptParameter>();
}
public virtual void SetParameters(Dictionary<string, object> parameters)
{
//Do nothing
}
}