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

// Token: 0x0200038B RID: 907
public class XWeaponTrailDemo : MonoBehaviour
{
	// Token: 0x06007320 RID: 29472 RVA: 0x001D528C File Offset: 0x001D348C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 587025, XrefRangeEnd = 587030, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(XWeaponTrailDemo.NativeMethodInfoPtr_Start_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007321 RID: 29473 RVA: 0x001D52D0 File Offset: 0x001D34D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 587030, XrefRangeEnd = 587085, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnGUI()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(XWeaponTrailDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007322 RID: 29474 RVA: 0x001D5314 File Offset: 0x001D3514
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe XWeaponTrailDemo()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(XWeaponTrailDemo.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007323 RID: 29475 RVA: 0x001D5360 File Offset: 0x001D3560
	// Note: this type is marked as 'beforefieldinit'.
	static XWeaponTrailDemo()
	{
		Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "XWeaponTrailDemo");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr);
		XWeaponTrailDemo.NativeFieldInfoPtr_SwordAnimation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, "SwordAnimation");
		XWeaponTrailDemo.NativeFieldInfoPtr_ProTrailDistort = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, "ProTrailDistort");
		XWeaponTrailDemo.NativeFieldInfoPtr_ProTrailShort = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, "ProTrailShort");
		XWeaponTrailDemo.NativeFieldInfoPtr_ProTraillong = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, "ProTraillong");
		XWeaponTrailDemo.NativeFieldInfoPtr_SimpleTrail = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, "SimpleTrail");
		XWeaponTrailDemo.NativeMethodInfoPtr_Start_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, 100671952);
		XWeaponTrailDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, 100671953);
		XWeaponTrailDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, 100671954);
	}

	// Token: 0x06007324 RID: 29476 RVA: 0x0000351C File Offset: 0x0000171C
	public XWeaponTrailDemo(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700276E RID: 10094
	// (get) Token: 0x06007325 RID: 29477 RVA: 0x001D5430 File Offset: 0x001D3630
	// (set) Token: 0x06007326 RID: 29478 RVA: 0x001D5464 File Offset: 0x001D3664
	public unsafe Animation SwordAnimation
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_SwordAnimation);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Animation(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_SwordAnimation), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700276F RID: 10095
	// (get) Token: 0x06007327 RID: 29479 RVA: 0x001D548C File Offset: 0x001D368C
	// (set) Token: 0x06007328 RID: 29480 RVA: 0x001D54C0 File Offset: 0x001D36C0
	public unsafe XWeaponTrail ProTrailDistort
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_ProTrailDistort);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new XWeaponTrail(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_ProTrailDistort), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002770 RID: 10096
	// (get) Token: 0x06007329 RID: 29481 RVA: 0x001D54E8 File Offset: 0x001D36E8
	// (set) Token: 0x0600732A RID: 29482 RVA: 0x001D551C File Offset: 0x001D371C
	public unsafe XWeaponTrail ProTrailShort
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_ProTrailShort);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new XWeaponTrail(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_ProTrailShort), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002771 RID: 10097
	// (get) Token: 0x0600732B RID: 29483 RVA: 0x001D5544 File Offset: 0x001D3744
	// (set) Token: 0x0600732C RID: 29484 RVA: 0x001D5578 File Offset: 0x001D3778
	public unsafe XWeaponTrail ProTraillong
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_ProTraillong);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new XWeaponTrail(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_ProTraillong), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002772 RID: 10098
	// (get) Token: 0x0600732D RID: 29485 RVA: 0x001D55A0 File Offset: 0x001D37A0
	// (set) Token: 0x0600732E RID: 29486 RVA: 0x001D55D4 File Offset: 0x001D37D4
	public unsafe XWeaponTrail SimpleTrail
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_SimpleTrail);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new XWeaponTrail(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(XWeaponTrailDemo.NativeFieldInfoPtr_SimpleTrail), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004D46 RID: 19782
	private static readonly IntPtr NativeFieldInfoPtr_SwordAnimation;

	// Token: 0x04004D47 RID: 19783
	private static readonly IntPtr NativeFieldInfoPtr_ProTrailDistort;

	// Token: 0x04004D48 RID: 19784
	private static readonly IntPtr NativeFieldInfoPtr_ProTrailShort;

	// Token: 0x04004D49 RID: 19785
	private static readonly IntPtr NativeFieldInfoPtr_ProTraillong;

	// Token: 0x04004D4A RID: 19786
	private static readonly IntPtr NativeFieldInfoPtr_SimpleTrail;

	// Token: 0x04004D4B RID: 19787
	private static readonly IntPtr NativeMethodInfoPtr_Start_Public_Void_0;

	// Token: 0x04004D4C RID: 19788
	private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

	// Token: 0x04004D4D RID: 19789
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
