public override void NetWrite(PacketWriter writer) { writer.Write(NetGame.MSG_PARTICLE); writer.Write(Particle.PARTICLE_BLOOD); writer.Write(Background); writer.Write(NetPacker.BigFloatToShort(Location.X)); writer.Write(NetPacker.BigFloatToShort(Location.Y)); writer.Write(NetPacker.BigFloatToShort(Trajectory.X)); writer.Write(NetPacker.BigFloatToShort(Trajectory.Y)); writer.Write(NetPacker.TinyFloatToByte(r)); writer.Write(NetPacker.TinyFloatToByte(g)); writer.Write(NetPacker.TinyFloatToByte(b)); writer.Write(NetPacker.TinyFloatToByte(a)); writer.Write(NetPacker.SmallFloatToShort(size)); writer.Write(NetPacker.IntToSbyte(flag)); }