BTGame mirrors RPGame - same GameStateData/state-machine/NetworkScan engine driving each pod's MungaGame (take ownership, stream egg on WaitingForEgg, Run/Abort/Stop, countdown) - with the BT differences: ApplicationID.BTL4, a pilots grid carrying Mech/Camo/Patch/Badge/Experience, an Advanced Damage checkbox in place of RP's Score Compression, and the Mech* in-match messages recorded via BTMissionRecorder into BTMissionResults (.btm, gzip + BinaryFormatter like .rpm; scores are 1000-based like RP). Free For All and No Return share the pane; the mode selects the pilots' role. BTDefaults persists per-mode operator defaults to BTDefaults.btd (no dialog yet). RPGame's dead decompile members (sStopToIdleStates, IsAllPodsAppState) were not carried over. TeslaConsoleForm no longer assumes RP: the "AppID != 0 -> Pod Not Running RP" check becomes a GameTag map (RPL4 -> RP, BTL4 -> BT, otherwise Unknown Pod Application) feeding the per-game status strings, and the Games menu gains BattleTech: Free For All / No Return. Deferred to phase 4: mech/arena art, BT defaults dialog, BT score-sheet print document, Apps.xml BT411 product, live-pod verification. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
24 lines
540 B
C#
24 lines
540 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace TeslaConsole.BattleTech;
|
|
|
|
/// <summary>A mech was destroyed (<c>MechKilledMessage</c>).</summary>
|
|
[Serializable]
|
|
internal class BTKilledEvent : BTMissionEvent
|
|
{
|
|
public readonly BTPlayer Killer;
|
|
|
|
public override IEnumerable<BTPlayer> InvolvedPilots => new BTPlayer[2] { ReportingPilot, Killer };
|
|
|
|
public BTKilledEvent(BTPlayer reportingPilot, TimeSpan missionTime, BTPlayer killer)
|
|
: base(reportingPilot, missionTime)
|
|
{
|
|
Killer = killer;
|
|
}
|
|
|
|
private BTKilledEvent()
|
|
{
|
|
}
|
|
}
|