Click or drag to resize
ReferenceTaskReadUnknownTask Method
Reads an unknown task from xml and tries to capsule it into a ReferenceTask object. If no task description for the task type was found, null is returned.

Namespace: Slash.AI.BehaviorTrees.Implementations
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
public static ReferenceTask ReadUnknownTask(
	XmlReader reader,
	TaskDescriptionSet availableTaskDescriptions
)

Parameters

reader
Type: System.XmlXmlReader
Xml reader.
availableTaskDescriptions
Type: Slash.AI.BehaviorTrees.EditorTaskDescriptionSet
Available task descriptions.

Return Value

Type: ReferenceTask
Reference task which capsules the unknown task; null if no task description for the type of the unknown task was found.
See Also