Skip to content

Commit

Permalink
feat(helldivers): Add illuminates
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisL61 committed Dec 15, 2024
1 parent 24290b3 commit 7f86170
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Binary file not shown.
5 changes: 5 additions & 0 deletions rpc_express/lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ enum HelldiversFactions {
humans(name: "Humans"),
terminids(name: "Terminids"),
automatons(name: "Automaton"),
illuminates(name: "Illuminate"),
unknown(name: "Unknown");

final String name;
Expand All @@ -19,6 +20,8 @@ enum HelldiversFactions {
return HelldiversFactions.terminids;
case 'Automaton':
return HelldiversFactions.automatons;
case 'Illuminate':
return HelldiversFactions.illuminates;
case 'Unknown':
return HelldiversFactions.unknown;
}
Expand All @@ -35,6 +38,8 @@ extension HelldiversFactionsExtension on HelldiversFactions {
return Assets.helldivers.images.terminidIcon.path;
case HelldiversFactions.automatons:
return Assets.helldivers.images.automatonIcon.path;
case HelldiversFactions.illuminates:
return Assets.helldivers.images.illuminateIcon.path;
case HelldiversFactions.unknown:
return Assets.helldivers.images.superhearthIcon.path;
}
Expand All @@ -48,6 +53,8 @@ extension HelldiversFactionsExtension on HelldiversFactions {
return const Color(0xFFfe6d72);
case HelldiversFactions.terminids:
return const Color(0xFFffc100);
case HelldiversFactions.illuminates:
return const Color(0xFFac47fe);
case HelldiversFactions.unknown:
return const Color.fromARGB(255, 182, 182, 182);
}
Expand Down

0 comments on commit 7f86170

Please sign in to comment.