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 BTTaskSummonCreaturesOnSpots : IBehTreeTask
	{
		[Ordinal(1)] [RED("entityToSpawn")] 		public CHandle<CEntityTemplate> EntityToSpawn { get; set;}

		[Ordinal(2)] [RED("summonOnAnimEvent")] 		public CName SummonOnAnimEvent { get; set;}

		[Ordinal(3)] [RED("spotTag")] 		public CName SpotTag { get; set;}

		[Ordinal(4)] [RED("minDistance")] 		public CFloat MinDistance { get; set;}

		[Ordinal(5)] [RED("maxDistance")] 		public CFloat MaxDistance { get; set;}

		[Ordinal(6)] [RED("maxSpawnQuantity")] 		public CInt32 MaxSpawnQuantity { get; set;}

		[Ordinal(7)] [RED("betweenSpawnDelay")] 		public SRangeF BetweenSpawnDelay { get; set;}

		[Ordinal(8)] [RED("completeAfterSpawn")] 		public CBool CompleteAfterSpawn { get; set;}

		[Ordinal(9)] [RED("spawnAreaCenter")] 		public CEnum<ETargetName> SpawnAreaCenter { get; set;}

		[Ordinal(10)] [RED("minDistanceFromSpawner")] 		public CFloat MinDistanceFromSpawner { get; set;}

		[Ordinal(11)] [RED("spawnBehVarName")] 		public CName SpawnBehVarName { get; set;}

		[Ordinal(12)] [RED("spawnBehVar")] 		public CFloat SpawnBehVar { get; set;}

		[Ordinal(13)] [RED("shouldForceBehaviorOnSpawn")] 		public CBool ShouldForceBehaviorOnSpawn { get; set;}

		[Ordinal(14)] [RED("m_Npc")] 		public CHandle<CNewNPC> M_Npc { get; set;}

		[Ordinal(15)] [RED("m_AllSpots", 2,0)] 		public CArray<CHandle<CNode>> M_AllSpots { get; set;}

		[Ordinal(16)] [RED("m_CreateEntityHelper")] 		public CHandle<CCreateEntityHelper> M_CreateEntityHelper { get; set;}

		[Ordinal(17)] [RED("m_WaitingToSpawn")] 		public CBool M_WaitingToSpawn { get; set;}

		[Ordinal(18)] [RED("m_IsSpawned")] 		public CBool M_IsSpawned { get; set;}

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

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

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

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

	}
}