Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Token: 0x06000EAB RID: 3755 RVA: 0x0006C1E4 File Offset: 0x0006A3E4
- .method private hidebysig
- instance void OnRightClickDown (
- class ['Assembly-CSharp-firstpass']ClickDownInfo clickInfo
- ) cil managed
- {
- // Header Size: 12 bytes
- // Code Size: 241 (0xF1) bytes
- // LocalVarSig Token: 0x1100032B RID: 811
- .maxstack 41
- .locals init (
- [0] class Hero,
- [1] valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>,
- [2] class Hero,
- [3] valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>
- )
- /* 0x0006A3F0 7E540D0004 */ IL_0000: ldsfld class [mscorlib]System.Collections.Generic.List`1<class Hero> Hero::selectedHeroes
- /* 0x0006A3F5 6F9B04000A */ IL_0005: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1<class Hero>::get_Count()
- /* 0x0006A3FA 16 */ IL_000A: ldc.i4.0
- /* 0x0006A3FB 3EAF000000 */ IL_000B: ble IL_00BF
- /* 0x0006A400 02 */ IL_0010: ldarg.0
- /* 0x0006A401 284B0E0006 */ IL_0011: call instance bool Hero::get_IsRecruited()
- /* 0x0006A406 3A4C000000 */ IL_0016: brtrue IL_0067
- /* 0x0006A40B 02 */ IL_001B: ldarg.0
- /* 0x0006A40C 284F0E0006 */ IL_001C: call instance bool Hero::get_IsDismissing()
- /* 0x0006A411 3A41000000 */ IL_0021: brtrue IL_0067
- /* 0x0006A416 7E540D0004 */ IL_0026: ldsfld class [mscorlib]System.Collections.Generic.List`1<class Hero> Hero::selectedHeroes
- /* 0x0006A41B 6F6305000A */ IL_002B: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<!0> class [mscorlib]System.Collections.Generic.List`1<class Hero>::GetEnumerator()
- /* 0x0006A420 0B */ IL_0030: stloc.1
- .try
- {
- /* 0x0006A421 380F000000 */ IL_0031: br IL_0045
- // loop start (head: IL_0045)
- /* 0x0006A426 1201 */ IL_0036: ldloca.s V_1
- /* 0x0006A428 286405000A */ IL_0038: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>::get_Current()
- /* 0x0006A42D 0A */ IL_003D: stloc.0
- /* 0x0006A42E 06 */ IL_003E: ldloc.0
- /* 0x0006A42F 02 */ IL_003F: ldarg.0
- /* 0x0006A430 6F0D0E0006 */ IL_0040: callvirt instance void Hero::MoveToHero(class Hero)
- /* 0x0006A435 1201 */ IL_0045: ldloca.s V_1
- /* 0x0006A437 286505000A */ IL_0047: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>::MoveNext()
- /* 0x0006A43C 3AE5FFFFFF */ IL_004C: brtrue IL_0036
- // end loop
- /* 0x0006A441 DD0C000000 */ IL_0051: leave IL_0062
- } // end .try
- finally
- {
- /* 0x0006A446 07 */ IL_0056: ldloc.1
- /* 0x0006A447 8CB600001B */ IL_0057: box valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>
- /* 0x0006A44C 6FD400000A */ IL_005C: callvirt instance void [mscorlib]System.IDisposable::Dispose()
- /* 0x0006A451 DC */ IL_0061: endfinally
- } // end handler
- /* 0x0006A452 3849000000 */ IL_0062: br IL_00B0
- /* 0x0006A457 7E540D0004 */ IL_0067: ldsfld class [mscorlib]System.Collections.Generic.List`1<class Hero> Hero::selectedHeroes
- /* 0x0006A45C 6F6305000A */ IL_006C: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<!0> class [mscorlib]System.Collections.Generic.List`1<class Hero>::GetEnumerator()
- /* 0x0006A461 0D */ IL_0071: stloc.3
- .try
- {
- /* 0x0006A462 381C000000 */ IL_0072: br IL_0093
- // loop start (head: IL_0093)
- /* 0x0006A467 1203 */ IL_0077: ldloca.s V_3
- /* 0x0006A469 286405000A */ IL_0079: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>::get_Current()
- /* 0x0006A46E 0C */ IL_007E: stloc.2
- /* 0x0006A46F 08 */ IL_007F: ldloc.2
- /* 0x0006A470 02 */ IL_0080: ldarg.0
- /* 0x0006A471 28B40E0006 */ IL_0081: call instance class RoomElement HeroMobCommon::get_RoomElement()
- /* 0x0006A476 6FB5110006 */ IL_0086: callvirt instance class Room RoomElement::get_ParentRoom()
- /* 0x0006A47B 16 */ IL_008B: ldc.i4.0
- /* 0x0006A47C 17 */ IL_008C: ldc.i4.1
- /* 0x0006A47D 17 */ IL_008D: ldc.i4.1
- /* 0x0006A47E 6F0B0E0006 */ IL_008E: callvirt instance void Hero::MoveToRoom(class Room, bool, bool, bool)
- /* 0x0006A483 1203 */ IL_0093: ldloca.s V_3
- /* 0x0006A485 286505000A */ IL_0095: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>::MoveNext()
- /* 0x0006A48A 3AD8FFFFFF */ IL_009A: brtrue IL_0077
- // end loop
- /* 0x0006A48F DD0C000000 */ IL_009F: leave IL_00B0
- } // end .try
- finally
- {
- /* 0x0006A494 09 */ IL_00A4: ldloc.3
- /* 0x0006A495 8CB600001B */ IL_00A5: box valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class Hero>
- /* 0x0006A49A 6FD400000A */ IL_00AA: callvirt instance void [mscorlib]System.IDisposable::Dispose()
- /* 0x0006A49F DC */ IL_00AF: endfinally
- } // end handler
- /* 0x0006A4A0 282F00002B */ IL_00B0: call !!0 ['Assembly-CSharp-firstpass']Amplitude.Unity.Framework.Services::GetService<class ['Assembly-CSharp-firstpass']IInputService>()
- /* 0x0006A4A5 6F3B08000A */ IL_00B5: callvirt instance void ['Assembly-CSharp-firstpass']IInputService::StopClickEventPropagation()
- /* 0x0006A4AA 3831000000 */ IL_00BA: br IL_00F0
- /* 0x0006A4AF 02 */ IL_00BF: ldarg.0
- /* 0x0006A4B0 284B0E0006 */ IL_00C0: call instance bool Hero::get_IsRecruited()
- /* 0x0006A4B5 3A26000000 */ IL_00C5: brtrue IL_00F0
- /* 0x0006A4BA 7E520D0004 */ IL_00CA: ldsfld class [mscorlib]System.Collections.Generic.List`1<class Hero> Hero::localPlayerActiveRecruitedHeroes
- /* 0x0006A4BF 6F9B04000A */ IL_00CF: callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1<class Hero>::get_Count()
- /* 0x0006A4C4 17 */ IL_00D4: ldc.i4.1
- /* 0x0006A4C5 3C16000000 */ IL_00D5: bge IL_00F0
- /* 0x0006A4CA 02 */ IL_00DA: ldarg.0
- /* 0x0006A4CB 7BBC0D0004 */ IL_00DB: ldfld class GameNetworkManager HeroMobCommon::gameNetManager
- /* 0x0006A4D0 6F941A0006 */ IL_00E0: callvirt instance bool GameNetworkManager::IsMultiplayerSession()
- /* 0x0006A4D5 3906000000 */ IL_00E5: brfalse IL_00F0
- /* 0x0006A4DA 02 */ IL_00EA: ldarg.0
- /* 0x0006A4DB 28940E0006 */ IL_00EB: call instance void Hero::DisplayRecruitmentDialog()
- /* 0x0006A4E0 2A */ IL_00F0: ret
- } // end of method Hero::OnRightClickDown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement