public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     TriggerConditions = new TriggerConditions();
     TriggerConditions.Parse(buffer);
     Field2 = buffer.ReadInt(32);
     Field3 = new SNOName();
     Field3.Parse(buffer);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadInt(32);
     HardPointLinks = new HardpointLink[2];
     for(int i = 0;i < _HardPointLinks.Length;i++)
     {
         _HardPointLinks[i] = new HardpointLink();
         _HardPointLinks[i].Parse(buffer);
     }
     LookLink = new LookLink();
     LookLink.Parse(buffer);
     ConstraintLink = new ConstraintLink();
     ConstraintLink.Parse(buffer);
     Field9 = buffer.ReadInt(32);
     Field10 = buffer.ReadFloat32();
     Field11 = buffer.ReadInt(32);
     Field12 = buffer.ReadInt(32);
     Field13 = buffer.ReadInt(32);
     Field14 = buffer.ReadInt(32);
     Field15 = buffer.ReadInt(32);
     Field16 = buffer.ReadFloat32();
     Field17 = buffer.ReadFloat32();
     Field18 = buffer.ReadInt(32);
     Field19 = buffer.ReadInt(32);
     Field20 = buffer.ReadFloat32();
     Field21 = buffer.ReadInt(32);
     Velocity = buffer.ReadFloat32();
     Ticks1 = buffer.ReadInt(32);
     RuneType = buffer.ReadInt(32);
     UseRuneType = buffer.ReadInt(32);
     Color1 = new RGBAColor();
     Color1.Parse(buffer);
     Field27 = buffer.ReadInt(32);
     Color2 = new RGBAColor();
     Color2.Parse(buffer);
     Field29 = buffer.ReadInt(32);
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = new RequiredMessageHeader();
     Field0.Parse(buffer);
     Name = new SNOName();
     Name.Parse(buffer);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 4;
     TriggerConditions = new TriggerConditions();
     TriggerConditions.FileRead(stream, stream.Position);
     stream.Position = offset + 40;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 44;
     Field3 = new SNOName();
     Field3.FileRead(stream, stream.Position);
     stream.Position = offset + 52;
     Field4 = stream.ReadValueS32();
     stream.Position = offset + 56;
     Field5 = stream.ReadValueS32();
     stream.Position = offset + 68;
     HardPointLinks = new HardpointLink[2];
     for(int loop12=0; loop12 < 2; loop12++ )
     {
         HardpointLink temp12_HardPointLinks;
         temp12_HardPointLinks = new HardpointLink();
         temp12_HardPointLinks.FileRead(stream, stream.Position);
         _HardPointLinks[loop12] = temp12_HardPointLinks;
     }
     stream.Position = offset + 204;
     LookLink = new LookLink();
     LookLink.FileRead(stream, stream.Position);
     stream.Position = offset + 268;
     ConstraintLink = new ConstraintLink();
     ConstraintLink.FileRead(stream, stream.Position);
     stream.Position = offset + 332;
     Field9 = stream.ReadValueS32();
     stream.Position = offset + 336;
     Field10 = stream.ReadValueF32();
     stream.Position = offset + 340;
     Field11 = stream.ReadValueS32();
     stream.Position = offset + 344;
     Field12 = stream.ReadValueS32();
     stream.Position = offset + 348;
     Field13 = stream.ReadValueS32();
     stream.Position = offset + 352;
     Field14 = stream.ReadValueS32();
     stream.Position = offset + 356;
     Field15 = stream.ReadValueS32();
     stream.Position = offset + 360;
     Field16 = stream.ReadValueF32();
     stream.Position = offset + 364;
     Field17 = stream.ReadValueF32();
     stream.Position = offset + 384;
     Field18 = stream.ReadValueS32();
     stream.Position = offset + 368;
     Field19 = stream.ReadValueS32();
     stream.Position = offset + 372;
     Field20 = stream.ReadValueF32();
     stream.Position = offset + 376;
     Field21 = stream.ReadValueS32();
     stream.Position = offset + 380;
     Velocity = stream.ReadValueF32();
     stream.Position = offset + 388;
     Ticks1 = stream.ReadValueS32();
     stream.Position = offset + 60;
     RuneType = stream.ReadValueS32();
     stream.Position = offset + 64;
     UseRuneType = stream.ReadValueS32();
     stream.Position = offset + 392;
     Color1 = new RGBAColor();
     Color1.FileRead(stream, stream.Position);
     stream.Position = offset + 396;
     Field27 = stream.ReadValueS32();
     stream.Position = offset + 400;
     Color2 = new RGBAColor();
     Color2.FileRead(stream, stream.Position);
     stream.Position = offset + 404;
     Field29 = stream.ReadValueS32();
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = new SNOName();
     Field0.Parse(buffer);
     Field1 = new PRTransform();
     Field1.Parse(buffer);
     Field2 = new SceneSpecification();
     Field2.Parse(buffer);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new RequiredMessageHeader();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     Name = new SNOName();
     Name.FileRead(stream, stream.Position);
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     ObjectiveType = buffer.ReadInt(4);
     Field2 = buffer.ReadInt(32);
     CounterTarget = buffer.ReadInt(32);
     SNOName1 = new SNOName();
     SNOName1.Parse(buffer);
     SNOName2 = new SNOName();
     SNOName2.Parse(buffer);
     GBID1 = buffer.ReadInt(32);
     GBID2 = buffer.ReadInt(32);
     Group1Name = buffer.ReadCharArray(256);
     Unknown2 = buffer.ReadCharArray(256);
     Field10 = buffer.ReadBool();
     Field11 = buffer.ReadInt(32);
     GBIDItemToShow = buffer.ReadInt(32);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new SNOName();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     Field1 = new PRTransform();
     Field1.FileRead(stream, stream.Position);
     stream.Position = offset + 36;
     Field2 = new SceneSpecification();
     Field2.FileRead(stream, stream.Position);
 }
 public override void Parse(GameBitBuffer buffer)
 {
     ConditionType = buffer.ReadInt(3);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     SNOName1 = new SNOName();
     SNOName1.Parse(buffer);
     SNOName2 = new SNOName();
     SNOName2.Parse(buffer);
     GBID1 = buffer.ReadInt(32);
     GBID2 = buffer.ReadInt(32);
     Unknown1 = buffer.ReadCharArray(256);
     Unknown2 = buffer.ReadCharArray(256);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 4;
     _ObjectiveType = stream.ReadValueS32();
     stream.Position = offset + 8;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 12;
     CounterTarget = stream.ReadValueS32();
     stream.Position = offset + 16;
     SNOName1 = new SNOName();
     SNOName1.FileRead(stream, stream.Position);
     stream.Position = offset + 24;
     SNOName2 = new SNOName();
     SNOName2.FileRead(stream, stream.Position);
     stream.Position = offset + 32;
     GBID1 = stream.ReadValueS32();
     stream.Position = offset + 36;
     GBID2 = stream.ReadValueS32();
     stream.Position = offset + 40;
     Group1Name = stream.ReadString(256);
     stream.Position = offset + 296;
     Unknown2 = stream.ReadString(256);
     stream.Position = offset + 552;
     Field10 = stream.ReadValueS32() == 1;
     stream.Position = offset + 556;
     Field11 = stream.ReadValueS32();
     stream.Position = offset + 560;
     GBIDItemToShow = stream.ReadValueS32();
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Name = buffer.ReadCharArray(128);
     Type = buffer.ReadInt(32);
     PRTransform = new PRTransform();
     PRTransform.Parse(buffer);
     Field3 = new SNOName();
     Field3.Parse(buffer);
     serTagMap = new SerializeData();
     serTagMap.Parse(buffer);
     TagMap = new DT_TAGMAP();
     TagMap.Parse(buffer);
     Field6 = buffer.ReadInt(32);
     serMarkerLinks = new SerializeData();
     serMarkerLinks.Parse(buffer);
     //still checking variablearrays
     this.MarkerLinks = new List<MarkerLink>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _MarkerLinks.Count; loop12++)
     {
         _MarkerLinks[loop12] = new MarkerLink();
         _MarkerLinks[loop12].Parse(buffer);
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     _ConditionType = stream.ReadValueS32();
     stream.Position = offset + 4;
     Field1 = stream.ReadValueS32();
     stream.Position = offset + 8;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 12;
     SNOName1 = new SNOName();
     SNOName1.FileRead(stream, stream.Position);
     stream.Position = offset + 20;
     SNOName2 = new SNOName();
     SNOName2.FileRead(stream, stream.Position);
     stream.Position = offset + 28;
     GBID1 = stream.ReadValueS32();
     stream.Position = offset + 32;
     GBID2 = stream.ReadValueS32();
     stream.Position = offset + 36;
     Unknown1 = stream.ReadString(256);
     stream.Position = offset + 292;
     Unknown2 = stream.ReadString(256);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Name = stream.ReadString(128);
     stream.Position = offset + 128;
     Type = stream.ReadValueS32();
     stream.Position = offset + 132;
     PRTransform = new PRTransform();
     PRTransform.FileRead(stream, stream.Position);
     stream.Position = offset + 160;
     Field3 = new SNOName();
     Field3.FileRead(stream, stream.Position);
     stream.Position = offset + 168;
     serTagMap = new SerializeData();
     serTagMap.FileRead(stream, stream.Position);
     stream.Position = offset + 176;
     // TagMap: type DT_TAGMAP hasnt a deserializer implemented
     throw new Exception("some fields arent going to be decoded.");
     stream.Position = offset + 184;
     Field6 = stream.ReadValueS32();
     stream.Position = offset + 188;
     serMarkerLinks = new SerializeData();
     serMarkerLinks.FileRead(stream, stream.Position);
     stream.Position = offset + 200;
     //still checking variablearrays
     MarkerLinks = new List<MarkerLink>();
     for(int i = 0; i < (int)(serMarkerLinks.Field1 / 256); i++)
     {
     stream.Position = serMarkerLinks.Field0 + 16 + (256*i) ;
         MarkerLink temp12_MarkerLinks;
         temp12_MarkerLinks = new MarkerLink();
         temp12_MarkerLinks.FileRead(stream, stream.Position);
         _MarkerLinks.Add(temp12_MarkerLinks);
     }
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = new SNOName();
     Field0.Parse(buffer);
     Field1 = buffer.ReadInt(3);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadInt(32);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new SNOName();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     _Field1 = stream.ReadValueS32();
     stream.Position = offset + 12;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 16;
     Field3 = stream.ReadValueS32();
     stream.Position = offset + 20;
     Field4 = stream.ReadValueS32();
     stream.Position = offset + 24;
     Field5 = stream.ReadValueS32();
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Min = buffer.ReadInt(32);
     Max = buffer.ReadInt(32);
     Field2 = new SNOName();
     Field2.Parse(buffer);
     Field3 = buffer.ReadInt(32);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Min = stream.ReadValueS32();
     stream.Position = offset + 4;
     Max = stream.ReadValueS32();
     stream.Position = offset + 8;
     Field2 = new SNOName();
     Field2.FileRead(stream, stream.Position);
     stream.Position = offset + 16;
     Field3 = stream.ReadValueS32();
 }