mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-07 22:28:13 +03:00
23 lines
550 B
TypeScript
23 lines
550 B
TypeScript
/**
|
|
* Get the game name from the game identifier (4-letter code)
|
|
* @param id
|
|
*/
|
|
export function getGameName(id: string): string | null {
|
|
switch (id?.toUpperCase()) {
|
|
case "SDGT":
|
|
return "Initial D The Arcade";
|
|
case "SDHD":
|
|
case "SDBT":
|
|
return "CHUNITHM";
|
|
case "SDDT":
|
|
return "O.N.G.E.K.I.";
|
|
case "SDEZ":
|
|
return "maimai DX";
|
|
case "SBZV":
|
|
return "Project DIVA Future Tone";
|
|
|
|
default:
|
|
return null;
|
|
}
|
|
}
|