Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// <summary>
  2. /// Parses the entry and fires events accordingly.
  3. /// </summary>
  4. /// <param name="entry">Clientlog entry to parse</param>
  5. /// <remarks>Use this method to test the parsers.</remarks>
  6. // Token: 0x06000017 RID: 23 RVA: 0x00002504 File Offset: 0x00000704
  7. .method public hidebysig
  8.     instance void ParseNewEntry (
  9.         string entry
  10.     ) cil managed
  11. {
  12.     // Header Size: 12 bytes
  13.     // Code Size: 158 (0x9E) bytes
  14.     // LocalVarSig Token: 0x11000006 RID: 6
  15.     .maxstack 4
  16.     .locals init (
  17.         [0] class [netstandard]System.Collections.Generic.IEnumerator`1<class ClientLogParser.Parsers.IParser>,
  18.         [1] class ClientLogParser.Parsers.IParser parser,
  19.         [2] class ClientLogParser.Messages.Whisper whisper,
  20.         [3] valuetype [netstandard]System.DateTime time,
  21.         [4] string newArea,
  22.         [5] class ClientLogParser.Messages.SystemMessage msg,
  23.         [6] class ClientLogParser.Parsers.IWhisperParser w,
  24.         [7] class ClientLogParser.Parsers.IAreaChangeParser a,
  25.         [8] class ClientLogParser.Parsers.ISystemParser s
  26.     )
  27.  
  28.     /* (210,40)-(210,66) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  29.     /* 0x00000710 02           */ IL_0000: ldarg.0
  30.     /* 0x00000711 7B05000004   */ IL_0001: ldfld     class ClientLogParser.Parsers.ParserCollection ClientLogParser.Overseer::_parserCollection
  31.     /* 0x00000716 6F24000006   */ IL_0006: callvirt  instance class [netstandard]System.Collections.Generic.IEnumerable`1<class ClientLogParser.Parsers.IParser> ClientLogParser.Parsers.ParserCollection::get__parsers()
  32.     /* 0x0000071B 6F2600000A   */ IL_000B: callvirt  instance class [netstandard]System.Collections.Generic.IEnumerator`1<!0> class [netstandard]System.Collections.Generic.IEnumerable`1<class ClientLogParser.Parsers.IParser>::GetEnumerator()
  33.     /* 0x00000720 0A           */ IL_0010: stloc.0
  34.     .try
  35.     {
  36.         /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  37.         /* 0x00000721 2B76         */ IL_0011: br.s      IL_0089
  38.         // loop start (head: IL_0089)
  39.             /* (210,22)-(210,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  40.             /* 0x00000723 06           */ IL_0013: ldloc.0
  41.             /* 0x00000724 6F2700000A   */ IL_0014: callvirt  instance !0 class [netstandard]System.Collections.Generic.IEnumerator`1<class ClientLogParser.Parsers.IParser>::get_Current()
  42.             /* 0x00000729 0B           */ IL_0019: stloc.1
  43.             /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  44.             /* 0x0000072A 07           */ IL_001A: ldloc.1
  45.             /* 0x0000072B 7507000002   */ IL_001B: isinst    ClientLogParser.Parsers.IWhisperParser
  46.             /* 0x00000730 1306         */ IL_0020: stloc.s   w
  47.             /* 0x00000732 1106         */ IL_0022: ldloc.s   w
  48.             /* 0x00000734 2D1A         */ IL_0024: brtrue.s  IL_0040
  49.  
  50.             /* 0x00000736 07           */ IL_0026: ldloc.1
  51.             /* 0x00000737 7503000002   */ IL_0027: isinst    ClientLogParser.Parsers.IAreaChangeParser
  52.             /* 0x0000073C 1307         */ IL_002C: stloc.s   a
  53.             /* 0x0000073E 1107         */ IL_002E: ldloc.s   a
  54.             /* 0x00000740 2D23         */ IL_0030: brtrue.s  IL_0055
  55.  
  56.             /* 0x00000742 07           */ IL_0032: ldloc.1
  57.             /* 0x00000743 7506000002   */ IL_0033: isinst    ClientLogParser.Parsers.ISystemParser
  58.             /* 0x00000748 1308         */ IL_0038: stloc.s   s
  59.             /* 0x0000074A 1108         */ IL_003A: ldloc.s   s
  60.             /* 0x0000074C 2D35         */ IL_003C: brtrue.s  IL_0073
  61.  
  62.             /* 0x0000074E 2B49         */ IL_003E: br.s      IL_0089
  63.  
  64.             /* (215,25)-(215,68) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  65.             /* 0x00000750 1106         */ IL_0040: ldloc.s   w
  66.             /* 0x00000752 03           */ IL_0042: ldarg.1
  67.             /* 0x00000753 1202         */ IL_0043: ldloca.s  whisper
  68.             /* 0x00000755 6F1F000006   */ IL_0045: callvirt  instance bool ClientLogParser.Parsers.IWhisperParser::TryParse(string, class ClientLogParser.Messages.Whisper&)
  69.             /* 0x0000075A 2C3D         */ IL_004A: brfalse.s IL_0089
  70.  
  71.             /* (217,29)-(217,61) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  72.             /* 0x0000075C 02           */ IL_004C: ldarg.0
  73.             /* 0x0000075D 08           */ IL_004D: ldloc.2
  74.             /* 0x0000075E 6F08000006   */ IL_004E: callvirt  instance void ClientLogParser.Overseer::OnWhisperPreParseEvent(class ClientLogParser.Messages.Whisper)
  75.             /* (218,29)-(218,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  76.             /* 0x00000763 DE48         */ IL_0053: leave.s   IL_009D
  77.  
  78.             /* (222,25)-(222,83) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  79.             /* 0x00000765 1107         */ IL_0055: ldloc.s   a
  80.             /* 0x00000767 03           */ IL_0057: ldarg.1
  81.             /* 0x00000768 1203         */ IL_0058: ldloca.s  time
  82.             /* 0x0000076A 1204         */ IL_005A: ldloca.s  newArea
  83.             /* 0x0000076C 6F1C000006   */ IL_005C: callvirt  instance bool ClientLogParser.Parsers.IAreaChangeParser::TryParse(string, valuetype [netstandard]System.DateTime&, string&)
  84.             /* 0x00000771 2C26         */ IL_0061: brfalse.s IL_0089
  85.  
  86.             /* (224,29)-(224,78) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  87.             /* 0x00000773 02           */ IL_0063: ldarg.0
  88.             /* 0x00000774 09           */ IL_0064: ldloc.3
  89.             /* 0x00000775 1104         */ IL_0065: ldloc.s   newArea
  90.             /* 0x00000777 7352000006   */ IL_0067: newobj    instance void ClientLogParser.Events.ChangeAreaEvent::.ctor(valuetype [netstandard]System.DateTime, string)
  91.             /* 0x0000077C 6F14000006   */ IL_006C: callvirt  instance void ClientLogParser.Overseer::OnAreaChange(class ClientLogParser.Events.ChangeAreaEvent)
  92.             /* (225,29)-(225,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  93.             /* 0x00000781 DE2A         */ IL_0071: leave.s   IL_009D
  94.  
  95.             /* (229,25)-(229,70) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  96.             /* 0x00000783 1108         */ IL_0073: ldloc.s   s
  97.             /* 0x00000785 03           */ IL_0075: ldarg.1
  98.             /* 0x00000786 1205         */ IL_0076: ldloca.s  msg
  99.             /* 0x00000788 6F1E000006   */ IL_0078: callvirt  instance bool ClientLogParser.Parsers.ISystemParser::TryParse(string, class ClientLogParser.Messages.SystemMessage&)
  100.             /* 0x0000078D 2C0A         */ IL_007D: brfalse.s IL_0089
  101.  
  102.             /* (231,29)-(231,50) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  103.             /* 0x0000078F 02           */ IL_007F: ldarg.0
  104.             /* 0x00000790 1105         */ IL_0080: ldloc.s   msg
  105.             /* 0x00000792 6F11000006   */ IL_0082: callvirt  instance void ClientLogParser.Overseer::OnSystemMessage(class ClientLogParser.Messages.SystemMessage)
  106.             /* (232,29)-(232,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  107.             /* 0x00000797 DE14         */ IL_0087: leave.s   IL_009D
  108.  
  109.             /* (210,37)-(210,39) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  110.             /* 0x00000799 06           */ IL_0089: ldloc.0
  111.             /* 0x0000079A 6F2800000A   */ IL_008A: callvirt  instance bool [netstandard]System.Collections.IEnumerator::MoveNext()
  112.             /* 0x0000079F 2D82         */ IL_008F: brtrue.s  IL_0013
  113.         // end loop
  114.  
  115.         /* 0x000007A1 DE0A         */ IL_0091: leave.s   IL_009D
  116.     } // end .try
  117.     finally
  118.     {
  119.         /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  120.         /* 0x000007A3 06           */ IL_0093: ldloc.0
  121.         /* 0x000007A4 2C06         */ IL_0094: brfalse.s IL_009C
  122.  
  123.         /* 0x000007A6 06           */ IL_0096: ldloc.0
  124.         /* 0x000007A7 6F2900000A   */ IL_0097: callvirt  instance void [netstandard]System.IDisposable::Dispose()
  125.  
  126.         /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  127.         /* 0x000007AC DC           */ IL_009C: endfinally
  128.     } // end handler
  129.  
  130.     /* (237,9)-(237,10) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
  131.     /* 0x000007AD 2A           */ IL_009D: ret
  132. } // end of method Overseer::ParseNewEntry
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement