parseGameCode(game
, region
): string
| null
Parses the game code to extract the cross-region portion.
Parameters
• game: GameEU
| GameUS
| GameJP
The game object returned from one of the other methods.
• region: Region
Region code
Returns
string
| null
The 4-digit resulting game code
Source
lib/other/parseGameCode.ts:12