using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

namespace Bitgem.VFX.StylisedWater
{
	// Token: 0x020003F1 RID: 1009
	public class WateverVolumeFloater : MonoBehaviour
	{
		// Token: 0x06007CAB RID: 31915 RVA: 0x001FCF9C File Offset: 0x001FB19C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620675, XrefRangeEnd = 620704, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WateverVolumeFloater.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007CAC RID: 31916 RVA: 0x001FCFE0 File Offset: 0x001FB1E0
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe WateverVolumeFloater()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<WateverVolumeFloater>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WateverVolumeFloater.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007CAD RID: 31917 RVA: 0x001FD02C File Offset: 0x001FB22C
		// Note: this type is marked as 'beforefieldinit'.
		static WateverVolumeFloater()
		{
			Il2CppClassPointerStore<WateverVolumeFloater>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Bitgem.VFX.StylisedWater", "WateverVolumeFloater");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<WateverVolumeFloater>.NativeClassPtr);
			WateverVolumeFloater.NativeFieldInfoPtr_WaterVolumeHelper = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WateverVolumeFloater>.NativeClassPtr, "WaterVolumeHelper");
			WateverVolumeFloater.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WateverVolumeFloater>.NativeClassPtr, 100672769);
			WateverVolumeFloater.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WateverVolumeFloater>.NativeClassPtr, 100672770);
		}

		// Token: 0x06007CAE RID: 31918 RVA: 0x0000351C File Offset: 0x0000171C
		public WateverVolumeFloater(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002A78 RID: 10872
		// (get) Token: 0x06007CAF RID: 31919 RVA: 0x001FD098 File Offset: 0x001FB298
		// (set) Token: 0x06007CB0 RID: 31920 RVA: 0x001FD0CC File Offset: 0x001FB2CC
		public unsafe WaterVolumeHelper WaterVolumeHelper
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WateverVolumeFloater.NativeFieldInfoPtr_WaterVolumeHelper);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new WaterVolumeHelper(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(WateverVolumeFloater.NativeFieldInfoPtr_WaterVolumeHelper), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x040053B6 RID: 21430
		private static readonly IntPtr NativeFieldInfoPtr_WaterVolumeHelper;

		// Token: 0x040053B7 RID: 21431
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x040053B8 RID: 21432
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
