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

namespace Bitgem.VFX.StylisedWater
{
	// Token: 0x02000399 RID: 921
	public class WateverVolumeFloater : MonoBehaviour
	{
		// Token: 0x06007458 RID: 29784 RVA: 0x001DA260 File Offset: 0x001D8460
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 588370, XrefRangeEnd = 588399, 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: 0x06007459 RID: 29785 RVA: 0x001DA2A4 File Offset: 0x001D84A4
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x0600745A RID: 29786 RVA: 0x001DA2F0 File Offset: 0x001D84F0
		// 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, 100672056);
			WateverVolumeFloater.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WateverVolumeFloater>.NativeClassPtr, 100672057);
		}

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

		// Token: 0x170027DD RID: 10205
		// (get) Token: 0x0600745C RID: 29788 RVA: 0x001DA35C File Offset: 0x001D855C
		// (set) Token: 0x0600745D RID: 29789 RVA: 0x001DA390 File Offset: 0x001D8590
		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: 0x04004E0D RID: 19981
		private static readonly IntPtr NativeFieldInfoPtr_WaterVolumeHelper;

		// Token: 0x04004E0E RID: 19982
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04004E0F RID: 19983
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
