using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;


namespace WolvenKit.CR2W.Types
{
	[DataContract(Namespace = "")]
	[REDMeta]
	public class CBTTaskFlyPursueTarget : IBehTreeTask
	{
		[Ordinal(1)] [RED("useCustom")] 		public CBool UseCustom { get; set;}

		[Ordinal(2)] [RED("distanceFromTarget")] 		public CFloat DistanceFromTarget { get; set;}

		[Ordinal(3)] [RED("heightFromTarget")] 		public CFloat HeightFromTarget { get; set;}

		[Ordinal(4)] [RED("distanceTolerance")] 		public CFloat DistanceTolerance { get; set;}

		[Ordinal(5)] [RED("predictPositionTime")] 		public CFloat PredictPositionTime { get; set;}

		[Ordinal(6)] [RED("multiplyPredictTimeByDistance")] 		public CFloat MultiplyPredictTimeByDistance { get; set;}

		[Ordinal(7)] [RED("npcPosition")] 		public Vector NpcPosition { get; set;}

		[Ordinal(8)] [RED("targetPosition")] 		public Vector TargetPosition { get; set;}

		[Ordinal(9)] [RED("npcToTargetDistance2D")] 		public CFloat NpcToTargetDistance2D { get; set;}

		[Ordinal(10)] [RED("movePos")] 		public Vector MovePos { get; set;}

		[Ordinal(11)] [RED("cachedTime")] 		public CFloat CachedTime { get; set;}

		[Ordinal(12)] [RED("randomHeight")] 		public CInt32 RandomHeight { get; set;}

		[Ordinal(13)] [RED("randomVectorFromTarget")] 		public Vector RandomVectorFromTarget { get; set;}

		[Ordinal(14)] [RED("flySpeed")] 		public CFloat FlySpeed { get; set;}

		public CBTTaskFlyPursueTarget(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name){ }

		public static new CVariable Create(CR2WFile cr2w, CVariable parent, string name) => new CBTTaskFlyPursueTarget(cr2w, parent, name);

		public override void Read(BinaryReader file, uint size) => base.Read(file, size);

		public override void Write(BinaryWriter file) => base.Write(file);

	}
}