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

// Token: 0x0200031C RID: 796
[Serializable]
public class NobetaMeshController : Il2CppSystem.Object
{
	// Token: 0x06006C04 RID: 27652 RVA: 0x001B5898 File Offset: 0x001B3A98
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 581387, RefRangeEnd = 581390, XrefRangeStart = 581374, XrefRangeEnd = 581387, 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: 0x06006C05 RID: 27653 RVA: 0x001B58DC File Offset: 0x001B3ADC
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 581391, RefRangeEnd = 581393, XrefRangeStart = 581390, XrefRangeEnd = 581391, 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: 0x06006C06 RID: 27654 RVA: 0x001B5930 File Offset: 0x001B3B30
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 581398, RefRangeEnd = 581399, XrefRangeStart = 581393, XrefRangeEnd = 581398, 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: 0x06006C07 RID: 27655 RVA: 0x001B5984 File Offset: 0x001B3B84
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 581405, RefRangeEnd = 581406, XrefRangeStart = 581399, XrefRangeEnd = 581405, 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: 0x06006C08 RID: 27656 RVA: 0x001B59D8 File Offset: 0x001B3BD8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 581406, XrefRangeEnd = 581411, 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: 0x06006C09 RID: 27657 RVA: 0x001B5A2C File Offset: 0x001B3C2C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 581411, XrefRangeEnd = 581417, 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: 0x06006C0A RID: 27658 RVA: 0x001B5A70 File Offset: 0x001B3C70
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 581417, XrefRangeEnd = 581418, 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: 0x06006C0B RID: 27659 RVA: 0x001B5ABC File Offset: 0x001B3CBC
	// 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, 100671206);
		NobetaMeshController.NativeMethodInfoPtr_EnableAllParts_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671207);
		NobetaMeshController.NativeMethodInfoPtr_EnableHat_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671208);
		NobetaMeshController.NativeMethodInfoPtr_EnableStoryBag_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671209);
		NobetaMeshController.NativeMethodInfoPtr_EnableAccessories_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671210);
		NobetaMeshController.NativeMethodInfoPtr_SwapSystemEnabled_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671211);
		NobetaMeshController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaMeshController>.NativeClassPtr, 100671212);
	}

	// Token: 0x06006C0C RID: 27660 RVA: 0x0000A688 File Offset: 0x00008888
	public NobetaMeshController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700258C RID: 9612
	// (get) Token: 0x06006C0D RID: 27661 RVA: 0x001B5C40 File Offset: 0x001B3E40
	// (set) Token: 0x06006C0E RID: 27662 RVA: 0x001B5C68 File Offset: 0x001B3E68
	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: 0x1700258D RID: 9613
	// (get) Token: 0x06006C0F RID: 27663 RVA: 0x001B5C8C File Offset: 0x001B3E8C
	// (set) Token: 0x06006C10 RID: 27664 RVA: 0x001B5CB4 File Offset: 0x001B3EB4
	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: 0x1700258E RID: 9614
	// (get) Token: 0x06006C11 RID: 27665 RVA: 0x001B5CD8 File Offset: 0x001B3ED8
	// (set) Token: 0x06006C12 RID: 27666 RVA: 0x001B5D00 File Offset: 0x001B3F00
	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: 0x1700258F RID: 9615
	// (get) Token: 0x06006C13 RID: 27667 RVA: 0x001B5D24 File Offset: 0x001B3F24
	// (set) Token: 0x06006C14 RID: 27668 RVA: 0x001B5D4C File Offset: 0x001B3F4C
	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: 0x17002590 RID: 9616
	// (get) Token: 0x06006C15 RID: 27669 RVA: 0x001B5D70 File Offset: 0x001B3F70
	// (set) Token: 0x06006C16 RID: 27670 RVA: 0x001B5D98 File Offset: 0x001B3F98
	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: 0x17002591 RID: 9617
	// (get) Token: 0x06006C17 RID: 27671 RVA: 0x001B5DBC File Offset: 0x001B3FBC
	// (set) Token: 0x06006C18 RID: 27672 RVA: 0x001B5DF0 File Offset: 0x001B3FF0
	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: 0x17002592 RID: 9618
	// (get) Token: 0x06006C19 RID: 27673 RVA: 0x001B5E18 File Offset: 0x001B4018
	// (set) Token: 0x06006C1A RID: 27674 RVA: 0x001B5E4C File Offset: 0x001B404C
	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: 0x17002593 RID: 9619
	// (get) Token: 0x06006C1B RID: 27675 RVA: 0x001B5E74 File Offset: 0x001B4074
	// (set) Token: 0x06006C1C RID: 27676 RVA: 0x001B5EA8 File Offset: 0x001B40A8
	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: 0x17002594 RID: 9620
	// (get) Token: 0x06006C1D RID: 27677 RVA: 0x001B5ED0 File Offset: 0x001B40D0
	// (set) Token: 0x06006C1E RID: 27678 RVA: 0x001B5F04 File Offset: 0x001B4104
	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: 0x17002595 RID: 9621
	// (get) Token: 0x06006C1F RID: 27679 RVA: 0x001B5F2C File Offset: 0x001B412C
	// (set) Token: 0x06006C20 RID: 27680 RVA: 0x001B5F60 File Offset: 0x001B4160
	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: 0x040047B6 RID: 18358
	private static readonly IntPtr NativeFieldInfoPtr_systemEnable;

	// Token: 0x040047B7 RID: 18359
	private static readonly IntPtr NativeFieldInfoPtr_enableAllParts;

	// Token: 0x040047B8 RID: 18360
	private static readonly IntPtr NativeFieldInfoPtr_enableAccessories;

	// Token: 0x040047B9 RID: 18361
	private static readonly IntPtr NativeFieldInfoPtr_enableHat;

	// Token: 0x040047BA RID: 18362
	private static readonly IntPtr NativeFieldInfoPtr_enableStoryBag;

	// Token: 0x040047BB RID: 18363
	private static readonly IntPtr NativeFieldInfoPtr_body;

	// Token: 0x040047BC RID: 18364
	private static readonly IntPtr NativeFieldInfoPtr_bag;

	// Token: 0x040047BD RID: 18365
	private static readonly IntPtr NativeFieldInfoPtr_weapon;

	// Token: 0x040047BE RID: 18366
	private static readonly IntPtr NativeFieldInfoPtr_storyHat;

	// Token: 0x040047BF RID: 18367
	private static readonly IntPtr NativeFieldInfoPtr_storyBag;

	// Token: 0x040047C0 RID: 18368
	private static readonly IntPtr NativeMethodInfoPtr_UpdateAppearance_Public_Void_0;

	// Token: 0x040047C1 RID: 18369
	private static readonly IntPtr NativeMethodInfoPtr_EnableAllParts_Public_Void_Boolean_0;

	// Token: 0x040047C2 RID: 18370
	private static readonly IntPtr NativeMethodInfoPtr_EnableHat_Public_Void_Boolean_0;

	// Token: 0x040047C3 RID: 18371
	private static readonly IntPtr NativeMethodInfoPtr_EnableStoryBag_Public_Void_Boolean_0;

	// Token: 0x040047C4 RID: 18372
	private static readonly IntPtr NativeMethodInfoPtr_EnableAccessories_Public_Void_Boolean_0;

	// Token: 0x040047C5 RID: 18373
	private static readonly IntPtr NativeMethodInfoPtr_SwapSystemEnabled_Public_Void_0;

	// Token: 0x040047C6 RID: 18374
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
