using System; using System.Text; namespace TeslaConsole.BattleTech; /// /// A spectator / mission-review station. Mirrors RPCamera: a non-combatant /// participant that occupies a pilot slot but is not a mech. No BT camera golden /// egg exists, so the field set follows the Red Planet camera block (minus the /// RP-only football team= field) and should be confirmed against a live BT /// pod when one is available. /// [Serializable] internal class BTCamera : BTParticipant { public BTCamera(string podHostAddress, HostType hostType) : base(podHostAddress, hostType) { if (hostType != HostType.MissionReviewHostType) { throw new ArgumentOutOfRangeException("hostType"); } } protected sealed override void AppendParticipantSpecificData(int index, StringBuilder sb) { sb.Append("loadzones=0\n"); sb.Append("name=Camera\n"); sb.AppendFormat("bitmapindex={0}\n", index); sb.Append("vehicle=camera\n"); sb.Append("badge=None\n"); sb.Append("dropzone=one\n"); sb.Append("color=Black\n"); } }