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 CPreAttackEventData : CVariable
	{
		[Ordinal(1)] [RED("attackName")] 		public CName AttackName { get; set;}

		[Ordinal(2)] [RED("weaponSlot")] 		public CName WeaponSlot { get; set;}

		[Ordinal(3)] [RED("hitReactionType")] 		public CInt32 HitReactionType { get; set;}

		[Ordinal(4)] [RED("rangeName")] 		public CName RangeName { get; set;}

		[Ordinal(5)] [RED("Damage_Friendly")] 		public CBool Damage_Friendly { get; set;}

		[Ordinal(6)] [RED("Damage_Neutral")] 		public CBool Damage_Neutral { get; set;}

		[Ordinal(7)] [RED("Damage_Hostile")] 		public CBool Damage_Hostile { get; set;}

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

		[Ordinal(9)] [RED("hitFX")] 		public CName HitFX { get; set;}

		[Ordinal(10)] [RED("hitBackFX")] 		public CName HitBackFX { get; set;}

		[Ordinal(11)] [RED("hitParriedFX")] 		public CName HitParriedFX { get; set;}

		[Ordinal(12)] [RED("hitBackParriedFX")] 		public CName HitBackParriedFX { get; set;}

		[Ordinal(13)] [RED("swingType")] 		public CInt32 SwingType { get; set;}

		[Ordinal(14)] [RED("swingDir")] 		public CInt32 SwingDir { get; set;}

		[Ordinal(15)] [RED("soundAttackType")] 		public CName SoundAttackType { get; set;}

		[Ordinal(16)] [RED("canBeDodged")] 		public CBool CanBeDodged { get; set;}

		[Ordinal(17)] [RED("cameraAnimOnMissedHit")] 		public CName CameraAnimOnMissedHit { get; set;}

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

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

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

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

	}
}