mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-04 00:28:43 +00:00
Add LBP Vita GameVersion
This commit is contained in:
parent
01aa5e0533
commit
5fd2d0e0d3
3 changed files with 10 additions and 1 deletions
|
@ -102,6 +102,8 @@
|
|||
<s:Boolean x:Key="/Default/UserDictionary/Words/=PCAS/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=PCJS/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=PCKS/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=PCSA/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=PCSF/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Swingy/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=thumbsup/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=topscores/@EntryIndexedValue">True</s:Boolean>
|
||||
|
|
|
@ -76,11 +76,17 @@ namespace LBPUnion.ProjectLighthouse.Helpers
|
|||
"CUSA01304",
|
||||
};
|
||||
|
||||
public static readonly string[] LittleBigPlanetVitaTitleIds =
|
||||
{
|
||||
"PCSF00021", "PCSA00017", "PCSC00013",
|
||||
};
|
||||
|
||||
public static GameVersion FromTitleId(string titleId)
|
||||
{
|
||||
if (LittleBigPlanet1TitleIds.Contains(titleId)) return GameVersion.LittleBigPlanet1;
|
||||
if (LittleBigPlanet2TitleIds.Contains(titleId)) return GameVersion.LittleBigPlanet2;
|
||||
if (LittleBigPlanet3TitleIds.Contains(titleId)) return GameVersion.LittleBigPlanet3;
|
||||
if (LittleBigPlanetVitaTitleIds.Contains(titleId)) return GameVersion.LittleBigPlanetVita;
|
||||
|
||||
return GameVersion.LittleBigPlanet1;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ namespace LBPUnion.ProjectLighthouse.Types
|
|||
LittleBigPlanet1 = 0,
|
||||
LittleBigPlanet2 = 1,
|
||||
LittleBigPlanet3 = 2,
|
||||
Unknown = 3,
|
||||
LittleBigPlanetVita = 1,
|
||||
Unknown = -1,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue