Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Token: 0x0600087F RID: 2175 RVA: 0x000447B4 File Offset: 0x000429B4
- .method private hidebysig
- instance void TriggerClickDownEvent (
- string eventName,
- class [mscorlib]System.Collections.Generic.List`1<class ['Assembly-CSharp-firstpass']ClickDownInfo>& clickInfosContainer
- ) cil managed
- {
- // Header Size: 12 bytes
- // Code Size: 448 (0x1C0) bytes
- // LocalVarSig Token: 0x11000208 RID: 520
- .maxstack 38
- .locals init (
- [0] valuetype [UnityEngine]UnityEngine.LayerMask,
- [1] valuetype [UnityEngine]UnityEngine.RaycastHit[],
- [2] class ['Assembly-CSharp-firstpass']ClickDownInfo,
- [3] int32,
- [4] valuetype [UnityEngine]UnityEngine.RaycastHit,
- [5] valuetype [UnityEngine]UnityEngine.RaycastHit[],
- [6] int32,
- [7] class ['Assembly-CSharp-firstpass']ClickDownInfo,
- [8] valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class ['Assembly-CSharp-firstpass']ClickDownInfo>
- )
- /* 0x000429C0 02 */ IL_0000: ldarg.0
- /* 0x000429C1 16 */ IL_0001: ldc.i4.0
- /* 0x000429C2 7D3D060004 */ IL_0002: stfld bool InputManager::stopClickEventPropagation
- /* 0x000429C7 02 */ IL_0007: ldarg.0
- /* 0x000429C8 7B5B060004 */ IL_0008: ldfld class IGameCameraService InputManager::gameCameraManager
- /* 0x000429CD 6F8E1B0006 */ IL_000D: callvirt instance bool IGameCameraService::IsTacticalMapActive()
- /* 0x000429D2 390B000000 */ IL_0012: brfalse IL_0022
- /* 0x000429D7 02 */ IL_0017: ldarg.0
- /* 0x000429D8 7B3C060004 */ IL_0018: ldfld valuetype [UnityEngine]UnityEngine.LayerMask InputManager::tacticalMapClickLayerMask
- /* 0x000429DD 3806000000 */ IL_001D: br IL_0028
- /* 0x000429E2 02 */ IL_0022: ldarg.0
- /* 0x000429E3 7B3B060004 */ IL_0023: ldfld valuetype [UnityEngine]UnityEngine.LayerMask InputManager::gameMouseClickLayerMask
- /* 0x000429E8 0A */ IL_0028: stloc.0
- /* 0x000429E9 02 */ IL_0029: ldarg.0
- /* 0x000429EA 7B5B060004 */ IL_002A: ldfld class IGameCameraService InputManager::gameCameraManager
- /* 0x000429EF 28C804000A */ IL_002F: call valuetype [UnityEngine]UnityEngine.Vector3 [UnityEngine]UnityEngine.Input::get_mousePosition()
- /* 0x000429F4 6F821B0006 */ IL_0034: callvirt instance valuetype [UnityEngine]UnityEngine.Ray IGameCameraService::ScreenPointToRay(valuetype [UnityEngine]UnityEngine.Vector3)
- /* 0x000429F9 220000807F */ IL_0039: ldc.r4 (00 00 80 7F)
- /* 0x000429FE 06 */ IL_003E: ldloc.0
- /* 0x000429FF 284A00000A */ IL_003F: call int32 [UnityEngine]UnityEngine.LayerMask::op_Implicit(valuetype [UnityEngine]UnityEngine.LayerMask)
- /* 0x00042A04 28C904000A */ IL_0044: call valuetype [UnityEngine]UnityEngine.RaycastHit[] [UnityEngine]UnityEngine.Physics::RaycastAll(valuetype [UnityEngine]UnityEngine.Ray, float32, int32)
- /* 0x00042A09 0B */ IL_0049: stloc.1
- /* 0x00042A0A 07 */ IL_004A: ldloc.1
- /* 0x00042A0B 7E74060004 */ IL_004B: ldsfld class [mscorlib]System.Comparison`1<valuetype [UnityEngine]UnityEngine.RaycastHit> InputManager::'<>f__am$cache3E'
- /* 0x00042A10 2D11 */ IL_0050: brtrue.s IL_0063
- /* 0x00042A12 14 */ IL_0052: ldnull
- /* 0x00042A13 FE06A7080006 */ IL_0053: ldftn int32 InputManager::'<TriggerClickDownEvent>m__2E'(valuetype [UnityEngine]UnityEngine.RaycastHit, valuetype [UnityEngine]UnityEngine.RaycastHit)
- /* 0x00042A19 73CA04000A */ IL_0059: newobj instance void class [mscorlib]System.Comparison`1<valuetype [UnityEngine]UnityEngine.RaycastHit>::.ctor(object, native int)
- /* 0x00042A1E 8074060004 */ IL_005E: stsfld class [mscorlib]System.Comparison`1<valuetype [UnityEngine]UnityEngine.RaycastHit> InputManager::'<>f__am$cache3E'
- /* 0x00042A23 7E74060004 */ IL_0063: ldsfld class [mscorlib]System.Comparison`1<valuetype [UnityEngine]UnityEngine.RaycastHit> InputManager::'<>f__am$cache3E'
- /* 0x00042A28 284200002B */ IL_0068: call void [mscorlib]System.Array::Sort<valuetype [UnityEngine]UnityEngine.RaycastHit>(!!0[], class [mscorlib]System.Comparison`1<!!0>)
- /* 0x00042A2D 02 */ IL_006D: ldarg.0
- /* 0x00042A2E 7B50060004 */ IL_006E: ldfld bool InputManager::debug
- /* 0x00042A33 3935000000 */ IL_0073: brfalse IL_00AD
- /* 0x00042A38 1A */ IL_0078: ldc.i4.4
- /* 0x00042A39 8D12000001 */ IL_0079: newarr [mscorlib]System.Object
- /* 0x00042A3E 25 */ IL_007E: dup
- /* 0x00042A3F 16 */ IL_007F: ldc.i4.0
- /* 0x00042A40 03 */ IL_0080: ldarg.1
- /* 0x00042A41 A2 */ IL_0081: stelem.ref
- /* 0x00042A42 25 */ IL_0082: dup
- /* 0x00042A43 17 */ IL_0083: ldc.i4.1
- /* 0x00042A44 72F5320070 */ IL_0084: ldstr " > "
- /* 0x00042A49 A2 */ IL_0089: stelem.ref
- /* 0x00042A4A 25 */ IL_008A: dup
- /* 0x00042A4B 18 */ IL_008B: ldc.i4.2
- /* 0x00042A4C 07 */ IL_008C: ldloc.1
- /* 0x00042A4D 8E */ IL_008D: ldlen
- /* 0x00042A4E 69 */ IL_008E: conv.i4
- /* 0x00042A4F 8C22000001 */ IL_008F: box [mscorlib]System.Int32
- /* 0x00042A54 A2 */ IL_0094: stelem.ref
- /* 0x00042A55 25 */ IL_0095: dup
- /* 0x00042A56 19 */ IL_0096: ldc.i4.3
- /* 0x00042A57 722AB20070 */ IL_0097: ldstr " hits"
- /* 0x00042A5C A2 */ IL_009C: stelem.ref
- /* 0x00042A5D 28A100000A */ IL_009D: call string [mscorlib]System.String::Concat(object[])
- /* 0x00042A62 16 */ IL_00A2: ldc.i4.0
- /* 0x00042A63 8D12000001 */ IL_00A3: newarr [mscorlib]System.Object
- /* 0x00042A68 288604000A */ IL_00A8: call void ['Assembly-CSharp-firstpass']Amplitude.Diagnostics::LogWarning(string, object[])
- /* 0x00042A6D 04 */ IL_00AD: ldarg.2
- /* 0x00042A6E 73CC04000A */ IL_00AE: newobj instance void class [mscorlib]System.Collections.Generic.List`1<class ['Assembly-CSharp-firstpass']ClickDownInfo>::.ctor()
- /* 0x00042A73 51 */ IL_00B3: stind.ref
- /* 0x00042A74 16 */ IL_00B4: ldc.i4.0
- /* 0x00042A75 0D */ IL_00B5: stloc.3
- /* 0x00042A76 07 */ IL_00B6: ldloc.1
- /* 0x00042A77 1305 */ IL_00B7: stloc.s V_5
- /* 0x00042A79 16 */ IL_00B9: ldc.i4.0
- /* 0x00042A7A 1306 */ IL_00BA: stloc.s V_6
- /* 0x00042A7C 3836000000 */ IL_00BC: br IL_00F7
- // loop start (head: IL_00F7)
- /* 0x00042A81 1105 */ IL_00C1: ldloc.s V_5
- /* 0x00042A83 1106 */ IL_00C3: ldloc.s V_6
- /* 0x00042A85 8F1B000001 */ IL_00C5: ldelema [UnityEngine]UnityEngine.RaycastHit
- /* 0x00042A8A 711B000001 */ IL_00CA: ldobj [UnityEngine]UnityEngine.RaycastHit
- /* 0x00042A8F 1304 */ IL_00CF: stloc.s V_4
- /* 0x00042A91 1204 */ IL_00D1: ldloca.s V_4
- /* 0x00042A93 28CD04000A */ IL_00D3: call instance class [UnityEngine]UnityEngine.Collider [UnityEngine]UnityEngine.RaycastHit::get_collider()
- /* 0x00042A98 1204 */ IL_00D8: ldloca.s V_4
- /* 0x00042A9A 284D00000A */ IL_00DA: call instance valuetype [UnityEngine]UnityEngine.Vector3 [UnityEngine]UnityEngine.RaycastHit::get_point()
- /* 0x00042A9F 09 */ IL_00DF: ldloc.3
- /* 0x00042AA0 07 */ IL_00E0: ldloc.1
- /* 0x00042AA1 8E */ IL_00E1: ldlen
- /* 0x00042AA2 69 */ IL_00E2: conv.i4
- /* 0x00042AA3 73CE04000A */ IL_00E3: newobj instance void ['Assembly-CSharp-firstpass']ClickDownInfo::.ctor(class [UnityEngine]UnityEngine.Collider, valuetype [UnityEngine]UnityEngine.Vector3, int32, int32)
- /* 0x00042AA8 0C */ IL_00E8: stloc.2
- /* 0x00042AA9 04 */ IL_00E9: ldarg.2
- /* 0x00042AAA 50 */ IL_00EA: ldind.ref
- /* 0x00042AAB 08 */ IL_00EB: ldloc.2
- /* 0x00042AAC 6FCF04000A */ IL_00EC: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<class ['Assembly-CSharp-firstpass']ClickDownInfo>::Add(!0)
- /* 0x00042AB1 1106 */ IL_00F1: ldloc.s V_6
- /* 0x00042AB3 17 */ IL_00F3: ldc.i4.1
- /* 0x00042AB4 58 */ IL_00F4: add
- /* 0x00042AB5 1306 */ IL_00F5: stloc.s V_6
- /* 0x00042AB7 1106 */ IL_00F7: ldloc.s V_6
- /* 0x00042AB9 1105 */ IL_00F9: ldloc.s V_5
- /* 0x00042ABB 8E */ IL_00FB: ldlen
- /* 0x00042ABC 69 */ IL_00FC: conv.i4
- /* 0x00042ABD 3FBFFFFFFF */ IL_00FD: blt IL_00C1
- // end loop
- /* 0x00042AC2 04 */ IL_0102: ldarg.2
- /* 0x00042AC3 50 */ IL_0103: ldind.ref
- /* 0x00042AC4 6FD004000A */ IL_0104: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<!0> class [mscorlib]System.Collections.Generic.List`1<class ['Assembly-CSharp-firstpass']ClickDownInfo>::GetEnumerator()
- /* 0x00042AC9 1308 */ IL_0109: stloc.s V_8
- .try
- {
- /* 0x00042ACB 3891000000 */ IL_010B: br IL_01A1
- // loop start (head: IL_01A1)
- /* 0x00042AD0 1208 */ IL_0110: ldloca.s V_8
- /* 0x00042AD2 28D104000A */ IL_0112: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class ['Assembly-CSharp-firstpass']ClickDownInfo>::get_Current()
- /* 0x00042AD7 1307 */ IL_0117: stloc.s V_7
- /* 0x00042AD9 02 */ IL_0119: ldarg.0
- /* 0x00042ADA 7B50060004 */ IL_011A: ldfld bool InputManager::debug
- /* 0x00042ADF 3959000000 */ IL_011F: brfalse IL_017D
- /* 0x00042AE4 1D */ IL_0124: ldc.i4.7
- /* 0x00042AE5 8D12000001 */ IL_0125: newarr [mscorlib]System.Object
- /* 0x00042AEA 25 */ IL_012A: dup
- /* 0x00042AEB 16 */ IL_012B: ldc.i4.0
- /* 0x00042AEC 03 */ IL_012C: ldarg.1
- /* 0x00042AED A2 */ IL_012D: stelem.ref
- /* 0x00042AEE 25 */ IL_012E: dup
- /* 0x00042AEF 17 */ IL_012F: ldc.i4.1
- /* 0x00042AF0 7236B20070 */ IL_0130: ldstr "@"
- /* 0x00042AF5 A2 */ IL_0135: stelem.ref
- /* 0x00042AF6 25 */ IL_0136: dup
- /* 0x00042AF7 18 */ IL_0137: ldc.i4.2
- /* 0x00042AF8 09 */ IL_0138: ldloc.3
- /* 0x00042AF9 8C22000001 */ IL_0139: box [mscorlib]System.Int32
- /* 0x00042AFE A2 */ IL_013E: stelem.ref
- /* 0x00042AFF 25 */ IL_013F: dup
- /* 0x00042B00 19 */ IL_0140: ldc.i4.3
- /* 0x00042B01 723AB20070 */ IL_0141: ldstr "="
- /* 0x00042B06 A2 */ IL_0146: stelem.ref
- /* 0x00042B07 25 */ IL_0147: dup
- /* 0x00042B08 1A */ IL_0148: ldc.i4.4
- /* 0x00042B09 1107 */ IL_0149: ldloc.s V_7
- /* 0x00042B0B 6FD204000A */ IL_014B: callvirt instance class [UnityEngine]UnityEngine.Collider ['Assembly-CSharp-firstpass']ClickDownInfo::get_HitCollider()
- /* 0x00042B10 6F2601000A */ IL_0150: callvirt instance string [UnityEngine]UnityEngine.Object::get_name()
- /* 0x00042B15 A2 */ IL_0155: stelem.ref
- /* 0x00042B16 25 */ IL_0156: dup
- /* 0x00042B17 1B */ IL_0157: ldc.i4.5
- /* 0x00042B18 723EB20070 */ IL_0158: ldstr " @"
- /* 0x00042B1D A2 */ IL_015D: stelem.ref
- /* 0x00042B1E 25 */ IL_015E: dup
- /* 0x00042B1F 1C */ IL_015F: ldc.i4.6
- /* 0x00042B20 1107 */ IL_0160: ldloc.s V_7
- /* 0x00042B22 6FD304000A */ IL_0162: callvirt instance valuetype [UnityEngine]UnityEngine.Vector3 ['Assembly-CSharp-firstpass']ClickDownInfo::get_WorldPosition()
- /* 0x00042B27 8C0C000001 */ IL_0167: box [UnityEngine]UnityEngine.Vector3
- /* 0x00042B2C A2 */ IL_016C: stelem.ref
- /* 0x00042B2D 28A100000A */ IL_016D: call string [mscorlib]System.String::Concat(object[])
- /* 0x00042B32 16 */ IL_0172: ldc.i4.0
- /* 0x00042B33 8D12000001 */ IL_0173: newarr [mscorlib]System.Object
- /* 0x00042B38 284304000A */ IL_0178: call void ['Assembly-CSharp-firstpass']Amplitude.Diagnostics::Log(string, object[])
- /* 0x00042B3D 1107 */ IL_017D: ldloc.s V_7
- /* 0x00042B3F 6FD204000A */ IL_017F: callvirt instance class [UnityEngine]UnityEngine.Collider ['Assembly-CSharp-firstpass']ClickDownInfo::get_HitCollider()
- /* 0x00042B44 03 */ IL_0184: ldarg.1
- /* 0x00042B45 1107 */ IL_0185: ldloc.s V_7
- /* 0x00042B47 17 */ IL_0187: ldc.i4.1
- /* 0x00042B48 6FD404000A */ IL_0188: callvirt instance void [UnityEngine]UnityEngine.Component::SendMessage(string, object, valuetype [UnityEngine]UnityEngine.SendMessageOptions)
- /* 0x00042B4D 09 */ IL_018D: ldloc.3
- /* 0x00042B4E 17 */ IL_018E: ldc.i4.1
- /* 0x00042B4F 58 */ IL_018F: add
- /* 0x00042B50 0D */ IL_0190: stloc.3
- /* 0x00042B51 02 */ IL_0191: ldarg.0
- /* 0x00042B52 7B3D060004 */ IL_0192: ldfld bool InputManager::stopClickEventPropagation
- /* 0x00042B57 3905000000 */ IL_0197: brfalse IL_01A1
- /* 0x00042B5C 380C000000 */ IL_019C: br IL_01AD
- /* 0x00042B61 1208 */ IL_01A1: ldloca.s V_8
- /* 0x00042B63 28D504000A */ IL_01A3: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class ['Assembly-CSharp-firstpass']ClickDownInfo>::MoveNext()
- /* 0x00042B68 3A63FFFFFF */ IL_01A8: brtrue IL_0110
- // end loop
- /* 0x00042B6D DD0D000000 */ IL_01AD: leave IL_01BF
- } // end .try
- finally
- {
- /* 0x00042B72 1108 */ IL_01B2: ldloc.s V_8
- /* 0x00042B74 8CA900001B */ IL_01B4: box valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class ['Assembly-CSharp-firstpass']ClickDownInfo>
- /* 0x00042B79 6FD400000A */ IL_01B9: callvirt instance void [mscorlib]System.IDisposable::Dispose()
- /* 0x00042B7E DC */ IL_01BE: endfinally
- } // end handler
- /* 0x00042B7F 2A */ IL_01BF: ret
- } // end of method InputManager::TriggerClickDownEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement