using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;

// Token: 0x0200021B RID: 539
[Serializable]
public class TimeData : Object
{
	// Token: 0x06005011 RID: 20497 RVA: 0x0013E678 File Offset: 0x0013C878
	[CallerCount(0)]
	public unsafe void UpdateTimeScale(float value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TimeData.NativeMethodInfoPtr_UpdateTimeScale_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005012 RID: 20498 RVA: 0x0013E6CC File Offset: 0x0013C8CC
	[CallerCount(0)]
	public unsafe void UpdateHitStopFactor(float value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TimeData.NativeMethodInfoPtr_UpdateHitStopFactor_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005013 RID: 20499 RVA: 0x0013E720 File Offset: 0x0013C920
	[CallerCount(16)]
	[CachedScanResults(RefRangeStart = 551069, RefRangeEnd = 551085, XrefRangeStart = 551069, XrefRangeEnd = 551069, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Calculate(float gameDeltaTime, float systemTimeScale)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref gameDeltaTime;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref systemTimeScale;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TimeData.NativeMethodInfoPtr_Calculate_Public_Void_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005014 RID: 20500 RVA: 0x0013E788 File Offset: 0x0013C988
	[CallerCount(0)]
	public unsafe float GetTimeScale()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TimeData.NativeMethodInfoPtr_GetTimeScale_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06005015 RID: 20501 RVA: 0x0013E7D8 File Offset: 0x0013C9D8
	[CallerCount(0)]
	public unsafe float GetDeltaTime()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TimeData.NativeMethodInfoPtr_GetDeltaTime_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06005016 RID: 20502 RVA: 0x0013E828 File Offset: 0x0013CA28
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 551086, RefRangeEnd = 551090, XrefRangeStart = 551085, XrefRangeEnd = 551086, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe TimeData()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<TimeData>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TimeData.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005017 RID: 20503 RVA: 0x0013E874 File Offset: 0x0013CA74
	// Note: this type is marked as 'beforefieldinit'.
	static TimeData()
	{
		Il2CppClassPointerStore<TimeData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "TimeData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<TimeData>.NativeClassPtr);
		TimeData.NativeFieldInfoPtr_timeScale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TimeData>.NativeClassPtr, "timeScale");
		TimeData.NativeFieldInfoPtr_hitStopFactor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TimeData>.NativeClassPtr, "hitStopFactor");
		TimeData.NativeFieldInfoPtr_resultTimeScale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TimeData>.NativeClassPtr, "resultTimeScale");
		TimeData.NativeFieldInfoPtr_resultDeltaTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TimeData>.NativeClassPtr, "resultDeltaTime");
		TimeData.NativeMethodInfoPtr_UpdateTimeScale_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100668614);
		TimeData.NativeMethodInfoPtr_UpdateHitStopFactor_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100668615);
		TimeData.NativeMethodInfoPtr_Calculate_Public_Void_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100668616);
		TimeData.NativeMethodInfoPtr_GetTimeScale_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100668617);
		TimeData.NativeMethodInfoPtr_GetDeltaTime_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100668618);
		TimeData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100668619);
	}

	// Token: 0x06005018 RID: 20504 RVA: 0x0000A688 File Offset: 0x00008888
	public TimeData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CB7 RID: 7351
	// (get) Token: 0x06005019 RID: 20505 RVA: 0x0013E96C File Offset: 0x0013CB6C
	// (set) Token: 0x0600501A RID: 20506 RVA: 0x0013E994 File Offset: 0x0013CB94
	public unsafe float timeScale
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_timeScale);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_timeScale)) = value;
		}
	}

	// Token: 0x17001CB8 RID: 7352
	// (get) Token: 0x0600501B RID: 20507 RVA: 0x0013E9B8 File Offset: 0x0013CBB8
	// (set) Token: 0x0600501C RID: 20508 RVA: 0x0013E9E0 File Offset: 0x0013CBE0
	public unsafe float hitStopFactor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_hitStopFactor);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_hitStopFactor)) = value;
		}
	}

	// Token: 0x17001CB9 RID: 7353
	// (get) Token: 0x0600501D RID: 20509 RVA: 0x0013EA04 File Offset: 0x0013CC04
	// (set) Token: 0x0600501E RID: 20510 RVA: 0x0013EA2C File Offset: 0x0013CC2C
	public unsafe float resultTimeScale
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_resultTimeScale);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_resultTimeScale)) = value;
		}
	}

	// Token: 0x17001CBA RID: 7354
	// (get) Token: 0x0600501F RID: 20511 RVA: 0x0013EA50 File Offset: 0x0013CC50
	// (set) Token: 0x06005020 RID: 20512 RVA: 0x0013EA78 File Offset: 0x0013CC78
	public unsafe float resultDeltaTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_resultDeltaTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TimeData.NativeFieldInfoPtr_resultDeltaTime)) = value;
		}
	}

	// Token: 0x040034A9 RID: 13481
	private static readonly IntPtr NativeFieldInfoPtr_timeScale;

	// Token: 0x040034AA RID: 13482
	private static readonly IntPtr NativeFieldInfoPtr_hitStopFactor;

	// Token: 0x040034AB RID: 13483
	private static readonly IntPtr NativeFieldInfoPtr_resultTimeScale;

	// Token: 0x040034AC RID: 13484
	private static readonly IntPtr NativeFieldInfoPtr_resultDeltaTime;

	// Token: 0x040034AD RID: 13485
	private static readonly IntPtr NativeMethodInfoPtr_UpdateTimeScale_Public_Void_Single_0;

	// Token: 0x040034AE RID: 13486
	private static readonly IntPtr NativeMethodInfoPtr_UpdateHitStopFactor_Public_Void_Single_0;

	// Token: 0x040034AF RID: 13487
	private static readonly IntPtr NativeMethodInfoPtr_Calculate_Public_Void_Single_Single_0;

	// Token: 0x040034B0 RID: 13488
	private static readonly IntPtr NativeMethodInfoPtr_GetTimeScale_Public_Single_0;

	// Token: 0x040034B1 RID: 13489
	private static readonly IntPtr NativeMethodInfoPtr_GetDeltaTime_Public_Single_0;

	// Token: 0x040034B2 RID: 13490
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
