using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
using UnityEngine;

// Token: 0x02000371 RID: 881
[Serializable]
public class NobetaMeshController : Il2CppSystem.Object
{
	// Token: 0x0600741F RID: 29727 RVA: 0x001D75D8 File Offset: 0x001D57D8
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 613206, RefRangeEnd = 613209, XrefRangeStart = 613193, XrefRangeEnd = 613206, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateAppearance()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaMeshController.NativeMethodInfoPtr_UpdateAppearance_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007420 RID: 29728 RVA: 0x001D761C File Offset: 0x001D581C
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 613210, RefRangeEnd = 613212, XrefRangeStart = 613209, XrefRangeEnd = 613210, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void EnableAllParts(bool enable)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref enable;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaMeshController.NativeMethodInfoPtr_EnableAllParts_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06007421 RID: 29729 RVA: 0x001D7670 File Offset: 0x001D5870
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 613217, RefRangeEnd = 613218, XrefRangeStart = 613212, XrefRangeEnd = 613217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void EnableHat(bool enable)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref enable;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaMeshController.NativeMethodInfoPtr_EnableHat_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06007422 RID: 29730 RVA: 0x001D76C4 File Offset: 0x001D58C4
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 613224, RefRangeEnd = 613225, XrefRangeStart = 613218, XrefRangeEnd = 613224, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void EnableStoryBag(bool enable)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref enable;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaMeshController.NativeMethodInfoPtr_EnableStoryBag_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06007423 RID: 29731 RVA: 0x001D7718 File Offset: 0x001D5918
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 613225, XrefRangeEnd = 613230, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void EnableAccessories(bool enable)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref enable;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaMeshController.NativeMethodInfoPtr_EnableAccessories_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06007424 RID: 29732 RVA: 0x001D776C File Offset: 0x001D596C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 613230, XrefRangeEnd = 613236, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SwapSystemEnabled()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaMeshController.NativeMethodInfoPtr_SwapSystemEnabled_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007425 RID: 29733 RVA: 0x001D77B0 File Offset: 0x001D59B0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 613236, XrefRangeEnd = 613237, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe NobetaMeshController()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaMeshController.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007426 RID: 29734 RVA: 0x001D77FC File Offset: 0x001D59FC
	// Note: this type is marked as 'beforefieldinit'.
	static NobetaMeshController()
	{
		Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "NobetaMeshController");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr);
		NobetaMeshController.NativeFieldInfoPtr_systemEnable = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "systemEnable");
		NobetaMeshController.NativeFieldInfoPtr_enableAllParts = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "enableAllParts");
		NobetaMeshController.NativeFieldInfoPtr_enableAccessories = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "enableAccessories");
		NobetaMeshController.NativeFieldInfoPtr_enableHat = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "enableHat");
		NobetaMeshController.NativeFieldInfoPtr_enableStoryBag = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "enableStoryBag");
		NobetaMeshController.NativeFieldInfoPtr_body = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "body");
		NobetaMeshController.NativeFieldInfoPtr_bag = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "bag");
		NobetaMeshController.NativeFieldInfoPtr_weapon = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "weapon");
		NobetaMeshController.NativeFieldInfoPtr_storyHat = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "storyHat");
		NobetaMeshController.NativeFieldInfoPtr_storyBag = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, "storyBag");
		NobetaMeshController.NativeMethodInfoPtr_UpdateAppearance_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671893);
		NobetaMeshController.NativeMethodInfoPtr_EnableAllParts_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671894);
		NobetaMeshController.NativeMethodInfoPtr_EnableHat_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671895);
		NobetaMeshController.NativeMethodInfoPtr_EnableStoryBag_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671896);
		NobetaMeshController.NativeMethodInfoPtr_EnableAccessories_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671897);
		NobetaMeshController.NativeMethodInfoPtr_SwapSystemEnabled_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671898);
		NobetaMeshController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671899);
	}

	// Token: 0x06007427 RID: 29735 RVA: 0x0000A74C File Offset: 0x0000894C
	public NobetaMeshController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002816 RID: 10262
	// (get) Token: 0x06007428 RID: 29736 RVA: 0x001D7980 File Offset: 0x001D5B80
	// (set) Token: 0x06007429 RID: 29737 RVA: 0x001D79A8 File Offset: 0x001D5BA8
	public unsafe bool systemEnable
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_systemEnable);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_systemEnable)) = value;
		}
	}

	// Token: 0x17002817 RID: 10263
	// (get) Token: 0x0600742A RID: 29738 RVA: 0x001D79CC File Offset: 0x001D5BCC
	// (set) Token: 0x0600742B RID: 29739 RVA: 0x001D79F4 File Offset: 0x001D5BF4
	public unsafe bool enableAllParts
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableAllParts);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableAllParts)) = value;
		}
	}

	// Token: 0x17002818 RID: 10264
	// (get) Token: 0x0600742C RID: 29740 RVA: 0x001D7A18 File Offset: 0x001D5C18
	// (set) Token: 0x0600742D RID: 29741 RVA: 0x001D7A40 File Offset: 0x001D5C40
	public unsafe bool enableAccessories
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableAccessories);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableAccessories)) = value;
		}
	}

	// Token: 0x17002819 RID: 10265
	// (get) Token: 0x0600742E RID: 29742 RVA: 0x001D7A64 File Offset: 0x001D5C64
	// (set) Token: 0x0600742F RID: 29743 RVA: 0x001D7A8C File Offset: 0x001D5C8C
	public unsafe bool enableHat
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableHat);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableHat)) = value;
		}
	}

	// Token: 0x1700281A RID: 10266
	// (get) Token: 0x06007430 RID: 29744 RVA: 0x001D7AB0 File Offset: 0x001D5CB0
	// (set) Token: 0x06007431 RID: 29745 RVA: 0x001D7AD8 File Offset: 0x001D5CD8
	public unsafe bool enableStoryBag
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableStoryBag);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_enableStoryBag)) = value;
		}
	}

	// Token: 0x1700281B RID: 10267
	// (get) Token: 0x06007432 RID: 29746 RVA: 0x001D7AFC File Offset: 0x001D5CFC
	// (set) Token: 0x06007433 RID: 29747 RVA: 0x001D7B30 File Offset: 0x001D5D30
	public unsafe Il2CppReferenceArray<SkinnedMeshRenderer> body
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_body);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<SkinnedMeshRenderer>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_body), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700281C RID: 10268
	// (get) Token: 0x06007434 RID: 29748 RVA: 0x001D7B58 File Offset: 0x001D5D58
	// (set) Token: 0x06007435 RID: 29749 RVA: 0x001D7B8C File Offset: 0x001D5D8C
	public unsafe SkinnedMeshRenderer bag
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_bag);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SkinnedMeshRenderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_bag), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700281D RID: 10269
	// (get) Token: 0x06007436 RID: 29750 RVA: 0x001D7BB4 File Offset: 0x001D5DB4
	// (set) Token: 0x06007437 RID: 29751 RVA: 0x001D7BE8 File Offset: 0x001D5DE8
	public unsafe MeshRenderer weapon
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_weapon);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new MeshRenderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_weapon), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700281E RID: 10270
	// (get) Token: 0x06007438 RID: 29752 RVA: 0x001D7C10 File Offset: 0x001D5E10
	// (set) Token: 0x06007439 RID: 29753 RVA: 0x001D7C44 File Offset: 0x001D5E44
	public unsafe SkinnedMeshRenderer storyHat
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_storyHat);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SkinnedMeshRenderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_storyHat), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700281F RID: 10271
	// (get) Token: 0x0600743A RID: 29754 RVA: 0x001D7C6C File Offset: 0x001D5E6C
	// (set) Token: 0x0600743B RID: 29755 RVA: 0x001D7CA0 File Offset: 0x001D5EA0
	public unsafe SkinnedMeshRenderer storyBag
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_storyBag);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SkinnedMeshRenderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaMeshController.NativeFieldInfoPtr_storyBag), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004D39 RID: 19769
	private static readonly IntPtr NativeFieldInfoPtr_systemEnable;

	// Token: 0x04004D3A RID: 19770
	private static readonly IntPtr NativeFieldInfoPtr_enableAllParts;

	// Token: 0x04004D3B RID: 19771
	private static readonly IntPtr NativeFieldInfoPtr_enableAccessories;

	// Token: 0x04004D3C RID: 19772
	private static readonly IntPtr NativeFieldInfoPtr_enableHat;

	// Token: 0x04004D3D RID: 19773
	private static readonly IntPtr NativeFieldInfoPtr_enableStoryBag;

	// Token: 0x04004D3E RID: 19774
	private static readonly IntPtr NativeFieldInfoPtr_body;

	// Token: 0x04004D3F RID: 19775
	private static readonly IntPtr NativeFieldInfoPtr_bag;

	// Token: 0x04004D40 RID: 19776
	private static readonly IntPtr NativeFieldInfoPtr_weapon;

	// Token: 0x04004D41 RID: 19777
	private static readonly IntPtr NativeFieldInfoPtr_storyHat;

	// Token: 0x04004D42 RID: 19778
	private static readonly IntPtr NativeFieldInfoPtr_storyBag;

	// Token: 0x04004D43 RID: 19779
	private static readonly IntPtr NativeMethodInfoPtr_UpdateAppearance_Public_Void_0;

	// Token: 0x04004D44 RID: 19780
	private static readonly IntPtr NativeMethodInfoPtr_EnableAllParts_Public_Void_Boolean_0;

	// Token: 0x04004D45 RID: 19781
	private static readonly IntPtr NativeMethodInfoPtr_EnableHat_Public_Void_Boolean_0;

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

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

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

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