Created
December 2, 2018 01:17
-
-
Save sparr/1551bfee02662a190e0c2ae5c60f77ef to your computer and use it in GitHub Desktop.
get_TickRateMultiplier IL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Token: 0x06004343 RID: 17219 RVA: 0x001F8464 File Offset: 0x001F6864 | |
.method public hidebysig specialname | |
instance float32 get_TickRateMultiplier () cil managed | |
{ | |
// Header Size: 12 bytes | |
// Code Size: 172 (0xAC) bytes | |
// LocalVarSig Token: 0x1100113E RID: 4414 | |
.maxstack 1 | |
.locals init ( | |
[0] valuetype Verse.TimeSpeed | |
) | |
/* 0x001F6870 02 */ IL_0000: ldarg.0 | |
/* 0x001F6871 7B562E0004 */ IL_0001: ldfld class Verse.TimeSlower Verse.TickManager::slower | |
/* 0x001F6876 6F56430006 */ IL_0006: callvirt instance bool Verse.TimeSlower::get_ForcedNormalSpeed() | |
/* 0x001F687B 3917000000 */ IL_000B: brfalse IL_0027 | |
/* 0x001F6880 02 */ IL_0010: ldarg.0 | |
/* 0x001F6881 7B4F2E0004 */ IL_0011: ldfld valuetype Verse.TimeSpeed Verse.TickManager::curTimeSpeed | |
/* 0x001F6886 3A06000000 */ IL_0016: brtrue IL_0021 | |
/* 0x001F688B 2200000000 */ IL_001B: ldc.r4 0.0 | |
/* 0x001F6890 2A */ IL_0020: ret | |
/* 0x001F6891 220000803F */ IL_0021: ldc.r4 1 | |
/* 0x001F6896 2A */ IL_0026: ret | |
/* 0x001F6897 02 */ IL_0027: ldarg.0 | |
/* 0x001F6898 7B4F2E0004 */ IL_0028: ldfld valuetype Verse.TimeSpeed Verse.TickManager::curTimeSpeed | |
/* 0x001F689D 0A */ IL_002D: stloc.0 | |
/* 0x001F689E 06 */ IL_002E: ldloc.0 | |
/* 0x001F689F 4505000000050000000B000000110000001700000043000000 */ IL_002F: switch (IL_004D, IL_0053, IL_0059, IL_005F, IL_008B) | |
/* 0x001F68B8 3859000000 */ IL_0048: br IL_00A6 | |
/* 0x001F68BD 2200000000 */ IL_004D: ldc.r4 0.0 | |
/* 0x001F68C2 2A */ IL_0052: ret | |
/* 0x001F68C3 220000803F */ IL_0053: ldc.r4 1 | |
/* 0x001F68C8 2A */ IL_0058: ret | |
/* 0x001F68C9 2200004040 */ IL_0059: ldc.r4 3 | |
/* 0x001F68CE 2A */ IL_005E: ret | |
/* 0x001F68CF 288A5F0006 */ IL_005F: call class [mscorlib]System.Collections.Generic.List`1<class Verse.Map> Verse.Find::get_Maps() | |
/* 0x001F68D4 6F3B03000A */ IL_0064: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1<class Verse.Map>::get_Count() | |
/* 0x001F68D9 3A06000000 */ IL_0069: brtrue IL_0074 | |
/* 0x001F68DE 220000F042 */ IL_006E: ldc.r4 120 | |
/* 0x001F68E3 2A */ IL_0073: ret | |
/* 0x001F68E4 02 */ IL_0074: ldarg.0 | |
/* 0x001F68E5 284B430006 */ IL_0075: call instance bool Verse.TickManager::NothingHappeningInGame() | |
/* 0x001F68EA 3906000000 */ IL_007A: brfalse IL_0085 | |
/* 0x001F68EF 2200004041 */ IL_007F: ldc.r4 12 | |
/* 0x001F68F4 2A */ IL_0084: ret | |
/* 0x001F68F5 220000C040 */ IL_0085: ldc.r4 6 | |
/* 0x001F68FA 2A */ IL_008A: ret | |
/* 0x001F68FB 288A5F0006 */ IL_008B: call class [mscorlib]System.Collections.Generic.List`1<class Verse.Map> Verse.Find::get_Maps() | |
/* 0x001F6900 6F3B03000A */ IL_0090: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1<class Verse.Map>::get_Count() | |
/* 0x001F6905 3A06000000 */ IL_0095: brtrue IL_00A0 | |
/* 0x001F690A 2200001643 */ IL_009A: ldc.r4 150 | |
/* 0x001F690F 2A */ IL_009F: ret | |
/* 0x001F6910 2200007041 */ IL_00A0: ldc.r4 15 | |
/* 0x001F6915 2A */ IL_00A5: ret | |
/* 0x001F6916 22000080BF */ IL_00A6: ldc.r4 -1 | |
/* 0x001F691B 2A */ IL_00AB: ret | |
} // end of method TickManager::get_TickRateMultiplier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment