This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
using System;
namespace UnityEngine.Networking
{
// Token: 0x0200003C RID: 60
internal class FloatConversion
{
// Token: 0x0600015D RID: 349 RVA: 0x0000A954 File Offset: 0x00008B54
public static float ToSingle(uint value)
{
UIntFloat uintFloat = default(UIntFloat);
uintFloat.intValue = value;
return uintFloat.floatValue;
}
// Token: 0x0600015E RID: 350 RVA: 0x0000A980 File Offset: 0x00008B80
public static double ToDouble(ulong value)
{
UIntFloat uintFloat = default(UIntFloat);
uintFloat.longValue = value;
return uintFloat.doubleValue;
}
// Token: 0x0600015F RID: 351 RVA: 0x0000A9AC File Offset: 0x00008BAC
public static decimal ToDecimal(ulong value1, ulong value2)
{
UIntDecimal uintDecimal = default(UIntDecimal);
uintDecimal.longValue1 = value1;
uintDecimal.longValue2 = value2;
return uintDecimal.decimalValue;
}
}
}