Content deleted Content added
No edit summary |
No edit summary |
||
Line 4:
-- Translation table for converting numeric-IDs to shorthand aliases.
local
[10677] = 'PS1',
[1323662] = 'PS1', -- Placeholder, this is actually the series but could be mistakenly used for PS1.
Line 16:
[48263] = 'X360',
[13361286] = 'XONE',
}
-- Translation table for converting system aliases to QIDs
local systemsIDs = {
['PS1'] = 10677,
['PS2'] = 10680,
['PS3'] = 10683,
['PS4'] = 5014725,
['PC'] = 16338,
['WII'] = 8079,
['WIIU'] = 56942,
['XBOX'] = 132020,
['X360'] = 48263,
['XONE'] = 13361286,
}
function p.getSystemAlias(numericId)
return
end
function p.getSystemID(system)
return systemIDs[system];
end
|