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

// Token: 0x0200025C RID: 604
[Serializable]
public class TimeData : Object
{
	// Token: 0x06005582 RID: 21890 RVA: 0x00155030 File Offset: 0x00153230
	[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: 0x06005583 RID: 21891 RVA: 0x00155084 File Offset: 0x00153284
	[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: 0x06005584 RID: 21892 RVA: 0x001550D8 File Offset: 0x001532D8
	[CallerCount(16)]
	[CachedScanResults(RefRangeStart = 579286, RefRangeEnd = 579302, XrefRangeStart = 579286, XrefRangeEnd = 579286, 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: 0x06005585 RID: 21893 RVA: 0x00155140 File Offset: 0x00153340
	[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: 0x06005586 RID: 21894 RVA: 0x00155190 File Offset: 0x00153390
	[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: 0x06005587 RID: 21895 RVA: 0x001551E0 File Offset: 0x001533E0
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 579303, RefRangeEnd = 579307, XrefRangeStart = 579302, XrefRangeEnd = 579303, 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: 0x06005588 RID: 21896 RVA: 0x0015522C File Offset: 0x0015342C
	// 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, 100669073);
		TimeData.NativeMethodInfoPtr_UpdateHitStopFactor_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100669074);
		TimeData.NativeMethodInfoPtr_Calculate_Public_Void_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100669075);
		TimeData.NativeMethodInfoPtr_GetTimeScale_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100669076);
		TimeData.NativeMethodInfoPtr_GetDeltaTime_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100669077);
		TimeData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TimeData>.NativeClassPtr, 100669078);
	}

	// Token: 0x06005589 RID: 21897 RVA: 0x0000A74C File Offset: 0x0000894C
	public TimeData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E58 RID: 7768
	// (get) Token: 0x0600558A RID: 21898 RVA: 0x00155324 File Offset: 0x00153524
	// (set) Token: 0x0600558B RID: 21899 RVA: 0x0015534C File Offset: 0x0015354C
	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: 0x17001E59 RID: 7769
	// (get) Token: 0x0600558C RID: 21900 RVA: 0x00155370 File Offset: 0x00153570
	// (set) Token: 0x0600558D RID: 21901 RVA: 0x00155398 File Offset: 0x00153598
	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: 0x17001E5A RID: 7770
	// (get) Token: 0x0600558E RID: 21902 RVA: 0x001553BC File Offset: 0x001535BC
	// (set) Token: 0x0600558F RID: 21903 RVA: 0x001553E4 File Offset: 0x001535E4
	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: 0x17001E5B RID: 7771
	// (get) Token: 0x06005590 RID: 21904 RVA: 0x00155408 File Offset: 0x00153608
	// (set) Token: 0x06005591 RID: 21905 RVA: 0x00155430 File Offset: 0x00153630
	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: 0x04003853 RID: 14419
	private static readonly IntPtr NativeFieldInfoPtr_timeScale;

	// Token: 0x04003854 RID: 14420
	private static readonly IntPtr NativeFieldInfoPtr_hitStopFactor;

	// Token: 0x04003855 RID: 14421
	private static readonly IntPtr NativeFieldInfoPtr_resultTimeScale;

	// Token: 0x04003856 RID: 14422
	private static readonly IntPtr NativeFieldInfoPtr_resultDeltaTime;

	// Token: 0x04003857 RID: 14423
	private static readonly IntPtr NativeMethodInfoPtr_UpdateTimeScale_Public_Void_Single_0;

	// Token: 0x04003858 RID: 14424
	private static readonly IntPtr NativeMethodInfoPtr_UpdateHitStopFactor_Public_Void_Single_0;

	// Token: 0x04003859 RID: 14425
	private static readonly IntPtr NativeMethodInfoPtr_Calculate_Public_Void_Single_Single_0;

	// Token: 0x0400385A RID: 14426
	private static readonly IntPtr NativeMethodInfoPtr_GetTimeScale_Public_Single_0;

	// Token: 0x0400385B RID: 14427
	private static readonly IntPtr NativeMethodInfoPtr_GetDeltaTime_Public_Single_0;

	// Token: 0x0400385C RID: 14428
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
