Class AddTokenToSequencesEffector
Inheritance
AddTokenToSequencesEffector
Assembly: Xareus.Scenarios.Extra.dll
Syntax
public class AddTokenToSequencesEffector : AEffector
Constructors
AddTokenToSequencesEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
public AddTokenToSequencesEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
scenario_id
Declaration
[ConfigurationParameter("Scenario Instance ID", "If not specified, the state will be loaded in the scenario holding this effector.", Necessity.Optional)]
protected string scenario_id
Field Value
sequencesTokens
Declaration
[ConfigurationParameter("Token Data", "Data to set in the tokens that will be added. If some of the targeted sequences already have tokens, they will be destroyed first", Necessity.Optional)]
protected List<AddTokenToSequencesEffector.TokenData> sequencesTokens
Field Value
Methods
EffectorUpdate()
Applies a processing as soon as the event occurs.
Declaration
public override void EffectorUpdate()
Overrides