// EQStreamProcessor is the class that generates the SQL. It calls the relevant patch specific decoder to decode the packets
        // and return the relevant data in a standardized internal format.
        public EQStreamProcessor()
        {
            ZonePointList = null;

            Packets = new PacketManager();

            // Tell the PacketManager to call our Identify method to identify the packet stream. We will then call the different
            // patch specific Identifiers to identify the patch version.

            Packets.SetVersionIdentifierMethod(Identify);

            // Put our supported patch version decoders into the list.

            PatchList = new List<PatchSpecficDecoder>();

            PatchList.Add(new PatchMay122010Decoder());

            PatchList.Add(new PatchJuly132010Decoder());

            PatchList.Add(new PatchTestSep012010Decoder());

            PatchList.Add(new PatchTestSep222010Decoder());

            PatchList.Add(new PatchOct202010Decoder());

            PatchList.Add(new PatchDec072010Decoder());

            PatchList.Add(new PatchFeb082011Decoder());

            PatchList.Add(new PatchMarch152011Decoder());

            PatchList.Add(new PatchMay122011Decoder());

            PatchList.Add(new PatchMay242011Decoder());

            PatchList.Add(new PatchAug042011Decoder());

            PatchList.Add(new PatchNov172011Decoder());

            PatchList.Add(new PatchMar152012Decoder());

            PatchList.Add(new PatchJune252012Decoder());

            PatchList.Add(new PatchJuly132012Decoder());

            PatchList.Add(new PatchAugust152012Decoder());

            PatchList.Add(new PatchDecember102012Decoder());

            PatchList.Add(new PatchJanuary162013Decoder());

            PatchList.Add(new PatchTestServerJanuary162013Decoder());

            PatchList.Add(new PatchTestServerFebruary52013Decoder());

            PatchList.Add(new PatchFebruary112013Decoder());

            PatchList.Add(new PatchSoD());
        }
Exemple #2
0
 public void GivePackets(PacketManager pm)
 {
     Packets = pm;
 }