Co-locate the two cockpit-pod projects into a single repository:
- Console/ : TeslaConsole, the net48 WinForms operator console (decompiled
reconstruction) plus its differential + catalog test suite.
- Launcher/ : TeslaLauncher, the net6 pod-side Service + Agent rewrite.
Adds a combined TeslaSuite.sln, root README documenting the shared wire
contract (and its current duplication, the main follow-up), and a root
.gitignore. Histories were not preserved per request; this is a fresh start
from the current working state of both projects.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
29 lines
645 B
C#
29 lines
645 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace TeslaConsole.RedPlanet;
|
|
|
|
[Serializable]
|
|
internal class DamagedEvent : MissionEvent
|
|
{
|
|
public readonly RPPlayer Damager;
|
|
|
|
public readonly int DamageLoss;
|
|
|
|
public readonly int PointsTransfered;
|
|
|
|
public override IEnumerable<RPPlayer> InvolvedPilots => new RPPlayer[2] { ReportingPilot, Damager };
|
|
|
|
public DamagedEvent(RPPlayer reportingPilot, TimeSpan missionTime, RPPlayer damager, int damageLoss, int pointsTransfered)
|
|
: base(reportingPilot, missionTime)
|
|
{
|
|
Damager = damager;
|
|
DamageLoss = damageLoss;
|
|
PointsTransfered = pointsTransfered;
|
|
}
|
|
|
|
private DamagedEvent()
|
|
{
|
|
}
|
|
}
|