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

// Token: 0x02000343 RID: 835
public class CFX_Demo_Translate : MonoBehaviour
{
	// Token: 0x06006FDE RID: 28638 RVA: 0x001C62FC File Offset: 0x001C44FC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584582, XrefRangeEnd = 584587, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_Demo_Translate.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006FDF RID: 28639 RVA: 0x001C6340 File Offset: 0x001C4540
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584587, XrefRangeEnd = 584590, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_Demo_Translate.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006FE0 RID: 28640 RVA: 0x001C6384 File Offset: 0x001C4584
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584590, XrefRangeEnd = 584593, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CFX_Demo_Translate()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_Demo_Translate.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006FE1 RID: 28641 RVA: 0x001C63D0 File Offset: 0x001C45D0
	// Note: this type is marked as 'beforefieldinit'.
	static CFX_Demo_Translate()
	{
		Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CFX_Demo_Translate");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr);
		CFX_Demo_Translate.NativeFieldInfoPtr_speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, "speed");
		CFX_Demo_Translate.NativeFieldInfoPtr_rotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, "rotation");
		CFX_Demo_Translate.NativeFieldInfoPtr_axis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, "axis");
		CFX_Demo_Translate.NativeFieldInfoPtr_gravity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, "gravity");
		CFX_Demo_Translate.NativeFieldInfoPtr_dir = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, "dir");
		CFX_Demo_Translate.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, 100671619);
		CFX_Demo_Translate.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, 100671620);
		CFX_Demo_Translate.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_Demo_Translate>.NativeClassPtr, 100671621);
	}

	// Token: 0x06006FE2 RID: 28642 RVA: 0x0000351C File Offset: 0x0000171C
	public CFX_Demo_Translate(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170026A1 RID: 9889
	// (get) Token: 0x06006FE3 RID: 28643 RVA: 0x001C64A0 File Offset: 0x001C46A0
	// (set) Token: 0x06006FE4 RID: 28644 RVA: 0x001C64C8 File Offset: 0x001C46C8
	public unsafe float speed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_speed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_speed)) = value;
		}
	}

	// Token: 0x170026A2 RID: 9890
	// (get) Token: 0x06006FE5 RID: 28645 RVA: 0x001C64EC File Offset: 0x001C46EC
	// (set) Token: 0x06006FE6 RID: 28646 RVA: 0x001C6514 File Offset: 0x001C4714
	public unsafe Vector3 rotation
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_rotation);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_rotation)) = value;
		}
	}

	// Token: 0x170026A3 RID: 9891
	// (get) Token: 0x06006FE7 RID: 28647 RVA: 0x001C6538 File Offset: 0x001C4738
	// (set) Token: 0x06006FE8 RID: 28648 RVA: 0x001C6560 File Offset: 0x001C4760
	public unsafe Vector3 axis
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_axis);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_axis)) = value;
		}
	}

	// Token: 0x170026A4 RID: 9892
	// (get) Token: 0x06006FE9 RID: 28649 RVA: 0x001C6584 File Offset: 0x001C4784
	// (set) Token: 0x06006FEA RID: 28650 RVA: 0x001C65AC File Offset: 0x001C47AC
	public unsafe bool gravity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_gravity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_gravity)) = value;
		}
	}

	// Token: 0x170026A5 RID: 9893
	// (get) Token: 0x06006FEB RID: 28651 RVA: 0x001C65D0 File Offset: 0x001C47D0
	// (set) Token: 0x06006FEC RID: 28652 RVA: 0x001C65F8 File Offset: 0x001C47F8
	public unsafe Vector3 dir
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_dir);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_Translate.NativeFieldInfoPtr_dir)) = value;
		}
	}

	// Token: 0x04004A49 RID: 19017
	private static readonly IntPtr NativeFieldInfoPtr_speed;

	// Token: 0x04004A4A RID: 19018
	private static readonly IntPtr NativeFieldInfoPtr_rotation;

	// Token: 0x04004A4B RID: 19019
	private static readonly IntPtr NativeFieldInfoPtr_axis;

	// Token: 0x04004A4C RID: 19020
	private static readonly IntPtr NativeFieldInfoPtr_gravity;

	// Token: 0x04004A4D RID: 19021
	private static readonly IntPtr NativeFieldInfoPtr_dir;

	// Token: 0x04004A4E RID: 19022
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004A4F RID: 19023
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004A50 RID: 19024
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
