Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Token: 0x060000A4 RID: 164 RVA: 0x000069A0 File Offset: 0x00004BA0
- .method public hidebysig
- instance void ShowModSettingsMenu (
- class [UnityEngine]UnityEngine.GameObject o
- ) cil managed
- {
- // Header Size: 12 bytes
- // Code Size: 939 (0x3AB) bytes
- // LocalVarSig Token: 0x1100002F RID: 47
- .maxstack 5
- .locals init (
- [0] valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>,
- [1] class DustDevilFramework.ScadMod,
- [2] class [mscorlib]System.Reflection.FieldInfo[],
- [3] int32,
- [4] class [mscorlib]System.Reflection.FieldInfo,
- [5] bool,
- [6] object[],
- [7] bool,
- [8] object[],
- [9] int32,
- [10] object,
- [11] bool,
- [12] bool,
- [13] class DustDevilFramework.ModSettings/SettingsRange,
- [14] bool,
- [15] bool,
- [16] string,
- [17] bool
- )
- /* 0x00004BAC 00 */ IL_0000: nop
- /* 0x00004BAD 72872D0070 */ IL_0001: ldstr "Attempting to show mod settings menu!"
- /* 0x00004BB2 28B200000A */ IL_0006: call void [UnityEngine]UnityEngine.Debug::Log(object)
- /* 0x00004BB7 00 */ IL_000B: nop
- /* 0x00004BB8 00 */ IL_000C: nop
- /* 0x00004BB9 7E06000004 */ IL_000D: ldsfld class [mscorlib]System.Collections.Generic.List`1<class DustDevilFramework.ScadMod> DustDevilFramework.DustDevil::ModList
- /* 0x00004BBE 6FBE00000A */ IL_0012: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<!0> class [mscorlib]System.Collections.Generic.List`1<class DustDevilFramework.ScadMod>::GetEnumerator()
- /* 0x00004BC3 0A */ IL_0017: stloc.0
- .try
- {
- /* 0x00004BC4 3870030000 */ IL_0018: br IL_038D
- // loop start (head: IL_038D)
- /* 0x00004BC9 1200 */ IL_001D: ldloca.s V_0
- /* 0x00004BCB 28BF00000A */ IL_001F: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>::get_Current()
- /* 0x00004BD0 0B */ IL_0024: stloc.1
- /* 0x00004BD1 00 */ IL_0025: nop
- /* 0x00004BD2 1D */ IL_0026: ldc.i4.7
- /* 0x00004BD3 8D39000001 */ IL_0027: newarr [mscorlib]System.Object
- /* 0x00004BD8 25 */ IL_002C: dup
- /* 0x00004BD9 16 */ IL_002D: ldc.i4.0
- /* 0x00004BDA 72D32D0070 */ IL_002E: ldstr "Mod: "
- /* 0x00004BDF A2 */ IL_0033: stelem.ref
- /* 0x00004BE0 25 */ IL_0034: dup
- /* 0x00004BE1 17 */ IL_0035: ldc.i4.1
- /* 0x00004BE2 07 */ IL_0036: ldloc.1
- /* 0x00004BE3 7B0C000004 */ IL_0037: ldfld string DustDevilFramework.ScadMod::name
- /* 0x00004BE8 A2 */ IL_003C: stelem.ref
- /* 0x00004BE9 25 */ IL_003D: dup
- /* 0x00004BEA 18 */ IL_003E: ldc.i4.2
- /* 0x00004BEB 72DF2D0070 */ IL_003F: ldstr " has settingsType: "
- /* 0x00004BF0 A2 */ IL_0044: stelem.ref
- /* 0x00004BF1 25 */ IL_0045: dup
- /* 0x00004BF2 19 */ IL_0046: ldc.i4.3
- /* 0x00004BF3 07 */ IL_0047: ldloc.1
- /* 0x00004BF4 7B0F000004 */ IL_0048: ldfld class [mscorlib]System.Type DustDevilFramework.ScadMod::settingsType
- /* 0x00004BF9 6FFB00000A */ IL_004D: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004BFE A2 */ IL_0052: stelem.ref
- /* 0x00004BFF 25 */ IL_0053: dup
- /* 0x00004C00 1A */ IL_0054: ldc.i4.4
- /* 0x00004C01 72072E0070 */ IL_0055: ldstr " with: "
- /* 0x00004C06 A2 */ IL_005A: stelem.ref
- /* 0x00004C07 25 */ IL_005B: dup
- /* 0x00004C08 1B */ IL_005C: ldc.i4.5
- /* 0x00004C09 07 */ IL_005D: ldloc.1
- /* 0x00004C0A 7B0F000004 */ IL_005E: ldfld class [mscorlib]System.Type DustDevilFramework.ScadMod::settingsType
- /* 0x00004C0F 1F34 */ IL_0063: ldc.i4.s 52
- /* 0x00004C11 6F5E01000A */ IL_0065: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags)
- /* 0x00004C16 8E */ IL_006A: ldlen
- /* 0x00004C17 69 */ IL_006B: conv.i4
- /* 0x00004C18 8C79000001 */ IL_006C: box [mscorlib]System.Int32
- /* 0x00004C1D A2 */ IL_0071: stelem.ref
- /* 0x00004C1E 25 */ IL_0072: dup
- /* 0x00004C1F 1C */ IL_0073: ldc.i4.6
- /* 0x00004C20 72172E0070 */ IL_0074: ldstr " fields."
- /* 0x00004C25 A2 */ IL_0079: stelem.ref
- /* 0x00004C26 284B00000A */ IL_007A: call string [mscorlib]System.String::Concat(object[])
- /* 0x00004C2B 28B200000A */ IL_007F: call void [UnityEngine]UnityEngine.Debug::Log(object)
- /* 0x00004C30 00 */ IL_0084: nop
- /* 0x00004C31 00 */ IL_0085: nop
- /* 0x00004C32 07 */ IL_0086: ldloc.1
- /* 0x00004C33 7B0F000004 */ IL_0087: ldfld class [mscorlib]System.Type DustDevilFramework.ScadMod::settingsType
- /* 0x00004C38 1F34 */ IL_008C: ldc.i4.s 52
- /* 0x00004C3A 6F5E01000A */ IL_008E: callvirt instance class [mscorlib]System.Reflection.FieldInfo[] [mscorlib]System.Type::GetFields(valuetype [mscorlib]System.Reflection.BindingFlags)
- /* 0x00004C3F 0C */ IL_0093: stloc.2
- /* 0x00004C40 16 */ IL_0094: ldc.i4.0
- /* 0x00004C41 0D */ IL_0095: stloc.3
- /* 0x00004C42 38DD020000 */ IL_0096: br IL_0378
- // loop start (head: IL_0378)
- /* 0x00004C47 08 */ IL_009B: ldloc.2
- /* 0x00004C48 09 */ IL_009C: ldloc.3
- /* 0x00004C49 9A */ IL_009D: ldelem.ref
- /* 0x00004C4A 1304 */ IL_009E: stloc.s V_4
- /* 0x00004C4C 00 */ IL_00A0: nop
- /* 0x00004C4D 17 */ IL_00A1: ldc.i4.1
- /* 0x00004C4E 1305 */ IL_00A2: stloc.s V_5
- /* 0x00004C50 1104 */ IL_00A4: ldloc.s V_4
- /* 0x00004C52 6F5F01000A */ IL_00A6: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004C57 D076000001 */ IL_00AB: ldtoken [mscorlib]System.Single
- /* 0x00004C5C 28D500000A */ IL_00B0: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004C61 6F6001000A */ IL_00B5: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004C66 2D18 */ IL_00BA: brtrue.s IL_00D4
- /* 0x00004C68 1104 */ IL_00BC: ldloc.s V_4
- /* 0x00004C6A 6F5F01000A */ IL_00BE: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004C6F D079000001 */ IL_00C3: ldtoken [mscorlib]System.Int32
- /* 0x00004C74 28D500000A */ IL_00C8: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004C79 6F6001000A */ IL_00CD: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004C7E 2B01 */ IL_00D2: br.s IL_00D5
- /* 0x00004C80 17 */ IL_00D4: ldc.i4.1
- /* 0x00004C81 1307 */ IL_00D5: stloc.s V_7
- /* 0x00004C83 1107 */ IL_00D7: ldloc.s V_7
- /* 0x00004C85 2C05 */ IL_00D9: brfalse.s IL_00E0
- /* 0x00004C87 00 */ IL_00DB: nop
- /* 0x00004C88 16 */ IL_00DC: ldc.i4.0
- /* 0x00004C89 1305 */ IL_00DD: stloc.s V_5
- /* 0x00004C8B 00 */ IL_00DF: nop
- /* 0x00004C8C 1104 */ IL_00E0: ldloc.s V_4
- /* 0x00004C8E 17 */ IL_00E2: ldc.i4.1
- /* 0x00004C8F 6F6101000A */ IL_00E3: callvirt instance object[] [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(bool)
- /* 0x00004C94 1306 */ IL_00E8: stloc.s V_6
- /* 0x00004C96 72292E0070 */ IL_00EA: ldstr "Attribute count: "
- /* 0x00004C9B 1106 */ IL_00EF: ldloc.s V_6
- /* 0x00004C9D 8E */ IL_00F1: ldlen
- /* 0x00004C9E 69 */ IL_00F2: conv.i4
- /* 0x00004C9F 8C79000001 */ IL_00F3: box [mscorlib]System.Int32
- /* 0x00004CA4 284500000A */ IL_00F8: call string [mscorlib]System.String::Concat(object, object)
- /* 0x00004CA9 28B200000A */ IL_00FD: call void [UnityEngine]UnityEngine.Debug::Log(object)
- /* 0x00004CAE 00 */ IL_0102: nop
- /* 0x00004CAF 00 */ IL_0103: nop
- /* 0x00004CB0 1106 */ IL_0104: ldloc.s V_6
- /* 0x00004CB2 1308 */ IL_0106: stloc.s V_8
- /* 0x00004CB4 16 */ IL_0108: ldc.i4.0
- /* 0x00004CB5 1309 */ IL_0109: stloc.s V_9
- /* 0x00004CB7 385D010000 */ IL_010B: br IL_026D
- // loop start (head: IL_026D)
- /* 0x00004CBC 1108 */ IL_0110: ldloc.s V_8
- /* 0x00004CBE 1109 */ IL_0112: ldloc.s V_9
- /* 0x00004CC0 9A */ IL_0114: ldelem.ref
- /* 0x00004CC1 130A */ IL_0115: stloc.s V_10
- /* 0x00004CC3 00 */ IL_0117: nop
- /* 0x00004CC4 110A */ IL_0118: ldloc.s V_10
- /* 0x00004CC6 6FF800000A */ IL_011A: callvirt instance class [mscorlib]System.Type [mscorlib]System.Object::GetType()
- /* 0x00004CCB D010000002 */ IL_011F: ldtoken DustDevilFramework.ModSettings/SettingsIgnore
- /* 0x00004CD0 28D500000A */ IL_0124: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004CD5 6F6001000A */ IL_0129: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004CDA 130B */ IL_012E: stloc.s V_11
- /* 0x00004CDC 110B */ IL_0130: ldloc.s V_11
- /* 0x00004CDE 2C3E */ IL_0132: brfalse.s IL_0172
- /* 0x00004CE0 00 */ IL_0134: nop
- /* 0x00004CE1 16 */ IL_0135: ldc.i4.0
- /* 0x00004CE2 1305 */ IL_0136: stloc.s V_5
- /* 0x00004CE4 1A */ IL_0138: ldc.i4.4
- /* 0x00004CE5 8D39000001 */ IL_0139: newarr [mscorlib]System.Object
- /* 0x00004CEA 25 */ IL_013E: dup
- /* 0x00004CEB 16 */ IL_013F: ldc.i4.0
- /* 0x00004CEC 724D2E0070 */ IL_0140: ldstr "Ignoring setting with name: "
- /* 0x00004CF1 A2 */ IL_0145: stelem.ref
- /* 0x00004CF2 25 */ IL_0146: dup
- /* 0x00004CF3 17 */ IL_0147: ldc.i4.1
- /* 0x00004CF4 1104 */ IL_0148: ldloc.s V_4
- /* 0x00004CF6 6FFB00000A */ IL_014A: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004CFB A2 */ IL_014F: stelem.ref
- /* 0x00004CFC 25 */ IL_0150: dup
- /* 0x00004CFD 18 */ IL_0151: ldc.i4.2
- /* 0x00004CFE 72872E0070 */ IL_0152: ldstr " and type: "
- /* 0x00004D03 A2 */ IL_0157: stelem.ref
- /* 0x00004D04 25 */ IL_0158: dup
- /* 0x00004D05 19 */ IL_0159: ldc.i4.3
- /* 0x00004D06 1104 */ IL_015A: ldloc.s V_4
- /* 0x00004D08 6F5F01000A */ IL_015C: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004D0D A2 */ IL_0161: stelem.ref
- /* 0x00004D0E 284B00000A */ IL_0162: call string [mscorlib]System.String::Concat(object[])
- /* 0x00004D13 28B200000A */ IL_0167: call void [UnityEngine]UnityEngine.Debug::Log(object)
- /* 0x00004D18 00 */ IL_016C: nop
- /* 0x00004D19 3806010000 */ IL_016D: br IL_0278
- /* 0x00004D1E 110A */ IL_0172: ldloc.s V_10
- /* 0x00004D20 6FF800000A */ IL_0174: callvirt instance class [mscorlib]System.Type [mscorlib]System.Object::GetType()
- /* 0x00004D25 D00F000002 */ IL_0179: ldtoken DustDevilFramework.ModSettings/SettingsRange
- /* 0x00004D2A 28D500000A */ IL_017E: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004D2F 6F6001000A */ IL_0183: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004D34 2C33 */ IL_0188: brfalse.s IL_01BD
- /* 0x00004D36 1104 */ IL_018A: ldloc.s V_4
- /* 0x00004D38 6F5F01000A */ IL_018C: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004D3D D076000001 */ IL_0191: ldtoken [mscorlib]System.Single
- /* 0x00004D42 28D500000A */ IL_0196: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004D47 6F6001000A */ IL_019B: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004D4C 2D18 */ IL_01A0: brtrue.s IL_01BA
- /* 0x00004D4E 1104 */ IL_01A2: ldloc.s V_4
- /* 0x00004D50 6F5F01000A */ IL_01A4: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004D55 D079000001 */ IL_01A9: ldtoken [mscorlib]System.Int32
- /* 0x00004D5A 28D500000A */ IL_01AE: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004D5F 6F6001000A */ IL_01B3: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004D64 2B01 */ IL_01B8: br.s IL_01BB
- /* 0x00004D66 17 */ IL_01BA: ldc.i4.1
- /* 0x00004D67 2B01 */ IL_01BB: br.s IL_01BE
- /* 0x00004D69 16 */ IL_01BD: ldc.i4.0
- /* 0x00004D6A 130C */ IL_01BE: stloc.s V_12
- /* 0x00004D6C 110C */ IL_01C0: ldloc.s V_12
- /* 0x00004D6E 399F000000 */ IL_01C2: brfalse IL_0266
- /* 0x00004D73 00 */ IL_01C7: nop
- /* 0x00004D74 110A */ IL_01C8: ldloc.s V_10
- /* 0x00004D76 750F000002 */ IL_01CA: isinst DustDevilFramework.ModSettings/SettingsRange
- /* 0x00004D7B 130D */ IL_01CF: stloc.s V_13
- /* 0x00004D7D 17 */ IL_01D1: ldc.i4.1
- /* 0x00004D7E 1305 */ IL_01D2: stloc.s V_5
- /* 0x00004D80 1E */ IL_01D4: ldc.i4.8
- /* 0x00004D81 8D39000001 */ IL_01D5: newarr [mscorlib]System.Object
- /* 0x00004D86 25 */ IL_01DA: dup
- /* 0x00004D87 16 */ IL_01DB: ldc.i4.0
- /* 0x00004D88 729F2E0070 */ IL_01DC: ldstr "Showing float/int with name: "
- /* 0x00004D8D A2 */ IL_01E1: stelem.ref
- /* 0x00004D8E 25 */ IL_01E2: dup
- /* 0x00004D8F 17 */ IL_01E3: ldc.i4.1
- /* 0x00004D90 1104 */ IL_01E4: ldloc.s V_4
- /* 0x00004D92 6FFB00000A */ IL_01E6: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004D97 A2 */ IL_01EB: stelem.ref
- /* 0x00004D98 25 */ IL_01EC: dup
- /* 0x00004D99 18 */ IL_01ED: ldc.i4.2
- /* 0x00004D9A 72872E0070 */ IL_01EE: ldstr " and type: "
- /* 0x00004D9F A2 */ IL_01F3: stelem.ref
- /* 0x00004DA0 25 */ IL_01F4: dup
- /* 0x00004DA1 19 */ IL_01F5: ldc.i4.3
- /* 0x00004DA2 1104 */ IL_01F6: ldloc.s V_4
- /* 0x00004DA4 6F5F01000A */ IL_01F8: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004DA9 A2 */ IL_01FD: stelem.ref
- /* 0x00004DAA 25 */ IL_01FE: dup
- /* 0x00004DAB 1A */ IL_01FF: ldc.i4.4
- /* 0x00004DAC 72DB2E0070 */ IL_0200: ldstr " because it has a SettingsRange of: "
- /* 0x00004DB1 A2 */ IL_0205: stelem.ref
- /* 0x00004DB2 25 */ IL_0206: dup
- /* 0x00004DB3 1B */ IL_0207: ldc.i4.5
- /* 0x00004DB4 110D */ IL_0208: ldloc.s V_13
- /* 0x00004DB6 6FAD000006 */ IL_020A: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_Low()
- /* 0x00004DBB 8C76000001 */ IL_020F: box [mscorlib]System.Single
- /* 0x00004DC0 A2 */ IL_0214: stelem.ref
- /* 0x00004DC1 25 */ IL_0215: dup
- /* 0x00004DC2 1C */ IL_0216: ldc.i4.6
- /* 0x00004DC3 72252F0070 */ IL_0217: ldstr " to "
- /* 0x00004DC8 A2 */ IL_021C: stelem.ref
- /* 0x00004DC9 25 */ IL_021D: dup
- /* 0x00004DCA 1D */ IL_021E: ldc.i4.7
- /* 0x00004DCB 110D */ IL_021F: ldloc.s V_13
- /* 0x00004DCD 6FAF000006 */ IL_0221: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_High()
- /* 0x00004DD2 8C76000001 */ IL_0226: box [mscorlib]System.Single
- /* 0x00004DD7 A2 */ IL_022B: stelem.ref
- /* 0x00004DD8 284B00000A */ IL_022C: call string [mscorlib]System.String::Concat(object[])
- /* 0x00004DDD 28B200000A */ IL_0231: call void [UnityEngine]UnityEngine.Debug::Log(object)
- /* 0x00004DE2 00 */ IL_0236: nop
- /* 0x00004DE3 02 */ IL_0237: ldarg.0
- /* 0x00004DE4 110D */ IL_0238: ldloc.s V_13
- /* 0x00004DE6 6FAD000006 */ IL_023A: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_Low()
- /* 0x00004DEB 110D */ IL_023F: ldloc.s V_13
- /* 0x00004DED 6FAF000006 */ IL_0241: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_High()
- /* 0x00004DF2 1104 */ IL_0246: ldloc.s V_4
- /* 0x00004DF4 07 */ IL_0248: ldloc.1
- /* 0x00004DF5 7B0E000004 */ IL_0249: ldfld class DustDevilFramework.ModSettings DustDevilFramework.ScadMod::settings
- /* 0x00004DFA 6FFC00000A */ IL_024E: callvirt instance object [mscorlib]System.Reflection.FieldInfo::GetValue(object)
- /* 0x00004DFF A576000001 */ IL_0253: unbox.any [mscorlib]System.Single
- /* 0x00004E04 110D */ IL_0258: ldloc.s V_13
- /* 0x00004E06 6FB1000006 */ IL_025A: callvirt instance float32 DustDevilFramework.ModSettings/SettingsRange::get_Increment()
- /* 0x00004E0B 28A3000006 */ IL_025F: call instance void DustDevilFramework.DustDevil/ClickHandler::CreateSlider(float32, float32, float32, float32)
- /* 0x00004E10 00 */ IL_0264: nop
- /* 0x00004E11 00 */ IL_0265: nop
- /* 0x00004E12 00 */ IL_0266: nop
- /* 0x00004E13 1109 */ IL_0267: ldloc.s V_9
- /* 0x00004E15 17 */ IL_0269: ldc.i4.1
- /* 0x00004E16 58 */ IL_026A: add
- /* 0x00004E17 1309 */ IL_026B: stloc.s V_9
- /* 0x00004E19 1109 */ IL_026D: ldloc.s V_9
- /* 0x00004E1B 1108 */ IL_026F: ldloc.s V_8
- /* 0x00004E1D 8E */ IL_0271: ldlen
- /* 0x00004E1E 69 */ IL_0272: conv.i4
- /* 0x00004E1F 3F98FEFFFF */ IL_0273: blt IL_0110
- // end loop
- /* 0x00004E24 1104 */ IL_0278: ldloc.s V_4
- /* 0x00004E26 6F5F01000A */ IL_027A: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004E2B D076000001 */ IL_027F: ldtoken [mscorlib]System.Single
- /* 0x00004E30 28D500000A */ IL_0284: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004E35 6F6001000A */ IL_0289: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004E3A 2D33 */ IL_028E: brtrue.s IL_02C3
- /* 0x00004E3C 1104 */ IL_0290: ldloc.s V_4
- /* 0x00004E3E 6F5F01000A */ IL_0292: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004E43 D079000001 */ IL_0297: ldtoken [mscorlib]System.Int32
- /* 0x00004E48 28D500000A */ IL_029C: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004E4D 6F6001000A */ IL_02A1: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004E52 2D1B */ IL_02A6: brtrue.s IL_02C3
- /* 0x00004E54 1104 */ IL_02A8: ldloc.s V_4
- /* 0x00004E56 6F5F01000A */ IL_02AA: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004E5B D071000001 */ IL_02AF: ldtoken [mscorlib]System.Boolean
- /* 0x00004E60 28D500000A */ IL_02B4: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
- /* 0x00004E65 6F6001000A */ IL_02B9: callvirt instance bool [mscorlib]System.Type::Equals(class [mscorlib]System.Type)
- /* 0x00004E6A 16 */ IL_02BE: ldc.i4.0
- /* 0x00004E6B FE01 */ IL_02BF: ceq
- /* 0x00004E6D 2B01 */ IL_02C1: br.s IL_02C4
- /* 0x00004E6F 16 */ IL_02C3: ldc.i4.0
- /* 0x00004E70 130E */ IL_02C4: stloc.s V_14
- /* 0x00004E72 110E */ IL_02C6: ldloc.s V_14
- /* 0x00004E74 2C05 */ IL_02C8: brfalse.s IL_02CF
- /* 0x00004E76 00 */ IL_02CA: nop
- /* 0x00004E77 16 */ IL_02CB: ldc.i4.0
- /* 0x00004E78 1305 */ IL_02CC: stloc.s V_5
- /* 0x00004E7A 00 */ IL_02CE: nop
- /* 0x00004E7B 1105 */ IL_02CF: ldloc.s V_5
- /* 0x00004E7D 130F */ IL_02D1: stloc.s V_15
- /* 0x00004E7F 110F */ IL_02D3: ldloc.s V_15
- /* 0x00004E81 3999000000 */ IL_02D5: brfalse IL_0373
- /* 0x00004E86 00 */ IL_02DA: nop
- /* 0x00004E87 1104 */ IL_02DB: ldloc.s V_4
- /* 0x00004E89 6FFB00000A */ IL_02DD: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004E8E 1310 */ IL_02E2: stloc.s V_16
- /* 0x00004E90 1104 */ IL_02E4: ldloc.s V_4
- /* 0x00004E92 6FFB00000A */ IL_02E6: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004E97 722F2F0070 */ IL_02EB: ldstr "<"
- /* 0x00004E9C 6F7200000A */ IL_02F0: callvirt instance bool [mscorlib]System.String::Contains(string)
- /* 0x00004EA1 1311 */ IL_02F5: stloc.s V_17
- /* 0x00004EA3 1111 */ IL_02F7: ldloc.s V_17
- /* 0x00004EA5 2C36 */ IL_02F9: brfalse.s IL_0331
- /* 0x00004EA7 00 */ IL_02FB: nop
- /* 0x00004EA8 1104 */ IL_02FC: ldloc.s V_4
- /* 0x00004EAA 6FFB00000A */ IL_02FE: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004EAF 1104 */ IL_0303: ldloc.s V_4
- /* 0x00004EB1 6FFB00000A */ IL_0305: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004EB6 722F2F0070 */ IL_030A: ldstr "<"
- /* 0x00004EBB 6F9600000A */ IL_030F: callvirt instance int32 [mscorlib]System.String::IndexOf(string)
- /* 0x00004EC0 17 */ IL_0314: ldc.i4.1
- /* 0x00004EC1 58 */ IL_0315: add
- /* 0x00004EC2 1104 */ IL_0316: ldloc.s V_4
- /* 0x00004EC4 6FFB00000A */ IL_0318: callvirt instance string [mscorlib]System.Reflection.MemberInfo::get_Name()
- /* 0x00004EC9 72332F0070 */ IL_031D: ldstr ">"
- /* 0x00004ECE 6F6201000A */ IL_0322: callvirt instance int32 [mscorlib]System.String::LastIndexOf(string)
- /* 0x00004ED3 17 */ IL_0327: ldc.i4.1
- /* 0x00004ED4 59 */ IL_0328: sub
- /* 0x00004ED5 6F6301000A */ IL_0329: callvirt instance string [mscorlib]System.String::Substring(int32, int32)
- /* 0x00004EDA 1310 */ IL_032E: stloc.s V_16
- /* 0x00004EDC 00 */ IL_0330: nop
- /* 0x00004EDD 1C */ IL_0331: ldc.i4.6
- /* 0x00004EDE 8D39000001 */ IL_0332: newarr [mscorlib]System.Object
- /* 0x00004EE3 25 */ IL_0337: dup
- /* 0x00004EE4 16 */ IL_0338: ldc.i4.0
- /* 0x00004EE5 72372F0070 */ IL_0339: ldstr "ATTEMPTING TO SHOW FIELD: "
- /* 0x00004EEA A2 */ IL_033E: stelem.ref
- /* 0x00004EEB 25 */ IL_033F: dup
- /* 0x00004EEC 17 */ IL_0340: ldc.i4.1
- /* 0x00004EED 1110 */ IL_0341: ldloc.s V_16
- /* 0x00004EEF A2 */ IL_0343: stelem.ref
- /* 0x00004EF0 25 */ IL_0344: dup
- /* 0x00004EF1 18 */ IL_0345: ldc.i4.2
- /* 0x00004EF2 726D2F0070 */ IL_0346: ldstr " WITH TYPE: "
- /* 0x00004EF7 A2 */ IL_034B: stelem.ref
- /* 0x00004EF8 25 */ IL_034C: dup
- /* 0x00004EF9 19 */ IL_034D: ldc.i4.3
- /* 0x00004EFA 1104 */ IL_034E: ldloc.s V_4
- /* 0x00004EFC 6F5F01000A */ IL_0350: callvirt instance class [mscorlib]System.Type [mscorlib]System.Reflection.FieldInfo::get_FieldType()
- /* 0x00004F01 A2 */ IL_0355: stelem.ref
- /* 0x00004F02 25 */ IL_0356: dup
- /* 0x00004F03 1A */ IL_0357: ldc.i4.4
- /* 0x00004F04 72872F0070 */ IL_0358: ldstr " IN MOD: "
- /* 0x00004F09 A2 */ IL_035D: stelem.ref
- /* 0x00004F0A 25 */ IL_035E: dup
- /* 0x00004F0B 1B */ IL_035F: ldc.i4.5
- /* 0x00004F0C 07 */ IL_0360: ldloc.1
- /* 0x00004F0D 7B0C000004 */ IL_0361: ldfld string DustDevilFramework.ScadMod::name
- /* 0x00004F12 A2 */ IL_0366: stelem.ref
- /* 0x00004F13 284B00000A */ IL_0367: call string [mscorlib]System.String::Concat(object[])
- /* 0x00004F18 28B200000A */ IL_036C: call void [UnityEngine]UnityEngine.Debug::Log(object)
- /* 0x00004F1D 00 */ IL_0371: nop
- /* 0x00004F1E 00 */ IL_0372: nop
- /* 0x00004F1F 00 */ IL_0373: nop
- /* 0x00004F20 09 */ IL_0374: ldloc.3
- /* 0x00004F21 17 */ IL_0375: ldc.i4.1
- /* 0x00004F22 58 */ IL_0376: add
- /* 0x00004F23 0D */ IL_0377: stloc.3
- /* 0x00004F24 09 */ IL_0378: ldloc.3
- /* 0x00004F25 08 */ IL_0379: ldloc.2
- /* 0x00004F26 8E */ IL_037A: ldlen
- /* 0x00004F27 69 */ IL_037B: conv.i4
- /* 0x00004F28 3F1AFDFFFF */ IL_037C: blt IL_009B
- // end loop
- /* 0x00004F2D 729B2F0070 */ IL_0381: ldstr "=========================================="
- /* 0x00004F32 28B200000A */ IL_0386: call void [UnityEngine]UnityEngine.Debug::Log(object)
- /* 0x00004F37 00 */ IL_038B: nop
- /* 0x00004F38 00 */ IL_038C: nop
- /* 0x00004F39 1200 */ IL_038D: ldloca.s V_0
- /* 0x00004F3B 28C000000A */ IL_038F: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>::MoveNext()
- /* 0x00004F40 3A84FCFFFF */ IL_0394: brtrue IL_001D
- // end loop
- /* 0x00004F45 DE0F */ IL_0399: leave.s IL_03AA
- } // end .try
- finally
- {
- /* 0x00004F47 1200 */ IL_039B: ldloca.s V_0
- /* 0x00004F49 FE161D00001B */ IL_039D: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class DustDevilFramework.ScadMod>
- /* 0x00004F4F 6F1200000A */ IL_03A3: callvirt instance void [mscorlib]System.IDisposable::Dispose()
- /* 0x00004F54 00 */ IL_03A8: nop
- /* 0x00004F55 DC */ IL_03A9: endfinally
- } // end handler
- /* 0x00004F56 2A */ IL_03AA: ret
- } // end of method ClickHandler::ShowModSettingsMenu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement