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

// Token: 0x02000320 RID: 800
public class UIGameTipContentElement : MonoBehaviour
{
	// Token: 0x17002328 RID: 9000
	// (get) Token: 0x060065FE RID: 26110 RVA: 0x0019C6A0 File Offset: 0x0019A8A0
	public unsafe RectTransform Root
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_get_Root_Public_get_RectTransform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new RectTransform(intPtr3) : null;
		}
	}

	// Token: 0x060065FF RID: 26111 RVA: 0x0019C6F8 File Offset: 0x0019A8F8
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 599777, RefRangeEnd = 599778, XrefRangeStart = 599762, XrefRangeEnd = 599777, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006600 RID: 26112 RVA: 0x0019C73C File Offset: 0x0019A93C
	[CallerCount(0)]
	public unsafe void UpdateContent(string data, out float labelWidth)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(data);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = &labelWidth;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_UpdateContent_Public_Void_String_byref_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006601 RID: 26113 RVA: 0x0019C7AC File Offset: 0x0019A9AC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 599780, RefRangeEnd = 599781, XrefRangeStart = 599778, XrefRangeEnd = 599780, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateElementSize()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_UpdateElementSize_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006602 RID: 26114 RVA: 0x0019C7F0 File Offset: 0x0019A9F0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 599785, RefRangeEnd = 599786, XrefRangeStart = 599781, XrefRangeEnd = 599785, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateRect(bool isFirstElement)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref isFirstElement;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_UpdateRect_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006603 RID: 26115 RVA: 0x0019C844 File Offset: 0x0019AA44
	[CallerCount(18)]
	[CachedScanResults(RefRangeStart = 594692, RefRangeEnd = 594710, XrefRangeStart = 594692, XrefRangeEnd = 594710, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateAnchoredPosition(Vector2 position)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref position;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_UpdateAnchoredPosition_Public_Void_Vector2_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006604 RID: 26116 RVA: 0x0019C898 File Offset: 0x0019AA98
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 599786, XrefRangeEnd = 599788, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetLabelVisible(bool isVisible)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref isVisible;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_SetLabelVisible_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006605 RID: 26117 RVA: 0x0019C8EC File Offset: 0x0019AAEC
	[CallerCount(11)]
	[CachedScanResults(RefRangeStart = 594515, RefRangeEnd = 594526, XrefRangeStart = 594515, XrefRangeEnd = 594526, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetFont(GameFontPack fontPack)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(fontPack);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006606 RID: 26118 RVA: 0x0019C948 File Offset: 0x0019AB48
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 599788, XrefRangeEnd = 599791, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetParent(Transform parent)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(parent);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_SetParent_Public_Void_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006607 RID: 26119 RVA: 0x0019C9A4 File Offset: 0x0019ABA4
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 225930, RefRangeEnd = 225932, XrefRangeStart = 225930, XrefRangeEnd = 225932, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetElementWidth(float width)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref width;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr_SetElementWidth_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06006608 RID: 26120 RVA: 0x0019C9F8 File Offset: 0x0019ABF8
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UIGameTipContentElement()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIGameTipContentElement.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006609 RID: 26121 RVA: 0x0019CA44 File Offset: 0x0019AC44
	// Note: this type is marked as 'beforefieldinit'.
	static UIGameTipContentElement()
	{
		Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIGameTipContentElement");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr);
		UIGameTipContentElement.NativeFieldInfoPtr_root = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, "root");
		UIGameTipContentElement.NativeFieldInfoPtr_label = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, "label");
		UIGameTipContentElement.NativeFieldInfoPtr_elementWidth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, "elementWidth");
		UIGameTipContentElement.NativeFieldInfoPtr_DEFAULT_ELEMENT_HEIGHT = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, "DEFAULT_ELEMENT_HEIGHT");
		UIGameTipContentElement.NativeMethodInfoPtr_get_Root_Public_get_RectTransform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670670);
		UIGameTipContentElement.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670671);
		UIGameTipContentElement.NativeMethodInfoPtr_UpdateContent_Public_Void_String_byref_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670672);
		UIGameTipContentElement.NativeMethodInfoPtr_UpdateElementSize_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670673);
		UIGameTipContentElement.NativeMethodInfoPtr_UpdateRect_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670674);
		UIGameTipContentElement.NativeMethodInfoPtr_UpdateAnchoredPosition_Public_Void_Vector2_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670675);
		UIGameTipContentElement.NativeMethodInfoPtr_SetLabelVisible_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670676);
		UIGameTipContentElement.NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670677);
		UIGameTipContentElement.NativeMethodInfoPtr_SetParent_Public_Void_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670678);
		UIGameTipContentElement.NativeMethodInfoPtr_SetElementWidth_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670679);
		UIGameTipContentElement.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIGameTipContentElement>.NativeClassPtr, 100670680);
	}

	// Token: 0x0600660A RID: 26122 RVA: 0x0000351C File Offset: 0x0000171C
	public UIGameTipContentElement(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002324 RID: 8996
	// (get) Token: 0x0600660B RID: 26123 RVA: 0x0019CBA0 File Offset: 0x0019ADA0
	// (set) Token: 0x0600660C RID: 26124 RVA: 0x0019CBD4 File Offset: 0x0019ADD4
	public unsafe RectTransform root
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameTipContentElement.NativeFieldInfoPtr_root);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new RectTransform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameTipContentElement.NativeFieldInfoPtr_root), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002325 RID: 8997
	// (get) Token: 0x0600660D RID: 26125 RVA: 0x0019CBFC File Offset: 0x0019ADFC
	// (set) Token: 0x0600660E RID: 26126 RVA: 0x0019CC30 File Offset: 0x0019AE30
	public unsafe Text label
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameTipContentElement.NativeFieldInfoPtr_label);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Text(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameTipContentElement.NativeFieldInfoPtr_label), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002326 RID: 8998
	// (get) Token: 0x0600660F RID: 26127 RVA: 0x0019CC58 File Offset: 0x0019AE58
	// (set) Token: 0x06006610 RID: 26128 RVA: 0x0019CC80 File Offset: 0x0019AE80
	public unsafe float elementWidth
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameTipContentElement.NativeFieldInfoPtr_elementWidth);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIGameTipContentElement.NativeFieldInfoPtr_elementWidth)) = value;
		}
	}

	// Token: 0x17002327 RID: 8999
	// (get) Token: 0x06006611 RID: 26129 RVA: 0x0019CCA4 File Offset: 0x0019AEA4
	// (set) Token: 0x06006612 RID: 26130 RVA: 0x0019CCC2 File Offset: 0x0019AEC2
	public unsafe static float DEFAULT_ELEMENT_HEIGHT
	{
		get
		{
			float num;
			IL2CPP.il2cpp_field_static_get_value(UIGameTipContentElement.NativeFieldInfoPtr_DEFAULT_ELEMENT_HEIGHT, (void*)(&num));
			return num;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(UIGameTipContentElement.NativeFieldInfoPtr_DEFAULT_ELEMENT_HEIGHT, (void*)(&value));
		}
	}

	// Token: 0x040043BD RID: 17341
	private static readonly IntPtr NativeFieldInfoPtr_root;

	// Token: 0x040043BE RID: 17342
	private static readonly IntPtr NativeFieldInfoPtr_label;

	// Token: 0x040043BF RID: 17343
	private static readonly IntPtr NativeFieldInfoPtr_elementWidth;

	// Token: 0x040043C0 RID: 17344
	private static readonly IntPtr NativeFieldInfoPtr_DEFAULT_ELEMENT_HEIGHT;

	// Token: 0x040043C1 RID: 17345
	private static readonly IntPtr NativeMethodInfoPtr_get_Root_Public_get_RectTransform_0;

	// Token: 0x040043C2 RID: 17346
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x040043C3 RID: 17347
	private static readonly IntPtr NativeMethodInfoPtr_UpdateContent_Public_Void_String_byref_Single_0;

	// Token: 0x040043C4 RID: 17348
	private static readonly IntPtr NativeMethodInfoPtr_UpdateElementSize_Public_Void_0;

	// Token: 0x040043C5 RID: 17349
	private static readonly IntPtr NativeMethodInfoPtr_UpdateRect_Public_Void_Boolean_0;

	// Token: 0x040043C6 RID: 17350
	private static readonly IntPtr NativeMethodInfoPtr_UpdateAnchoredPosition_Public_Void_Vector2_0;

	// Token: 0x040043C7 RID: 17351
	private static readonly IntPtr NativeMethodInfoPtr_SetLabelVisible_Public_Void_Boolean_0;

	// Token: 0x040043C8 RID: 17352
	private static readonly IntPtr NativeMethodInfoPtr_SetFont_Public_Void_GameFontPack_0;

	// Token: 0x040043C9 RID: 17353
	private static readonly IntPtr NativeMethodInfoPtr_SetParent_Public_Void_Transform_0;

	// Token: 0x040043CA RID: 17354
	private static readonly IntPtr NativeMethodInfoPtr_SetElementWidth_Public_Void_Single_0;

	// Token: 0x040043CB RID: 17355
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
