Пример #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;
        }
Пример #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;
 }