Class InvokeTypeWithScenarioMethodEffector
A effector that calls a method in a TypeWithScenario
Inheritance
InvokeTypeWithScenarioMethodEffector
Assembly: Xareus.Unity.Libraries.dll
Syntax
[Renamed("SEVEN.InvokeFiveTypeWithScenarioMethodEffector", "Assembly-CSharp")]
[Renamed("SEVEN.FIVE.InvokeFiveTypeWithScenarioMethodEffector", "Assembly-CSharp")]
[Renamed("Xareus.Relations.Scenarios.InvokeTypeWithScenarioMethodEffector", "Xareus.Unity.Librairies")]
[Renamed("Xareus.Relations.Scenarios.InvokeTypeWithScenarioMethodEffector", "Xareus.Unity.Libraries")]
[FunctionDescription("", new string[] { "TypeWithScenario" })]
public class InvokeTypeWithScenarioMethodEffector : AUnityEffector
Constructors
InvokeTypeWithScenarioMethodEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
protected InvokeTypeWithScenarioMethodEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
METHOD
Declaration
public const string METHOD = "Method"
Field Value
PARAMETERS
Declaration
public const string PARAMETERS = "Parameters"
Field Value
TYPE
Declaration
public const string TYPE = "Type"
Field Value
method
Declaration
[ConfigurationParameter("Method", Necessity.Required)]
[Provider("Type")]
protected MethodInfo method
Field Value
parameters
Declaration
[ConfigurationParameter("Parameters", Necessity.Required)]
[Provider("Method")]
protected MethodParameters parameters
Field Value
type
Declaration
[ConfigurationParameter("Type", Necessity.Required)]
[ProvideConstraint(typeof(XUType))]
protected Type type
Field Value
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides
SafeReset()
Reset an effector. Note that this code will be executed in unity's thread and the declared parameters (using the ConfigurationParameter attribute) are already filled
Declaration
public override void SafeReset()
Overrides