Name the All Asian multiplier after what it counts
The score window and the stored Contest.Multiplier1Name row both said "Prefixes" for an Asian entrant, which counts DXCC entities. Contest.MultiplierNames is now MultiplierNamesFor(StationInfo me), the same shape as ExchangeFieldsFor. Every other contest returns the same list it did before; All Asian returns "Countries" from Asia and "Prefixes" from everywhere else. ContestDefinitions.For takes the station as well, because that name is written to the log for N1MM. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157i7PiZyqBkquxS9A6FTdQ
This commit is contained in:
@@ -8,9 +8,9 @@ namespace Nonemm.Session;
|
||||
/// table, which it reads when it opens a log.
|
||||
public static class ContestDefinitions
|
||||
{
|
||||
public static ContestDefinition For(Contest contest)
|
||||
public static ContestDefinition For(Contest contest, StationInfo me)
|
||||
{
|
||||
IReadOnlyList<string> mults = contest.MultiplierNames;
|
||||
IReadOnlyList<string> mults = contest.MultiplierNamesFor(me);
|
||||
return new ContestDefinition
|
||||
{
|
||||
Name = contest.Name,
|
||||
|
||||
Reference in New Issue
Block a user