public override void WriteData(ESPWriter writer) { if (EditorID != null) { EditorID.WriteBinary(writer); } if (ObjectBounds != null) { ObjectBounds.WriteBinary(writer); } if (Name != null) { Name.WriteBinary(writer); } if (Model != null) { Model.WriteBinary(writer); } if (Script != null) { Script.WriteBinary(writer); } if (Destructable != null) { Destructable.WriteBinary(writer); } if (LoopingSound != null) { LoopingSound.WriteBinary(writer); } if (ActivationSound != null) { ActivationSound.WriteBinary(writer); } if (RadioTemplate != null) { RadioTemplate.WriteBinary(writer); } if (RadioStation != null) { RadioStation.WriteBinary(writer); } if (WaterType != null) { WaterType.WriteBinary(writer); } if (ActivationPrompt != null) { ActivationPrompt.WriteBinary(writer); } }
public override void WriteData(ESPWriter writer) { if (EditorID != null) { EditorID.WriteBinary(writer); } if (ObjectBounds != null) { ObjectBounds.WriteBinary(writer); } if (Name != null) { Name.WriteBinary(writer); } if (Model != null) { Model.WriteBinary(writer); } if (Script != null) { Script.WriteBinary(writer); } if (Destructable != null) { Destructable.WriteBinary(writer); } if (WelcomeText != null) { WelcomeText.WriteBinary(writer); } if (LoopingSound != null) { LoopingSound.WriteBinary(writer); } if (Password != null) { Password.WriteBinary(writer); } if (Data != null) { Data.WriteBinary(writer); } if (Selections != null) { foreach (var item in Selections) { item.WriteBinary(writer); } } }
public override void WriteData(ESPWriter writer) { if (EditorID != null) { EditorID.WriteBinary(writer); } if (ObjectBounds != null) { ObjectBounds.WriteBinary(writer); } if (Name != null) { Name.WriteBinary(writer); } if (Model != null) { Model.WriteBinary(writer); } if (Script != null) { Script.WriteBinary(writer); } if (Destructable != null) { Destructable.WriteBinary(writer); } if (OpenSound != null) { OpenSound.WriteBinary(writer); } if (CloseSound != null) { CloseSound.WriteBinary(writer); } if (LoopingSound != null) { LoopingSound.WriteBinary(writer); } if (DoorFlags != null) { DoorFlags.WriteBinary(writer); } }