1
1
using System ;
2
- using UnityEngine ;
3
2
#if UNITY_EDITOR
4
3
using UnityEditor ;
5
4
#endif
@@ -8,20 +7,20 @@ namespace LootLocker.Requests
8
7
{
9
8
public enum Platforms
10
9
{
11
- None ,
12
- Guest ,
13
- WhiteLabel ,
14
- Steam ,
15
- PlayStationNetwork ,
16
- XboxOne ,
17
- NintendoSwitch ,
18
- AmazonLuna ,
19
- AppleSignIn ,
20
- AppleGameCenter ,
21
- Android ,
22
- Google ,
23
- Epic ,
24
- Meta
10
+ None
11
+ , Guest
12
+ , WhiteLabel
13
+ , Steam
14
+ , PlayStationNetwork
15
+ , XboxOne
16
+ , NintendoSwitch
17
+ , AmazonLuna
18
+ , AppleSignIn
19
+ , AppleGameCenter
20
+ , Android
21
+ , Google
22
+ , Epic
23
+ , Meta
25
24
}
26
25
27
26
public class CurrentPlatform
@@ -42,63 +41,37 @@ static CurrentPlatform()
42
41
private static readonly string [ ] PlatformStrings = new [ ]
43
42
{
44
43
"" // None
45
- ,
46
- "guest" // Guest
47
- ,
48
- "white_label_login" // WhiteLabel
49
- ,
50
- "steam" // Steam
51
- ,
52
- "psn" // PSN
53
- ,
54
- "xbox_one" // XboxOne
55
- ,
56
- "nintendo_switch" // NintendoSwitch
57
- ,
58
- "amazon_luna" // AmazonLuna
59
- ,
60
- "apple_sign_in" // AppleSignIn
61
- ,
62
- "apple_game_center" // Apple Game Center
63
- ,
64
- "android" // Android
65
- ,
66
- "google_sign_in" // Google
67
- ,
68
- "epic_games" // Epic Online Services / Epic Games
69
- ,
70
- "meta" // Meta
44
+ , "guest" // Guest
45
+ , "white_label_login" // WhiteLabel
46
+ , "steam" // Steam
47
+ , "psn" // PSN
48
+ , "xbox_one" // XboxOne
49
+ , "nintendo_switch" // NintendoSwitch
50
+ , "amazon_luna" // AmazonLuna
51
+ , "apple_sign_in" // AppleSignIn
52
+ , "apple_game_center" // Apple Game Center
53
+ , "android" // Android
54
+ , "google_sign_in" // Google
55
+ , "epic_games" // Epic Online Services / Epic Games
56
+ , "meta" // Meta
71
57
} ;
72
58
73
59
private static readonly string [ ] PlatformFriendlyStrings = new [ ]
74
60
{
75
61
"None" // None
76
- ,
77
- "Guest" // Guest
78
- ,
79
- "White Label" // WhiteLabel
80
- ,
81
- "Steam" // Steam
82
- ,
83
- "Playstation Network" // PSN
84
- ,
85
- "Xbox One" // XboxOne
86
- ,
87
- "Nintendo Switch" // NintendoSwitch
88
- ,
89
- "Amazon Luna" // AmazonLuna
90
- ,
91
- "Apple Sign In" // AppleSignIn
92
- ,
93
- "Apple Game Center" // Apple Game Center
94
- ,
95
- "Android" // Android
96
- ,
97
- "Google" // Google
98
- ,
99
- "Epic Online Services" // Epic Online Services / Epic Games
100
- ,
101
- "Meta" // Meta
62
+ , "Guest" // Guest
63
+ , "White Label" // WhiteLabel
64
+ , "Steam" // Steam
65
+ , "Playstation Network" // PSN
66
+ , "Xbox One" // XboxOne
67
+ , "Nintendo Switch" // NintendoSwitch
68
+ , "Amazon Luna" // AmazonLuna
69
+ , "Apple Sign In" // AppleSignIn
70
+ , "Apple Game Center" // Apple Game Center
71
+ , "Android" // Android
72
+ , "Google" // Google
73
+ , "Epic Online Services" // Epic Online Services / Epic Games
74
+ , "Meta" // Meta
102
75
} ;
103
76
104
77
public struct PlatformRepresentation
0 commit comments