Files
ppc_amnet/amnet-shared/src/gameIds.ts
T

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;
}
}