Exemplo n.º 1
0
 public void Read(MpqFileStream stream)
 {
     this.Name        = stream.ReadString(128, true);
     LabelCondition   = new LabelCondition(stream);
     Int0             = stream.ReadValueS32();
     LabelCount       = stream.ReadValueS32();
     stream.Position += (2 * 4);
     this.Entries     = stream.ReadSerializedData <LabelEntry>();
 }
Exemplo n.º 2
0
Arquivo: World.cs Projeto: Naxp/mooege
 public void Read(MpqFileStream stream)
 {
     this.Name = stream.ReadString(128, true);
     LabelCondition = new LabelCondition(stream);
     Int0 = stream.ReadValueS32();
     LabelCount = stream.ReadValueS32();
     stream.Position += (2 * 4);
     this.Entries = stream.ReadSerializedData<LabelEntry>();
 }