Esempio n. 1
0
        public void Initialize()
        {
            Commons.TORLog.Info("Loading Opcodes ...");
            XmlSerializer ser = new XmlSerializer(typeof(OpcodeList));

            _opcodeList = ser.Deserialize(new FileStream("Packets\\Opcodes.xml", FileMode.Open)) as OpcodeList;
        }
Esempio n. 2
0
 public void Initialize()
 {
     Commons.TORLog.Info("Loading Opcodes ...");
     XmlSerializer ser = new XmlSerializer(typeof(OpcodeList));
     _opcodeList = ser.Deserialize(new FileStream("Packets\\Opcodes.xml", FileMode.Open)) as OpcodeList;
 }