Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// Parses the entry and fires events accordingly.
- /// </summary>
- /// <param name="entry">Clientlog entry to parse</param>
- /// <remarks>Use this method to test the parsers.</remarks>
- // Token: 0x06000017 RID: 23 RVA: 0x00002504 File Offset: 0x00000704
- .method public hidebysig
- instance void ParseNewEntry (
- string entry
- ) cil managed
- {
- // Header Size: 12 bytes
- // Code Size: 158 (0x9E) bytes
- // LocalVarSig Token: 0x11000006 RID: 6
- .maxstack 4
- .locals init (
- [0] class [netstandard]System.Collections.Generic.IEnumerator`1<class ClientLogParser.Parsers.IParser>,
- [1] class ClientLogParser.Parsers.IParser parser,
- [2] class ClientLogParser.Messages.Whisper whisper,
- [3] valuetype [netstandard]System.DateTime time,
- [4] string newArea,
- [5] class ClientLogParser.Messages.SystemMessage msg,
- [6] class ClientLogParser.Parsers.IWhisperParser w,
- [7] class ClientLogParser.Parsers.IAreaChangeParser a,
- [8] class ClientLogParser.Parsers.ISystemParser s
- )
- /* (210,40)-(210,66) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000710 02 */ IL_0000: ldarg.0
- /* 0x00000711 7B05000004 */ IL_0001: ldfld class ClientLogParser.Parsers.ParserCollection ClientLogParser.Overseer::_parserCollection
- /* 0x00000716 6F24000006 */ IL_0006: callvirt instance class [netstandard]System.Collections.Generic.IEnumerable`1<class ClientLogParser.Parsers.IParser> ClientLogParser.Parsers.ParserCollection::get__parsers()
- /* 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()
- /* 0x00000720 0A */ IL_0010: stloc.0
- .try
- {
- /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000721 2B76 */ IL_0011: br.s IL_0089
- // loop start (head: IL_0089)
- /* (210,22)-(210,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000723 06 */ IL_0013: ldloc.0
- /* 0x00000724 6F2700000A */ IL_0014: callvirt instance !0 class [netstandard]System.Collections.Generic.IEnumerator`1<class ClientLogParser.Parsers.IParser>::get_Current()
- /* 0x00000729 0B */ IL_0019: stloc.1
- /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x0000072A 07 */ IL_001A: ldloc.1
- /* 0x0000072B 7507000002 */ IL_001B: isinst ClientLogParser.Parsers.IWhisperParser
- /* 0x00000730 1306 */ IL_0020: stloc.s w
- /* 0x00000732 1106 */ IL_0022: ldloc.s w
- /* 0x00000734 2D1A */ IL_0024: brtrue.s IL_0040
- /* 0x00000736 07 */ IL_0026: ldloc.1
- /* 0x00000737 7503000002 */ IL_0027: isinst ClientLogParser.Parsers.IAreaChangeParser
- /* 0x0000073C 1307 */ IL_002C: stloc.s a
- /* 0x0000073E 1107 */ IL_002E: ldloc.s a
- /* 0x00000740 2D23 */ IL_0030: brtrue.s IL_0055
- /* 0x00000742 07 */ IL_0032: ldloc.1
- /* 0x00000743 7506000002 */ IL_0033: isinst ClientLogParser.Parsers.ISystemParser
- /* 0x00000748 1308 */ IL_0038: stloc.s s
- /* 0x0000074A 1108 */ IL_003A: ldloc.s s
- /* 0x0000074C 2D35 */ IL_003C: brtrue.s IL_0073
- /* 0x0000074E 2B49 */ IL_003E: br.s IL_0089
- /* (215,25)-(215,68) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000750 1106 */ IL_0040: ldloc.s w
- /* 0x00000752 03 */ IL_0042: ldarg.1
- /* 0x00000753 1202 */ IL_0043: ldloca.s whisper
- /* 0x00000755 6F1F000006 */ IL_0045: callvirt instance bool ClientLogParser.Parsers.IWhisperParser::TryParse(string, class ClientLogParser.Messages.Whisper&)
- /* 0x0000075A 2C3D */ IL_004A: brfalse.s IL_0089
- /* (217,29)-(217,61) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x0000075C 02 */ IL_004C: ldarg.0
- /* 0x0000075D 08 */ IL_004D: ldloc.2
- /* 0x0000075E 6F08000006 */ IL_004E: callvirt instance void ClientLogParser.Overseer::OnWhisperPreParseEvent(class ClientLogParser.Messages.Whisper)
- /* (218,29)-(218,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000763 DE48 */ IL_0053: leave.s IL_009D
- /* (222,25)-(222,83) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000765 1107 */ IL_0055: ldloc.s a
- /* 0x00000767 03 */ IL_0057: ldarg.1
- /* 0x00000768 1203 */ IL_0058: ldloca.s time
- /* 0x0000076A 1204 */ IL_005A: ldloca.s newArea
- /* 0x0000076C 6F1C000006 */ IL_005C: callvirt instance bool ClientLogParser.Parsers.IAreaChangeParser::TryParse(string, valuetype [netstandard]System.DateTime&, string&)
- /* 0x00000771 2C26 */ IL_0061: brfalse.s IL_0089
- /* (224,29)-(224,78) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000773 02 */ IL_0063: ldarg.0
- /* 0x00000774 09 */ IL_0064: ldloc.3
- /* 0x00000775 1104 */ IL_0065: ldloc.s newArea
- /* 0x00000777 7352000006 */ IL_0067: newobj instance void ClientLogParser.Events.ChangeAreaEvent::.ctor(valuetype [netstandard]System.DateTime, string)
- /* 0x0000077C 6F14000006 */ IL_006C: callvirt instance void ClientLogParser.Overseer::OnAreaChange(class ClientLogParser.Events.ChangeAreaEvent)
- /* (225,29)-(225,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000781 DE2A */ IL_0071: leave.s IL_009D
- /* (229,25)-(229,70) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000783 1108 */ IL_0073: ldloc.s s
- /* 0x00000785 03 */ IL_0075: ldarg.1
- /* 0x00000786 1205 */ IL_0076: ldloca.s msg
- /* 0x00000788 6F1E000006 */ IL_0078: callvirt instance bool ClientLogParser.Parsers.ISystemParser::TryParse(string, class ClientLogParser.Messages.SystemMessage&)
- /* 0x0000078D 2C0A */ IL_007D: brfalse.s IL_0089
- /* (231,29)-(231,50) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x0000078F 02 */ IL_007F: ldarg.0
- /* 0x00000790 1105 */ IL_0080: ldloc.s msg
- /* 0x00000792 6F11000006 */ IL_0082: callvirt instance void ClientLogParser.Overseer::OnSystemMessage(class ClientLogParser.Messages.SystemMessage)
- /* (232,29)-(232,36) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000797 DE14 */ IL_0087: leave.s IL_009D
- /* (210,37)-(210,39) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x00000799 06 */ IL_0089: ldloc.0
- /* 0x0000079A 6F2800000A */ IL_008A: callvirt instance bool [netstandard]System.Collections.IEnumerator::MoveNext()
- /* 0x0000079F 2D82 */ IL_008F: brtrue.s IL_0013
- // end loop
- /* 0x000007A1 DE0A */ IL_0091: leave.s IL_009D
- } // end .try
- finally
- {
- /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x000007A3 06 */ IL_0093: ldloc.0
- /* 0x000007A4 2C06 */ IL_0094: brfalse.s IL_009C
- /* 0x000007A6 06 */ IL_0096: ldloc.0
- /* 0x000007A7 6F2900000A */ IL_0097: callvirt instance void [netstandard]System.IDisposable::Dispose()
- /* (hidden)-(hidden) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x000007AC DC */ IL_009C: endfinally
- } // end handler
- /* (237,9)-(237,10) E:\repos\ClientLogParser\ClientLogParser\Overseer.cs */
- /* 0x000007AD 2A */ IL_009D: ret
- } // end of method Overseer::ParseNewEntry
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement