Skip to content

Commit

Permalink
Add F-4E to module list (#33)
Browse files Browse the repository at this point in the history
* Add F-4E to module list

* Add IsF4E function

---------

Co-authored-by: Mutex666 <[email protected]>
  • Loading branch information
charliefoxtwo and Mutex666 authored Jun 14, 2024
1 parent 32e957c commit 47f6b26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/ClassLibraryCommon/DCSAircraft.cs
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,9 @@ public static bool IsAH64D(DCSAircraft dcsfpModule)
return dcsfpModule.ID == 46;
}

public static bool IsF4E(DCSAircraft dcsfpModule) {
return dcsfpModule.ID == 48;
}

public static DCSAircraft GetBackwardCompatible(string oldEnumValue)
{
Expand Down
3 changes: 2 additions & 1 deletion src/ClassLibraryCommon/dcs-bios_modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ F-15E|44|F-15E Strike Eagle
Mosquito|45|Mosquito FB Mk. VI
AH-64D|46|AH-64D Apache
MH-60R|47|MH-60R SeaHawk
F-4E|48|F-4E Phantom II

MetadataEnd|500|MetadataEnd|CommonModules
MetadataStart|501|MetadataStart|CommonModules
CommonData|502|CommonData|CommonModules
CommonData|502|CommonData|CommonModules

0 comments on commit 47f6b26

Please sign in to comment.