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); } }
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); } }
public override void Parse(ActionParser parser) { int length = parser.ReadInt32(); Data = parser.ReadBytes(length); }