public override void Parse(GameBitBuffer buffer) { ColFlags = new ActorCollisionFlags(); ColFlags.Parse(buffer); Field1 = buffer.ReadInt(32); Cylinder = new AxialCylinder(); Cylinder.Parse(buffer); AABB = new AABB(); AABB.Parse(buffer); Field4 = buffer.ReadFloat32(); }
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."); }