예제 #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;
 }