public override void WriteData(ESPWriter writer) { if (EditorID != null) { EditorID.WriteBinary(writer); } if (Model != null) { Model.WriteBinary(writer); } if (Data != null) { Data.WriteBinary(writer); } if (DecalData != null) { DecalData.WriteBinary(writer); } if (TextureSet != null) { TextureSet.WriteBinary(writer); } if (Sound1 != null) { Sound1.WriteBinary(writer); } if (Sound2 != null) { Sound2.WriteBinary(writer); } }
protected override void WriteData(ESPWriter writer) { writer.Write(Force); writer.Write(Damage); writer.Write(Radius); Light.WriteBinary(writer); Sound1.WriteBinary(writer); writer.Write((UInt32)Flags); writer.Write(ISRadius); ImpactDataSet.WriteBinary(writer); Sound2.WriteBinary(writer); writer.Write(RadiationLevel); writer.Write(RadiationDissipationTime); writer.Write(RadiationRadius); writer.Write((UInt32)SoundLevel); }