using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
using Il2CppSystem.Collections.Generic;
using UnityEngine;

namespace DigitalRuby.LightningBolt
{
	// Token: 0x020005A7 RID: 1447
	public class LightningBoltScript : MonoBehaviour
	{
		// Token: 0x06009915 RID: 39189 RVA: 0x00274A34 File Offset: 0x00272C34
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618111, XrefRangeEnd = 618118, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void GetPerpendicularVector(ref Vector3 directionNormalized, out Vector3 side)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = &directionNormalized;
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = &side;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_GetPerpendicularVector_Private_Void_byref_Vector3_byref_Vector3_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009916 RID: 39190 RVA: 0x00274AA0 File Offset: 0x00272CA0
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 618141, RefRangeEnd = 618142, XrefRangeStart = 618118, XrefRangeEnd = 618141, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void GenerateLightningBolt(Vector3 start, Vector3 end, int generation, int totalGenerations, float offsetAmount)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref start;
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref end;
			ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref generation;
			ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref totalGenerations;
			ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref offsetAmount;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_GenerateLightningBolt_Private_Void_Vector3_Vector3_Int32_Int32_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009917 RID: 39191 RVA: 0x00274B40 File Offset: 0x00272D40
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 618152, RefRangeEnd = 618153, XrefRangeStart = 618142, XrefRangeEnd = 618152, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void RandomVector(ref Vector3 start, ref Vector3 end, float offsetAmount, out Vector3 result)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
				*ptr = &start;
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = &end;
			ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref offsetAmount;
			ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = &result;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_RandomVector_Public_Void_byref_Vector3_byref_Vector3_Single_byref_Vector3_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009918 RID: 39192 RVA: 0x00274BD0 File Offset: 0x00272DD0
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 618169, RefRangeEnd = 618170, XrefRangeStart = 618153, XrefRangeEnd = 618169, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void SelectOffsetFromAnimationMode()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_SelectOffsetFromAnimationMode_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009919 RID: 39193 RVA: 0x00274C14 File Offset: 0x00272E14
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 618184, RefRangeEnd = 618185, XrefRangeStart = 618170, XrefRangeEnd = 618184, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void UpdateLineRenderer()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_UpdateLineRenderer_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600991A RID: 39194 RVA: 0x00274C58 File Offset: 0x00272E58
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618185, XrefRangeEnd = 618200, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600991B RID: 39195 RVA: 0x00274C9C File Offset: 0x00272E9C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618200, XrefRangeEnd = 618212, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600991C RID: 39196 RVA: 0x00274CE0 File Offset: 0x00272EE0
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 618229, RefRangeEnd = 618230, XrefRangeStart = 618212, XrefRangeEnd = 618229, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Trigger()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_Trigger_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600991D RID: 39197 RVA: 0x00274D24 File Offset: 0x00272F24
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 618236, RefRangeEnd = 618237, XrefRangeStart = 618230, XrefRangeEnd = 618236, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void UpdateFromMaterialChange()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr_UpdateFromMaterialChange_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600991E RID: 39198 RVA: 0x00274D68 File Offset: 0x00272F68
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618237, XrefRangeEnd = 618250, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe LightningBoltScript()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LightningBoltScript.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600991F RID: 39199 RVA: 0x00274DB4 File Offset: 0x00272FB4
		// Note: this type is marked as 'beforefieldinit'.
		static LightningBoltScript()
		{
			Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "DigitalRuby.LightningBolt", "LightningBoltScript");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr);
			LightningBoltScript.NativeFieldInfoPtr_StartObject = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "StartObject");
			LightningBoltScript.NativeFieldInfoPtr_StartPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "StartPosition");
			LightningBoltScript.NativeFieldInfoPtr_EndObject = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "EndObject");
			LightningBoltScript.NativeFieldInfoPtr_EndPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "EndPosition");
			LightningBoltScript.NativeFieldInfoPtr_Generations = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "Generations");
			LightningBoltScript.NativeFieldInfoPtr_Duration = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "Duration");
			LightningBoltScript.NativeFieldInfoPtr_timer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "timer");
			LightningBoltScript.NativeFieldInfoPtr_ChaosFactor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "ChaosFactor");
			LightningBoltScript.NativeFieldInfoPtr_ManualMode = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "ManualMode");
			LightningBoltScript.NativeFieldInfoPtr_Rows = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "Rows");
			LightningBoltScript.NativeFieldInfoPtr_Columns = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "Columns");
			LightningBoltScript.NativeFieldInfoPtr_AnimationMode = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "AnimationMode");
			LightningBoltScript.NativeFieldInfoPtr_RandomGenerator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "RandomGenerator");
			LightningBoltScript.NativeFieldInfoPtr_lineRenderer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "lineRenderer");
			LightningBoltScript.NativeFieldInfoPtr_segments = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "segments");
			LightningBoltScript.NativeFieldInfoPtr_startIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "startIndex");
			LightningBoltScript.NativeFieldInfoPtr_size = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "size");
			LightningBoltScript.NativeFieldInfoPtr_offsets = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "offsets");
			LightningBoltScript.NativeFieldInfoPtr_animationOffsetIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "animationOffsetIndex");
			LightningBoltScript.NativeFieldInfoPtr_animationPingPongDirection = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "animationPingPongDirection");
			LightningBoltScript.NativeFieldInfoPtr_orthographic = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, "orthographic");
			LightningBoltScript.NativeMethodInfoPtr_GetPerpendicularVector_Private_Void_byref_Vector3_byref_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675213);
			LightningBoltScript.NativeMethodInfoPtr_GenerateLightningBolt_Private_Void_Vector3_Vector3_Int32_Int32_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675214);
			LightningBoltScript.NativeMethodInfoPtr_RandomVector_Public_Void_byref_Vector3_byref_Vector3_Single_byref_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675215);
			LightningBoltScript.NativeMethodInfoPtr_SelectOffsetFromAnimationMode_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675216);
			LightningBoltScript.NativeMethodInfoPtr_UpdateLineRenderer_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675217);
			LightningBoltScript.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675218);
			LightningBoltScript.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675219);
			LightningBoltScript.NativeMethodInfoPtr_Trigger_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675220);
			LightningBoltScript.NativeMethodInfoPtr_UpdateFromMaterialChange_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675221);
			LightningBoltScript.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LightningBoltScript>.NativeClassPtr, 100675222);
		}

		// Token: 0x06009920 RID: 39200 RVA: 0x0000351C File Offset: 0x0000171C
		public LightningBoltScript(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170033CC RID: 13260
		// (get) Token: 0x06009921 RID: 39201 RVA: 0x00275050 File Offset: 0x00273250
		// (set) Token: 0x06009922 RID: 39202 RVA: 0x00275084 File Offset: 0x00273284
		public unsafe GameObject StartObject
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_StartObject);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_StartObject), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170033CD RID: 13261
		// (get) Token: 0x06009923 RID: 39203 RVA: 0x002750AC File Offset: 0x002732AC
		// (set) Token: 0x06009924 RID: 39204 RVA: 0x002750D4 File Offset: 0x002732D4
		public unsafe Vector3 StartPosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_StartPosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_StartPosition)) = value;
			}
		}

		// Token: 0x170033CE RID: 13262
		// (get) Token: 0x06009925 RID: 39205 RVA: 0x002750F8 File Offset: 0x002732F8
		// (set) Token: 0x06009926 RID: 39206 RVA: 0x0027512C File Offset: 0x0027332C
		public unsafe GameObject EndObject
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_EndObject);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_EndObject), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170033CF RID: 13263
		// (get) Token: 0x06009927 RID: 39207 RVA: 0x00275154 File Offset: 0x00273354
		// (set) Token: 0x06009928 RID: 39208 RVA: 0x0027517C File Offset: 0x0027337C
		public unsafe Vector3 EndPosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_EndPosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_EndPosition)) = value;
			}
		}

		// Token: 0x170033D0 RID: 13264
		// (get) Token: 0x06009929 RID: 39209 RVA: 0x002751A0 File Offset: 0x002733A0
		// (set) Token: 0x0600992A RID: 39210 RVA: 0x002751C8 File Offset: 0x002733C8
		public unsafe int Generations
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Generations);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Generations)) = value;
			}
		}

		// Token: 0x170033D1 RID: 13265
		// (get) Token: 0x0600992B RID: 39211 RVA: 0x002751EC File Offset: 0x002733EC
		// (set) Token: 0x0600992C RID: 39212 RVA: 0x00275214 File Offset: 0x00273414
		public unsafe float Duration
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Duration);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Duration)) = value;
			}
		}

		// Token: 0x170033D2 RID: 13266
		// (get) Token: 0x0600992D RID: 39213 RVA: 0x00275238 File Offset: 0x00273438
		// (set) Token: 0x0600992E RID: 39214 RVA: 0x00275260 File Offset: 0x00273460
		public unsafe float timer
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_timer);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_timer)) = value;
			}
		}

		// Token: 0x170033D3 RID: 13267
		// (get) Token: 0x0600992F RID: 39215 RVA: 0x00275284 File Offset: 0x00273484
		// (set) Token: 0x06009930 RID: 39216 RVA: 0x002752AC File Offset: 0x002734AC
		public unsafe float ChaosFactor
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_ChaosFactor);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_ChaosFactor)) = value;
			}
		}

		// Token: 0x170033D4 RID: 13268
		// (get) Token: 0x06009931 RID: 39217 RVA: 0x002752D0 File Offset: 0x002734D0
		// (set) Token: 0x06009932 RID: 39218 RVA: 0x002752F8 File Offset: 0x002734F8
		public unsafe bool ManualMode
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_ManualMode);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_ManualMode)) = value;
			}
		}

		// Token: 0x170033D5 RID: 13269
		// (get) Token: 0x06009933 RID: 39219 RVA: 0x0027531C File Offset: 0x0027351C
		// (set) Token: 0x06009934 RID: 39220 RVA: 0x00275344 File Offset: 0x00273544
		public unsafe int Rows
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Rows);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Rows)) = value;
			}
		}

		// Token: 0x170033D6 RID: 13270
		// (get) Token: 0x06009935 RID: 39221 RVA: 0x00275368 File Offset: 0x00273568
		// (set) Token: 0x06009936 RID: 39222 RVA: 0x00275390 File Offset: 0x00273590
		public unsafe int Columns
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Columns);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_Columns)) = value;
			}
		}

		// Token: 0x170033D7 RID: 13271
		// (get) Token: 0x06009937 RID: 39223 RVA: 0x002753B4 File Offset: 0x002735B4
		// (set) Token: 0x06009938 RID: 39224 RVA: 0x002753DC File Offset: 0x002735DC
		public unsafe LightningBoltAnimationMode AnimationMode
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_AnimationMode);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_AnimationMode)) = value;
			}
		}

		// Token: 0x170033D8 RID: 13272
		// (get) Token: 0x06009939 RID: 39225 RVA: 0x00275400 File Offset: 0x00273600
		// (set) Token: 0x0600993A RID: 39226 RVA: 0x00275434 File Offset: 0x00273634
		public unsafe Il2CppSystem.Random RandomGenerator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_RandomGenerator);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppSystem.Random(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_RandomGenerator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170033D9 RID: 13273
		// (get) Token: 0x0600993B RID: 39227 RVA: 0x0027545C File Offset: 0x0027365C
		// (set) Token: 0x0600993C RID: 39228 RVA: 0x00275490 File Offset: 0x00273690
		public unsafe LineRenderer lineRenderer
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_lineRenderer);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new LineRenderer(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_lineRenderer), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170033DA RID: 13274
		// (get) Token: 0x0600993D RID: 39229 RVA: 0x002754B8 File Offset: 0x002736B8
		// (set) Token: 0x0600993E RID: 39230 RVA: 0x002754EC File Offset: 0x002736EC
		public unsafe List<KeyValuePair<Vector3, Vector3>> segments
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_segments);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new List<KeyValuePair<Vector3, Vector3>>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_segments), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170033DB RID: 13275
		// (get) Token: 0x0600993F RID: 39231 RVA: 0x00275514 File Offset: 0x00273714
		// (set) Token: 0x06009940 RID: 39232 RVA: 0x0027553C File Offset: 0x0027373C
		public unsafe int startIndex
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_startIndex);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_startIndex)) = value;
			}
		}

		// Token: 0x170033DC RID: 13276
		// (get) Token: 0x06009941 RID: 39233 RVA: 0x00275560 File Offset: 0x00273760
		// (set) Token: 0x06009942 RID: 39234 RVA: 0x00275588 File Offset: 0x00273788
		public unsafe Vector2 size
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_size);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_size)) = value;
			}
		}

		// Token: 0x170033DD RID: 13277
		// (get) Token: 0x06009943 RID: 39235 RVA: 0x002755AC File Offset: 0x002737AC
		// (set) Token: 0x06009944 RID: 39236 RVA: 0x002755E0 File Offset: 0x002737E0
		public unsafe Il2CppStructArray<Vector2> offsets
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_offsets);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppStructArray<Vector2>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_offsets), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170033DE RID: 13278
		// (get) Token: 0x06009945 RID: 39237 RVA: 0x00275608 File Offset: 0x00273808
		// (set) Token: 0x06009946 RID: 39238 RVA: 0x00275630 File Offset: 0x00273830
		public unsafe int animationOffsetIndex
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_animationOffsetIndex);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_animationOffsetIndex)) = value;
			}
		}

		// Token: 0x170033DF RID: 13279
		// (get) Token: 0x06009947 RID: 39239 RVA: 0x00275654 File Offset: 0x00273854
		// (set) Token: 0x06009948 RID: 39240 RVA: 0x0027567C File Offset: 0x0027387C
		public unsafe int animationPingPongDirection
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_animationPingPongDirection);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_animationPingPongDirection)) = value;
			}
		}

		// Token: 0x170033E0 RID: 13280
		// (get) Token: 0x06009949 RID: 39241 RVA: 0x002756A0 File Offset: 0x002738A0
		// (set) Token: 0x0600994A RID: 39242 RVA: 0x002756C8 File Offset: 0x002738C8
		public unsafe bool orthographic
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_orthographic);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LightningBoltScript.NativeFieldInfoPtr_orthographic)) = value;
			}
		}

		// Token: 0x040066A6 RID: 26278
		private static readonly IntPtr NativeFieldInfoPtr_StartObject;

		// Token: 0x040066A7 RID: 26279
		private static readonly IntPtr NativeFieldInfoPtr_StartPosition;

		// Token: 0x040066A8 RID: 26280
		private static readonly IntPtr NativeFieldInfoPtr_EndObject;

		// Token: 0x040066A9 RID: 26281
		private static readonly IntPtr NativeFieldInfoPtr_EndPosition;

		// Token: 0x040066AA RID: 26282
		private static readonly IntPtr NativeFieldInfoPtr_Generations;

		// Token: 0x040066AB RID: 26283
		private static readonly IntPtr NativeFieldInfoPtr_Duration;

		// Token: 0x040066AC RID: 26284
		private static readonly IntPtr NativeFieldInfoPtr_timer;

		// Token: 0x040066AD RID: 26285
		private static readonly IntPtr NativeFieldInfoPtr_ChaosFactor;

		// Token: 0x040066AE RID: 26286
		private static readonly IntPtr NativeFieldInfoPtr_ManualMode;

		// Token: 0x040066AF RID: 26287
		private static readonly IntPtr NativeFieldInfoPtr_Rows;

		// Token: 0x040066B0 RID: 26288
		private static readonly IntPtr NativeFieldInfoPtr_Columns;

		// Token: 0x040066B1 RID: 26289
		private static readonly IntPtr NativeFieldInfoPtr_AnimationMode;

		// Token: 0x040066B2 RID: 26290
		private static readonly IntPtr NativeFieldInfoPtr_RandomGenerator;

		// Token: 0x040066B3 RID: 26291
		private static readonly IntPtr NativeFieldInfoPtr_lineRenderer;

		// Token: 0x040066B4 RID: 26292
		private static readonly IntPtr NativeFieldInfoPtr_segments;

		// Token: 0x040066B5 RID: 26293
		private static readonly IntPtr NativeFieldInfoPtr_startIndex;

		// Token: 0x040066B6 RID: 26294
		private static readonly IntPtr NativeFieldInfoPtr_size;

		// Token: 0x040066B7 RID: 26295
		private static readonly IntPtr NativeFieldInfoPtr_offsets;

		// Token: 0x040066B8 RID: 26296
		private static readonly IntPtr NativeFieldInfoPtr_animationOffsetIndex;

		// Token: 0x040066B9 RID: 26297
		private static readonly IntPtr NativeFieldInfoPtr_animationPingPongDirection;

		// Token: 0x040066BA RID: 26298
		private static readonly IntPtr NativeFieldInfoPtr_orthographic;

		// Token: 0x040066BB RID: 26299
		private static readonly IntPtr NativeMethodInfoPtr_GetPerpendicularVector_Private_Void_byref_Vector3_byref_Vector3_0;

		// Token: 0x040066BC RID: 26300
		private static readonly IntPtr NativeMethodInfoPtr_GenerateLightningBolt_Private_Void_Vector3_Vector3_Int32_Int32_Single_0;

		// Token: 0x040066BD RID: 26301
		private static readonly IntPtr NativeMethodInfoPtr_RandomVector_Public_Void_byref_Vector3_byref_Vector3_Single_byref_Vector3_0;

		// Token: 0x040066BE RID: 26302
		private static readonly IntPtr NativeMethodInfoPtr_SelectOffsetFromAnimationMode_Private_Void_0;

		// Token: 0x040066BF RID: 26303
		private static readonly IntPtr NativeMethodInfoPtr_UpdateLineRenderer_Private_Void_0;

		// Token: 0x040066C0 RID: 26304
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040066C1 RID: 26305
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x040066C2 RID: 26306
		private static readonly IntPtr NativeMethodInfoPtr_Trigger_Public_Void_0;

		// Token: 0x040066C3 RID: 26307
		private static readonly IntPtr NativeMethodInfoPtr_UpdateFromMaterialChange_Public_Void_0;

		// Token: 0x040066C4 RID: 26308
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
