public override void Write(PacketWriter w) { w.Write((byte)EffectType); w.Write(TargetId); PosA.Write(w); PosB.Write(w); Color.Write(w); }