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 CStorySceneEvent : CVariable
	{
		[Ordinal(0)] [RED("eventName")] public CString EventName { get; set; }

		[Ordinal(1)] [RED("startPosition")] public CFloat StartPosition { get; set; }

		[Ordinal(2)] [RED("isMuted")] public CBool IsMuted { get; set; }

		[Ordinal(3)] [RED("contexID")] public CInt32 ContexID { get; set; }

		[Ordinal(4)] [RED("sceneElement")] public CPtr<CStorySceneElement> SceneElement { get; set; }

		[Ordinal(5)] [RED("GUID")] public CGUID GUID { get; set; }

		[Ordinal(6)] [RED("interpolationEventGUID")] public CGUID InterpolationEventGUID { get; set; }

		[Ordinal(7)] [RED("blendParentGUID")] public CGUID BlendParentGUID { get; set; }

		[Ordinal(8)] [RED("linkParentGUID")] public CGUID LinkParentGUID { get; set; }

		[Ordinal(9)] [RED("linkParentTimeOffset")] public CFloat LinkParentTimeOffset { get; set; }

		[Ordinal(10)] [RED("linkChildrenGUID", 2, 0)] public CArray<CGUID> LinkChildrenGUID { get; set; }

		[Ordinal(11)] [RED("trackName")] public CString TrackName { get; set; }

		[Ordinal(12)] [RED("debugString")] public CString DebugString { get; set; }

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

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

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

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

	}
}