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

// Token: 0x020003E3 RID: 995
public class XWeaponTrailDemo : MonoBehaviour
{
	// Token: 0x06007B73 RID: 31603 RVA: 0x001F7FC8 File Offset: 0x001F61C8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619326, XrefRangeEnd = 619331, 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: 0x06007B74 RID: 31604 RVA: 0x001F800C File Offset: 0x001F620C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619331, XrefRangeEnd = 619398, 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: 0x06007B75 RID: 31605 RVA: 0x001F8050 File Offset: 0x001F6250
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06007B76 RID: 31606 RVA: 0x001F809C File Offset: 0x001F629C
	// 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, 100672665);
		XWeaponTrailDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, 100672666);
		XWeaponTrailDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XWeaponTrailDemo>.NativeClassPtr, 100672667);
	}

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

	// Token: 0x17002A09 RID: 10761
	// (get) Token: 0x06007B78 RID: 31608 RVA: 0x001F816C File Offset: 0x001F636C
	// (set) Token: 0x06007B79 RID: 31609 RVA: 0x001F81A0 File Offset: 0x001F63A0
	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: 0x17002A0A RID: 10762
	// (get) Token: 0x06007B7A RID: 31610 RVA: 0x001F81C8 File Offset: 0x001F63C8
	// (set) Token: 0x06007B7B RID: 31611 RVA: 0x001F81FC File Offset: 0x001F63FC
	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: 0x17002A0B RID: 10763
	// (get) Token: 0x06007B7C RID: 31612 RVA: 0x001F8224 File Offset: 0x001F6424
	// (set) Token: 0x06007B7D RID: 31613 RVA: 0x001F8258 File Offset: 0x001F6458
	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: 0x17002A0C RID: 10764
	// (get) Token: 0x06007B7E RID: 31614 RVA: 0x001F8280 File Offset: 0x001F6480
	// (set) Token: 0x06007B7F RID: 31615 RVA: 0x001F82B4 File Offset: 0x001F64B4
	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: 0x17002A0D RID: 10765
	// (get) Token: 0x06007B80 RID: 31616 RVA: 0x001F82DC File Offset: 0x001F64DC
	// (set) Token: 0x06007B81 RID: 31617 RVA: 0x001F8310 File Offset: 0x001F6510
	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: 0x040052EF RID: 21231
	private static readonly IntPtr NativeFieldInfoPtr_SwordAnimation;

	// Token: 0x040052F0 RID: 21232
	private static readonly IntPtr NativeFieldInfoPtr_ProTrailDistort;

	// Token: 0x040052F1 RID: 21233
	private static readonly IntPtr NativeFieldInfoPtr_ProTrailShort;

	// Token: 0x040052F2 RID: 21234
	private static readonly IntPtr NativeFieldInfoPtr_ProTraillong;

	// Token: 0x040052F3 RID: 21235
	private static readonly IntPtr NativeFieldInfoPtr_SimpleTrail;

	// Token: 0x040052F4 RID: 21236
	private static readonly IntPtr NativeMethodInfoPtr_Start_Public_Void_0;

	// Token: 0x040052F5 RID: 21237
	private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

	// Token: 0x040052F6 RID: 21238
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
