示例#1
0
        public override void Parse(ActionParser parser)
        {
            int nr1 = parser.ReadInt32();

            string txt = parser.ReadFourByteString();

            if (txt == "txtu")
            {
                int nr2 = parser.ReadByte();

                int length = parser.ReadInt32();

                for (int i = 0; i < 2; i++)
                {
                    parser.ReadByte();
                }

                Path = parser.ReadUnicodeString(length);
                parser.ReadByte();
            }
            else
            {
                parser.ReadBytes(9);
                Path = parser.ReadString();
                parser.ReadBytes(255 - Path.Length);
            }
        }
示例#2
0
        public override void Parse(ActionParser parser)
        {
            int nr1 = parser.ReadInt32();

              string txt = parser.ReadFourByteString();

              if (txt == "txtu")
            {
              int nr2 = parser.ReadByte();

              int length = parser.ReadInt32();

              for (int i = 0; i < 2; i++)
            parser.ReadByte();

              Path = parser.ReadUnicodeString(length);
              parser.ReadByte();
            }
              else
            {
              parser.ReadBytes(9);
              Path = parser.ReadString();
              parser.ReadBytes(255 - Path.Length);
            }
        }
示例#3
0
        public override void Parse(ActionParser parser)
        {
            int length = parser.ReadInt32();

            Data = parser.ReadBytes(length);
        }
示例#4
0
 public override void Parse(ActionParser parser)
 {
     int length = parser.ReadInt32();
       Data = parser.ReadBytes(length);
 }