Class AgentWaitTask
Makes the agent wait for a given amount of time
Inherited Members
Namespace: i5.VirtualAgents.AgentTasks
Assembly: cs.temp.dll.dll
Syntax
public class AgentWaitTask : AgentBaseTask, IAgentTask, ITask, ISerializable
Constructors
AgentWaitTask()
Declaration
public AgentWaitTask()
AgentWaitTask(Single)
Creates a new instance of the wait task
Declaration
public AgentWaitTask(float timeInSeconds)
Parameters
Type | Name | Description |
---|---|---|
Single | timeInSeconds | The number of secondsd that the agent should wait for |
Properties
WaitTimeInSeconds
The number of seconds that the agent should wait for
Declaration
public float WaitTimeInSeconds { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
Deserialize(SerializationDataContainer)
Declaration
public void Deserialize(SerializationDataContainer serializer)
Parameters
Type | Name | Description |
---|---|---|
SerializationDataContainer | serializer |
Serialize(SerializationDataContainer)
Declaration
public void Serialize(SerializationDataContainer serializer)
Parameters
Type | Name | Description |
---|---|---|
SerializationDataContainer | serializer |
StartExecution(Agent)
Start the waiting task Called by the agent
Declaration
public override void StartExecution(Agent agent)
Parameters
Type | Name | Description |
---|---|---|
Agent | agent | The agent which executes this task |