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 BTTaskSpawnEntitiesAttack : IBehTreeTask
	{
		[Ordinal(1)] [RED("resourceName")] 		public CName ResourceName { get; set;}

		[Ordinal(2)] [RED("eventName")] 		public CName EventName { get; set;}

		[Ordinal(3)] [RED("numberOfEntities")] 		public CInt32 NumberOfEntities { get; set;}

		[Ordinal(4)] [RED("timeBetweenSpawn")] 		public CFloat TimeBetweenSpawn { get; set;}

		[Ordinal(5)] [RED("minDistFromTarget")] 		public CFloat MinDistFromTarget { get; set;}

		[Ordinal(6)] [RED("maxDistFromTarget")] 		public CFloat MaxDistFromTarget { get; set;}

		[Ordinal(7)] [RED("minDistFromEachOther")] 		public CFloat MinDistFromEachOther { get; set;}

		[Ordinal(8)] [RED("initialDelay")] 		public CFloat InitialDelay { get; set;}

		[Ordinal(9)] [RED("behVariableToSetOnEnd")] 		public CName BehVariableToSetOnEnd { get; set;}

		[Ordinal(10)] [RED("shouldStart")] 		public CBool ShouldStart { get; set;}

		[Ordinal(11)] [RED("lastSpawnTimestamp")] 		public CFloat LastSpawnTimestamp { get; set;}

		[Ordinal(12)] [RED("spawnTimeout")] 		public CFloat SpawnTimeout { get; set;}

		[Ordinal(13)] [RED("checkDistanceOfNpcToTarget")] 		public CBool CheckDistanceOfNpcToTarget { get; set;}

		[Ordinal(14)] [RED("spawnEntitiesAroundOwner")] 		public CBool SpawnEntitiesAroundOwner { get; set;}

		[Ordinal(15)] [RED("entityTemplate")] 		public CHandle<CEntityTemplate> EntityTemplate { get; set;}

		[Ordinal(16)] [RED("usedPos", 2,0)] 		public CArray<Vector> UsedPos { get; set;}

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

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

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

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

	}
}