terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
FrameSkipTest.cs
Go to the documentation of this file.
1using System;
6
7namespace Terraria
8{
9 // Token: 0x0200042F RID: 1071
10 public class FrameSkipTest
11 {
12 // Token: 0x06002807 RID: 10247 RVA: 0x0018F480 File Offset: 0x0018D680
13 public static void Update(GameTime gameTime)
14 {
15 TimeSpan elapsedGameTime = gameTime.elapsedGameTime;
16 Thread.Sleep(0);
17 }
18
19 // Token: 0x06002808 RID: 10248 RVA: 0x0018F49C File Offset: 0x0018D69C
20 public static void CheckReset(GameTime gameTime)
21 {
22 int num = 1;
23 if (num == 0)
24 {
25 }
26 TimeSpan totalGameTime = gameTime.totalGameTime;
27 if (num == 0)
28 {
29 }
30 }
31
32 // Token: 0x06002809 RID: 10249 RVA: 0x0018F4C0 File Offset: 0x0018D6C0
33 public static void UpdateServerTest()
34 {
35 if (!true)
36 {
37 }
38 }
39
40 // Token: 0x0600280A RID: 10250 RVA: 0x0018F4D0 File Offset: 0x0018D6D0
42 {
43 }
44
45 // Token: 0x0600280B RID: 10251 RVA: 0x0018F4E4 File Offset: 0x0018D6E4
46 // Note: this type is marked as 'beforefieldinit'.
48 {
49 }
50
51 // Token: 0x040033FE RID: 13310
52 private static int LastRecordedSecondNumber;
53
54 // Token: 0x040033FF RID: 13311
55 private static float CallsThisSecond;
56
57 // Token: 0x04003400 RID: 13312
58 private static float DeltasThisSecond;
59
60 // Token: 0x04003401 RID: 13313
61 private static List<float> DeltaSamples;
62
63 // Token: 0x04003402 RID: 13314
64 private const int SamplesCount = 5;
65
66 // Token: 0x04003403 RID: 13315
68 }
69}
class f__AnonymousType0<< Count > j__TPar
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207
static void UpdateServerTest()
static MultiTimer serverFramerateTest
static void CheckReset(GameTime gameTime)
static float DeltasThisSecond
static int LastRecordedSecondNumber
static void Update(GameTime gameTime)
static float CallsThisSecond
static List< float > DeltaSamples