public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     SNOAppearance = buffer.ReadInt(32);
     SNOPhysMesh = buffer.ReadInt(32);
     AABBBounds = new AABB();
     AABBBounds.Parse(buffer);
     AABBMarkerSetBounds = new AABB();
     AABBMarkerSetBounds.Parse(buffer);
     Field5 = new NavMeshDef();
     Field5.Parse(buffer);
     serExclusions = new SerializeData();
     serExclusions.Parse(buffer);
     //still checking variablearrays
     this.Exclusions = new List<int>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _Exclusions.Count; loop12++)
     {
         _Exclusions[loop12] = buffer.ReadInt(0);
     }
     serInclusions = new SerializeData();
     serInclusions.Parse(buffer);
     //still checking variablearrays
     this.Inclusions = new List<int>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _Inclusions.Count; loop12++)
     {
         _Inclusions[loop12] = buffer.ReadInt(0);
     }
     serMarkerSets = new SerializeData();
     serMarkerSets.Parse(buffer);
     //still checking variablearrays
     this.MarkerSets = new List<int>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _MarkerSets.Count; loop12++)
     {
         _MarkerSets[loop12] = buffer.ReadInt(0);
     }
     Field12 = new LookLink();
     Field12.Parse(buffer);
     Field13 = buffer.ReadInt(32);
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.Parse(buffer);
     //still checking variablearrays
     this.MsgTriggeredEvents = new List<MsgTriggeredEvent>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _MsgTriggeredEvents.Count; loop12++)
     {
         _MsgTriggeredEvents[loop12] = new MsgTriggeredEvent();
         _MsgTriggeredEvents[loop12].Parse(buffer);
     }
     tNavZoneDef = new NavZoneDefinition();
     tNavZoneDef.Parse(buffer);
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadFloat32();
     Field3 = buffer.ReadFloat32();
     Field4 = buffer.ReadFloat32();
     Field5 = buffer.ReadFloat32();
     Field6 = buffer.ReadFloat32();
     Field7 = buffer.ReadFloat32();
     Field8 = new UberMaterial();
     Field8.Parse(buffer);
     snoPhysics = buffer.ReadInt(32);
     Field10 = buffer.ReadInt(32);
     Field11 = buffer.ReadInt(32);
     Field12 = buffer.ReadInt(32);
     Field13 = buffer.ReadInt(32);
     Field14 = new ColorPath();
     Field14.Parse(buffer);
     Field15 = new ColorPath();
     Field15.Parse(buffer);
     Field16 = new FloatPath();
     Field16.Parse(buffer);
     Field17 = new FloatPath();
     Field17.Parse(buffer);
     Field18 = new FloatPath();
     Field18.Parse(buffer);
     Field19 = new FloatPath();
     Field19.Parse(buffer);
     Field20 = new FloatPath();
     Field20.Parse(buffer);
     Field21 = new FloatPath();
     Field21.Parse(buffer);
     Field22 = new FloatPath();
     Field22.Parse(buffer);
     Field23 = new FloatPath();
     Field23.Parse(buffer);
     Field24 = new FloatPath();
     Field24.Parse(buffer);
     Field25 = new FloatPath();
     Field25.Parse(buffer);
     Field26 = new VectorPath();
     Field26.Parse(buffer);
     Field27 = new VelocityPath();
     Field27.Parse(buffer);
     Field28 = buffer.ReadFloat32();
     Field29 = buffer.ReadFloat32();
     Field30 = new FloatPath();
     Field30.Parse(buffer);
     Field31 = new FloatPath();
     Field31.Parse(buffer);
     Field32 = new FloatPath();
     Field32.Parse(buffer);
     Field33 = new FloatPath();
     Field33.Parse(buffer);
     Field34 = new FloatPath();
     Field34.Parse(buffer);
     Field35 = buffer.ReadInt(32);
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.Parse(buffer);
     //still checking variablearrays
     this.MsgTriggeredEvents = new List<MsgTriggeredEvent>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _MsgTriggeredEvents.Count; loop12++)
     {
         _MsgTriggeredEvents[loop12] = new MsgTriggeredEvent();
         _MsgTriggeredEvents[loop12].Parse(buffer);
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 12;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 776;
     SNOAppearance = stream.ReadValueS32();
     stream.Position = offset + 780;
     SNOPhysMesh = stream.ReadValueS32();
     stream.Position = offset + 16;
     AABBBounds = new AABB();
     AABBBounds.FileRead(stream, stream.Position);
     stream.Position = offset + 40;
     AABBMarkerSetBounds = new AABB();
     AABBMarkerSetBounds.FileRead(stream, stream.Position);
     stream.Position = offset + 64;
     Field5 = new NavMeshDef();
     Field5.FileRead(stream, stream.Position);
     stream.Position = offset + 360;
     serExclusions = new SerializeData();
     serExclusions.FileRead(stream, stream.Position);
     stream.Position = offset + 368;
     //still checking variablearrays
     Exclusions = new List<int>();
     for(int i = 0; i < (int)(serExclusions.Field1 / 4); i++)
     {
     stream.Position = serExclusions.Field0 + 16 + (4*i) ;
         int temp12_Exclusions;
         temp12_Exclusions = stream.ReadValueS32();
         _Exclusions.Add(temp12_Exclusions);
     }
     stream.Position = offset + 424;
     serInclusions = new SerializeData();
     serInclusions.FileRead(stream, stream.Position);
     stream.Position = offset + 432;
     //still checking variablearrays
     Inclusions = new List<int>();
     for(int i = 0; i < (int)(serInclusions.Field1 / 4); i++)
     {
     stream.Position = serInclusions.Field0 + 16 + (4*i) ;
         int temp12_Inclusions;
         temp12_Inclusions = stream.ReadValueS32();
         _Inclusions.Add(temp12_Inclusions);
     }
     stream.Position = offset + 488;
     serMarkerSets = new SerializeData();
     serMarkerSets.FileRead(stream, stream.Position);
     stream.Position = offset + 496;
     //still checking variablearrays
     MarkerSets = new List<int>();
     for(int i = 0; i < (int)(serMarkerSets.Field1 / 4); i++)
     {
     stream.Position = serMarkerSets.Field0 + 16 + (4*i) ;
         int temp12_MarkerSets;
         temp12_MarkerSets = stream.ReadValueS32();
         _MarkerSets.Add(temp12_MarkerSets);
     }
     stream.Position = offset + 552;
     Field12 = new LookLink();
     Field12.FileRead(stream, stream.Position);
     stream.Position = offset + 624;
     Field13 = stream.ReadValueS32();
     stream.Position = offset + 616;
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.FileRead(stream, stream.Position);
     stream.Position = offset + 632;
     //still checking variablearrays
     MsgTriggeredEvents = new List<MsgTriggeredEvent>();
     for(int i = 0; i < (int)(serMsgTriggeredEvents.Field1 / 412); i++)
     {
     stream.Position = serMsgTriggeredEvents.Field0 + 16 + (412*i) ;
         MsgTriggeredEvent temp12_MsgTriggeredEvents;
         temp12_MsgTriggeredEvents = new MsgTriggeredEvent();
         temp12_MsgTriggeredEvents.FileRead(stream, stream.Position);
         _MsgTriggeredEvents.Add(temp12_MsgTriggeredEvents);
     }
     stream.Position = offset + 640;
     tNavZoneDef = new NavZoneDefinition();
     tNavZoneDef.FileRead(stream, stream.Position);
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = new InterpolationScalar();
     Field5.Parse(buffer);
     Field6 = new FloatPath();
     Field6.Parse(buffer);
     Field7 = new IntPath();
     Field7.Parse(buffer);
     Field8 = new FloatPath();
     Field8.Parse(buffer);
     Field9 = new TimePath();
     Field9.Parse(buffer);
     Field10 = new FloatPath();
     Field10.Parse(buffer);
     Field11 = new VelocityVectorPath();
     Field11.Parse(buffer);
     Field12 = new AnglePath();
     Field12.Parse(buffer);
     Field13 = new VelocityVectorPath();
     Field13.Parse(buffer);
     Field14 = new VelocityPath();
     Field14.Parse(buffer);
     Field15 = new VelocityPath();
     Field15.Parse(buffer);
     Field16 = new VelocityPath();
     Field16.Parse(buffer);
     Field17 = new UberMaterial();
     Field17.Parse(buffer);
     snoPhysics = buffer.ReadInt(32);
     Field19 = buffer.ReadFloat32();
     Field20 = buffer.ReadInt(32);
     Field21 = buffer.ReadFloat32();
     Field22 = buffer.ReadFloat32();
     Field23 = buffer.ReadFloat32();
     Field24 = buffer.ReadFloat32();
     Field25 = buffer.ReadFloat32();
     Field26 = buffer.ReadFloat32();
     Field27 = buffer.ReadFloat32();
     snoActor = buffer.ReadInt(32);
     Field29 = new EmitterParams();
     Field29.Parse(buffer);
     Field30 = new FloatPath();
     Field30.Parse(buffer);
     Field31 = new ColorPath();
     Field31.Parse(buffer);
     Field32 = new FloatPath();
     Field32.Parse(buffer);
     Field33 = new FloatPath();
     Field33.Parse(buffer);
     Field34 = new AnglePath();
     Field34.Parse(buffer);
     Field35 = new AngularVelocityPath();
     Field35.Parse(buffer);
     Field36 = new AngularVelocityPath();
     Field36.Parse(buffer);
     Field37 = new AnglePath();
     Field37.Parse(buffer);
     Field38 = new VectorPath();
     Field38.Parse(buffer);
     Field39 = new FloatPath();
     Field39.Parse(buffer);
     Field40 = new VelocityPath();
     Field40.Parse(buffer);
     Field41 = new AngularVelocityPath();
     Field41.Parse(buffer);
     Field42 = new FloatPath();
     Field42.Parse(buffer);
     Field43 = new VelocityPath();
     Field43.Parse(buffer);
     Field44 = new VectorPath();
     Field44.Parse(buffer);
     Field45 = new VelocityVectorPath();
     Field45.Parse(buffer);
     Field46 = new AccelVectorPath();
     Field46.Parse(buffer);
     Field47 = new VectorPath();
     Field47.Parse(buffer);
     Field48 = new VelocityVectorPath();
     Field48.Parse(buffer);
     Field49 = new AccelVectorPath();
     Field49.Parse(buffer);
     Field50 = new VelocityPath();
     Field50.Parse(buffer);
     Field51 = new FloatPath();
     Field51.Parse(buffer);
     Field52 = new VectorPath();
     Field52.Parse(buffer);
     Field53 = new VelocityPath();
     Field53.Parse(buffer);
     Field54 = buffer.ReadFloat32();
     Field55 = buffer.ReadInt(32);
     Field56 = buffer.ReadFloat32();
     Field57 = buffer.ReadFloat32();
     Field58 = buffer.ReadInt(32);
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.Parse(buffer);
     //still checking variablearrays
     this.MsgTriggeredEvents = new List<MsgTriggeredEvent>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _MsgTriggeredEvents.Count; loop12++)
     {
         _MsgTriggeredEvents[loop12] = new MsgTriggeredEvent();
         _MsgTriggeredEvents[loop12].Parse(buffer);
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 12;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 16;
     Field1 = stream.ReadValueS32();
     stream.Position = offset + 20;
     Field2 = stream.ReadValueF32();
     stream.Position = offset + 24;
     Field3 = stream.ReadValueF32();
     stream.Position = offset + 28;
     Field4 = stream.ReadValueF32();
     stream.Position = offset + 32;
     Field5 = stream.ReadValueF32();
     stream.Position = offset + 36;
     Field6 = stream.ReadValueF32();
     stream.Position = offset + 40;
     Field7 = stream.ReadValueF32();
     stream.Position = offset + 48;
     Field8 = new UberMaterial();
     Field8.FileRead(stream, stream.Position);
     stream.Position = offset + 152;
     snoPhysics = stream.ReadValueS32();
     stream.Position = offset + 156;
     Field10 = stream.ReadValueS32();
     stream.Position = offset + 160;
     Field11 = stream.ReadValueS32();
     stream.Position = offset + 164;
     Field12 = stream.ReadValueS32();
     stream.Position = offset + 168;
     Field13 = stream.ReadValueS32();
     stream.Position = offset + 172;
     Field14 = new ColorPath();
     Field14.FileRead(stream, stream.Position);
     stream.Position = offset + 212;
     Field15 = new ColorPath();
     Field15.FileRead(stream, stream.Position);
     stream.Position = offset + 252;
     Field16 = new FloatPath();
     Field16.FileRead(stream, stream.Position);
     stream.Position = offset + 292;
     Field17 = new FloatPath();
     Field17.FileRead(stream, stream.Position);
     stream.Position = offset + 332;
     Field18 = new FloatPath();
     Field18.FileRead(stream, stream.Position);
     stream.Position = offset + 372;
     Field19 = new FloatPath();
     Field19.FileRead(stream, stream.Position);
     stream.Position = offset + 412;
     Field20 = new FloatPath();
     Field20.FileRead(stream, stream.Position);
     stream.Position = offset + 452;
     Field21 = new FloatPath();
     Field21.FileRead(stream, stream.Position);
     stream.Position = offset + 492;
     Field22 = new FloatPath();
     Field22.FileRead(stream, stream.Position);
     stream.Position = offset + 532;
     Field23 = new FloatPath();
     Field23.FileRead(stream, stream.Position);
     stream.Position = offset + 572;
     Field24 = new FloatPath();
     Field24.FileRead(stream, stream.Position);
     stream.Position = offset + 612;
     Field25 = new FloatPath();
     Field25.FileRead(stream, stream.Position);
     stream.Position = offset + 652;
     Field26 = new VectorPath();
     Field26.FileRead(stream, stream.Position);
     stream.Position = offset + 692;
     Field27 = new VelocityPath();
     Field27.FileRead(stream, stream.Position);
     stream.Position = offset + 732;
     Field28 = stream.ReadValueF32();
     stream.Position = offset + 736;
     Field29 = stream.ReadValueF32();
     stream.Position = offset + 740;
     Field30 = new FloatPath();
     Field30.FileRead(stream, stream.Position);
     stream.Position = offset + 780;
     Field31 = new FloatPath();
     Field31.FileRead(stream, stream.Position);
     stream.Position = offset + 820;
     Field32 = new FloatPath();
     Field32.FileRead(stream, stream.Position);
     stream.Position = offset + 860;
     Field33 = new FloatPath();
     Field33.FileRead(stream, stream.Position);
     stream.Position = offset + 900;
     Field34 = new FloatPath();
     Field34.FileRead(stream, stream.Position);
     stream.Position = offset + 948;
     Field35 = stream.ReadValueS32();
     stream.Position = offset + 940;
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.FileRead(stream, stream.Position);
     stream.Position = offset + 952;
     //still checking variablearrays
     MsgTriggeredEvents = new List<MsgTriggeredEvent>();
     for(int i = 0; i < (int)(serMsgTriggeredEvents.Field1 / 412); i++)
     {
     stream.Position = serMsgTriggeredEvents.Field0 + 16 + (412*i) ;
         MsgTriggeredEvent temp12_MsgTriggeredEvents;
         temp12_MsgTriggeredEvents = new MsgTriggeredEvent();
         temp12_MsgTriggeredEvents.FileRead(stream, stream.Position);
         _MsgTriggeredEvents.Add(temp12_MsgTriggeredEvents);
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 12;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 16;
     Field1 = stream.ReadValueS32();
     stream.Position = offset + 20;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 24;
     Field3 = stream.ReadValueS32();
     stream.Position = offset + 28;
     Field4 = stream.ReadValueS32();
     stream.Position = offset + 32;
     Field5 = new InterpolationScalar();
     Field5.FileRead(stream, stream.Position);
     stream.Position = offset + 44;
     Field6 = new FloatPath();
     Field6.FileRead(stream, stream.Position);
     stream.Position = offset + 84;
     Field7 = new IntPath();
     Field7.FileRead(stream, stream.Position);
     stream.Position = offset + 124;
     Field8 = new FloatPath();
     Field8.FileRead(stream, stream.Position);
     stream.Position = offset + 164;
     Field9 = new TimePath();
     Field9.FileRead(stream, stream.Position);
     stream.Position = offset + 204;
     Field10 = new FloatPath();
     Field10.FileRead(stream, stream.Position);
     stream.Position = offset + 284;
     Field11 = new VelocityVectorPath();
     Field11.FileRead(stream, stream.Position);
     stream.Position = offset + 244;
     Field12 = new AnglePath();
     Field12.FileRead(stream, stream.Position);
     stream.Position = offset + 324;
     Field13 = new VelocityVectorPath();
     Field13.FileRead(stream, stream.Position);
     stream.Position = offset + 364;
     Field14 = new VelocityPath();
     Field14.FileRead(stream, stream.Position);
     stream.Position = offset + 404;
     Field15 = new VelocityPath();
     Field15.FileRead(stream, stream.Position);
     stream.Position = offset + 444;
     Field16 = new VelocityPath();
     Field16.FileRead(stream, stream.Position);
     stream.Position = offset + 568;
     Field17 = new UberMaterial();
     Field17.FileRead(stream, stream.Position);
     stream.Position = offset + 672;
     snoPhysics = stream.ReadValueS32();
     stream.Position = offset + 676;
     Field19 = stream.ReadValueF32();
     stream.Position = offset + 680;
     Field20 = stream.ReadValueS32();
     stream.Position = offset + 684;
     Field21 = stream.ReadValueF32();
     stream.Position = offset + 688;
     Field22 = stream.ReadValueF32();
     stream.Position = offset + 692;
     Field23 = stream.ReadValueF32();
     stream.Position = offset + 696;
     Field24 = stream.ReadValueF32();
     stream.Position = offset + 700;
     Field25 = stream.ReadValueF32();
     stream.Position = offset + 704;
     Field26 = stream.ReadValueF32();
     stream.Position = offset + 708;
     Field27 = stream.ReadValueF32();
     stream.Position = offset + 712;
     snoActor = stream.ReadValueS32();
     stream.Position = offset + 716;
     Field29 = new EmitterParams();
     Field29.FileRead(stream, stream.Position);
     stream.Position = offset + 1008;
     Field30 = new FloatPath();
     Field30.FileRead(stream, stream.Position);
     stream.Position = offset + 968;
     Field31 = new ColorPath();
     Field31.FileRead(stream, stream.Position);
     stream.Position = offset + 1048;
     Field32 = new FloatPath();
     Field32.FileRead(stream, stream.Position);
     stream.Position = offset + 1088;
     Field33 = new FloatPath();
     Field33.FileRead(stream, stream.Position);
     stream.Position = offset + 1128;
     Field34 = new AnglePath();
     Field34.FileRead(stream, stream.Position);
     stream.Position = offset + 1168;
     Field35 = new AngularVelocityPath();
     Field35.FileRead(stream, stream.Position);
     stream.Position = offset + 1208;
     Field36 = new AngularVelocityPath();
     Field36.FileRead(stream, stream.Position);
     stream.Position = offset + 1248;
     Field37 = new AnglePath();
     Field37.FileRead(stream, stream.Position);
     stream.Position = offset + 1288;
     Field38 = new VectorPath();
     Field38.FileRead(stream, stream.Position);
     stream.Position = offset + 1328;
     Field39 = new FloatPath();
     Field39.FileRead(stream, stream.Position);
     stream.Position = offset + 1368;
     Field40 = new VelocityPath();
     Field40.FileRead(stream, stream.Position);
     stream.Position = offset + 1408;
     Field41 = new AngularVelocityPath();
     Field41.FileRead(stream, stream.Position);
     stream.Position = offset + 1448;
     Field42 = new FloatPath();
     Field42.FileRead(stream, stream.Position);
     stream.Position = offset + 1488;
     Field43 = new VelocityPath();
     Field43.FileRead(stream, stream.Position);
     stream.Position = offset + 1528;
     Field44 = new VectorPath();
     Field44.FileRead(stream, stream.Position);
     stream.Position = offset + 1568;
     Field45 = new VelocityVectorPath();
     Field45.FileRead(stream, stream.Position);
     stream.Position = offset + 1608;
     Field46 = new AccelVectorPath();
     Field46.FileRead(stream, stream.Position);
     stream.Position = offset + 1648;
     Field47 = new VectorPath();
     Field47.FileRead(stream, stream.Position);
     stream.Position = offset + 1688;
     Field48 = new VelocityVectorPath();
     Field48.FileRead(stream, stream.Position);
     stream.Position = offset + 1728;
     Field49 = new AccelVectorPath();
     Field49.FileRead(stream, stream.Position);
     stream.Position = offset + 1768;
     Field50 = new VelocityPath();
     Field50.FileRead(stream, stream.Position);
     stream.Position = offset + 1808;
     Field51 = new FloatPath();
     Field51.FileRead(stream, stream.Position);
     stream.Position = offset + 484;
     Field52 = new VectorPath();
     Field52.FileRead(stream, stream.Position);
     stream.Position = offset + 524;
     Field53 = new VelocityPath();
     Field53.FileRead(stream, stream.Position);
     stream.Position = offset + 564;
     Field54 = stream.ReadValueF32();
     stream.Position = offset + 1848;
     Field55 = stream.ReadValueS32();
     stream.Position = offset + 1852;
     Field56 = stream.ReadValueF32();
     stream.Position = offset + 1856;
     Field57 = stream.ReadValueF32();
     stream.Position = offset + 1868;
     Field58 = stream.ReadValueS32();
     stream.Position = offset + 1860;
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.FileRead(stream, stream.Position);
     stream.Position = offset + 1872;
     //still checking variablearrays
     MsgTriggeredEvents = new List<MsgTriggeredEvent>();
     for(int i = 0; i < (int)(serMsgTriggeredEvents.Field1 / 412); i++)
     {
     stream.Position = serMsgTriggeredEvents.Field0 + 16 + (412*i) ;
         MsgTriggeredEvent temp12_MsgTriggeredEvents;
         temp12_MsgTriggeredEvents = new MsgTriggeredEvent();
         temp12_MsgTriggeredEvents.FileRead(stream, stream.Position);
         _MsgTriggeredEvents.Add(temp12_MsgTriggeredEvents);
     }
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Type = buffer.ReadInt(4);
     ApperanceSNO = buffer.ReadInt(32);
     PhysMeshSNO = buffer.ReadInt(32);
     Cylinder = new AxialCylinder();
     Cylinder.Parse(buffer);
     Sphere = new Sphere();
     Sphere.Parse(buffer);
     AABBBounds = new AABB();
     AABBBounds.Parse(buffer);
     serTagMap = new SerializeData();
     serTagMap.Parse(buffer);
     TagMap = new DT_TAGMAP();
     TagMap.Parse(buffer);
     AnimSetSNO = buffer.ReadInt(32);
     MonsterSNO = buffer.ReadInt(32);
     Field11 = buffer.ReadInt(32);
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.Parse(buffer);
     //still checking variablearrays
     this.MsgTriggeredEvents = new List<MsgTriggeredEvent>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _MsgTriggeredEvents.Count; loop12++)
     {
         _MsgTriggeredEvents[loop12] = new MsgTriggeredEvent();
         _MsgTriggeredEvents[loop12].Parse(buffer);
     }
     V0 = new Vector3D();
     V0.Parse(buffer);
     Looks = new WeightedLook[8];
     for(int i = 0;i < _Looks.Length;i++)
     {
         _Looks[i] = new WeightedLook();
         _Looks[i].Parse(buffer);
     }
     PhysicsSNO = buffer.ReadInt(32);
     Field17 = buffer.ReadInt(32);
     Field18 = buffer.ReadInt(32);
     Field19 = buffer.ReadFloat32();
     Field20 = buffer.ReadFloat32();
     Field21 = buffer.ReadFloat32();
     ActorCollisionData = new ActorCollisionData();
     ActorCollisionData.Parse(buffer);
     InventoryImages = new InventoryImages[5];
     for(int i = 0;i < _InventoryImages.Length;i++)
     {
         _InventoryImages[i] = new InventoryImages();
         _InventoryImages[i].Parse(buffer);
     }
     Field24 = buffer.ReadInt(32);
     serVOCastingNotes = new SerializeData();
     serVOCastingNotes.Parse(buffer);
     throw new Exception("DT_CSTRING in network packets not implemented.");
     serVORole = new SerializeData();
     serVORole.Parse(buffer);
     throw new Exception("DT_CSTRING in network packets not implemented.");
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 12;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 16;
     _Type = stream.ReadValueS32();
     stream.Position = offset + 20;
     ApperanceSNO = stream.ReadValueS32();
     stream.Position = offset + 24;
     PhysMeshSNO = stream.ReadValueS32();
     stream.Position = offset + 28;
     Cylinder = new AxialCylinder();
     Cylinder.FileRead(stream, stream.Position);
     stream.Position = offset + 48;
     Sphere = new Sphere();
     Sphere.FileRead(stream, stream.Position);
     stream.Position = offset + 64;
     AABBBounds = new AABB();
     AABBBounds.FileRead(stream, stream.Position);
     stream.Position = offset + 88;
     serTagMap = new SerializeData();
     serTagMap.FileRead(stream, stream.Position);
     stream.Position = offset + 96;
     // TagMap: type DT_TAGMAP hasnt a deserializer implemented
     throw new Exception("some fields arent going to be decoded.");
     stream.Position = offset + 104;
     AnimSetSNO = stream.ReadValueS32();
     stream.Position = offset + 108;
     MonsterSNO = stream.ReadValueS32();
     stream.Position = offset + 120;
     Field11 = stream.ReadValueS32();
     stream.Position = offset + 112;
     serMsgTriggeredEvents = new SerializeData();
     serMsgTriggeredEvents.FileRead(stream, stream.Position);
     stream.Position = offset + 128;
     //still checking variablearrays
     MsgTriggeredEvents = new List<MsgTriggeredEvent>();
     for(int i = 0; i < (int)(serMsgTriggeredEvents.Field1 / 412); i++)
     {
     stream.Position = serMsgTriggeredEvents.Field0 + 16 + (412*i) ;
         MsgTriggeredEvent temp12_MsgTriggeredEvents;
         temp12_MsgTriggeredEvents = new MsgTriggeredEvent();
         temp12_MsgTriggeredEvents.FileRead(stream, stream.Position);
         _MsgTriggeredEvents.Add(temp12_MsgTriggeredEvents);
     }
     stream.Position = offset + 136;
     V0 = new Vector3D();
     V0.FileRead(stream, stream.Position);
     stream.Position = offset + 148;
     Looks = new WeightedLook[8];
     for(int loop12=0; loop12 < 8; loop12++ )
     {
         WeightedLook temp12_Looks;
         temp12_Looks = new WeightedLook();
         temp12_Looks.FileRead(stream, stream.Position);
         _Looks[loop12] = temp12_Looks;
     }
     stream.Position = offset + 692;
     PhysicsSNO = stream.ReadValueS32();
     stream.Position = offset + 696;
     Field17 = stream.ReadValueS32();
     stream.Position = offset + 700;
     Field18 = stream.ReadValueS32();
     stream.Position = offset + 704;
     Field19 = stream.ReadValueF32();
     stream.Position = offset + 708;
     Field20 = stream.ReadValueF32();
     stream.Position = offset + 712;
     Field21 = stream.ReadValueF32();
     stream.Position = offset + 716;
     ActorCollisionData = new ActorCollisionData();
     ActorCollisionData.FileRead(stream, stream.Position);
     stream.Position = offset + 784;
     InventoryImages = new InventoryImages[5];
     for(int loop12=0; loop12 < 5; loop12++ )
     {
         InventoryImages temp12_InventoryImages;
         temp12_InventoryImages = new InventoryImages();
         temp12_InventoryImages.FileRead(stream, stream.Position);
         _InventoryImages[loop12] = temp12_InventoryImages;
     }
     stream.Position = offset + 824;
     Field24 = stream.ReadValueS32();
     stream.Position = offset + 840;
     serVOCastingNotes = new SerializeData();
     serVOCastingNotes.FileRead(stream, stream.Position);
     stream.Position = offset + 832;
     //still checking cstrings
     stream.Position = serVOCastingNotes.Field0 + 16;
     VOCastingNotes = stream.ReadString((uint)serVOCastingNotes.Field1);
     stream.Position = offset + 856;
     serVORole = new SerializeData();
     serVORole.FileRead(stream, stream.Position);
     stream.Position = offset + 848;
     //still checking cstrings
     stream.Position = serVORole.Field0 + 16;
     VORole = stream.ReadString((uint)serVORole.Field1);
 }
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Name = buffer.ReadCharArray(64);
     TriggeredEvent = new MsgTriggeredEvent();
     TriggeredEvent.Parse(buffer);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 4;
     Name = stream.ReadString(64);
     stream.Position = offset + 68;
     TriggeredEvent = new MsgTriggeredEvent();
     TriggeredEvent.FileRead(stream, stream.Position);
 }