public FunctionCallScript(GameLoader loader, string procedure, IList <IFunction> parameters, IScript paramFunction) { m_loader = loader; m_procedure = procedure.Replace(" ", Utility.SpaceReplacementString); m_parameters = new FunctionCallParameters(parameters); m_paramFunction = paramFunction; }
public FunctionCallScript(GameLoader loader, string procedure, IList<IFunction> parameters, IScript paramFunction) { m_loader = loader; m_procedure = procedure.Replace(" ", Utility.SpaceReplacementString); m_parameters = new FunctionCallParameters(parameters); m_paramFunction = paramFunction; }
public RunDelegateScript(ScriptContext scriptContext, IFunction <Element> obj, IFunction <string> del, IList <IFunction <object> > parameters) { m_scriptContext = scriptContext; m_worldModel = scriptContext.WorldModel; m_delegate = del; m_parameters = new FunctionCallParameters(m_worldModel, parameters); m_appliesTo = obj; }
public RunDelegateScript(ScriptContext scriptContext, IFunction<Element> obj, IFunction<string> del, IList<IFunction<object>> parameters) { m_scriptContext = scriptContext; m_worldModel = scriptContext.WorldModel; m_delegate = del; m_parameters = new FunctionCallParameters(m_worldModel, parameters); m_appliesTo = obj; }
public FunctionCallScript(WorldModel worldModel, string procedure, IList <IFunction <object> > parameters, IScript paramFunction) { m_worldModel = worldModel; m_procedure = procedure; m_parameters = new FunctionCallParameters(worldModel, parameters); m_paramFunction = paramFunction; m_parameters.ParametersAsQuestList.Added += Parameters_Added; m_parameters.ParametersAsQuestList.Removed += Parameters_Removed; }
public RunDelegateScript(IFunction obj, IFunction del, IList<IFunction> parameters) { m_delegate = del; m_parameters = new FunctionCallParameters(parameters); m_appliesTo = obj; }
public FunctionCallScript(WorldModel worldModel, string procedure, IList<IFunction<object>> parameters, IScript paramFunction) { m_worldModel = worldModel; m_procedure = procedure; m_parameters = new FunctionCallParameters(worldModel, parameters); m_paramFunction = paramFunction; m_parameters.ParametersAsQuestList.Added += Parameters_Added; m_parameters.ParametersAsQuestList.Removed += Parameters_Removed; }
public RunDelegateScript(IFunction obj, IFunction del, IList <IFunction> parameters) { m_delegate = del; m_parameters = new FunctionCallParameters(parameters); m_appliesTo = obj; }