Skip to content

Commit fdb7dc6

Browse files
Revert "formatting" changes
1 parent f2052fd commit fdb7dc6

File tree

1 file changed

+40
-67
lines changed

1 file changed

+40
-67
lines changed

Runtime/Game/Platforms/PlatformManager.cs

Lines changed: 40 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using UnityEngine;
32
#if UNITY_EDITOR
43
using UnityEditor;
54
#endif
@@ -8,20 +7,20 @@ namespace LootLocker.Requests
87
{
98
public enum Platforms
109
{
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
2524
}
2625

2726
public class CurrentPlatform
@@ -42,63 +41,37 @@ static CurrentPlatform()
4241
private static readonly string[] PlatformStrings = new[]
4342
{
4443
"" // 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
7157
};
7258

7359
private static readonly string[] PlatformFriendlyStrings = new[]
7460
{
7561
"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
10275
};
10376

10477
public struct PlatformRepresentation

0 commit comments

Comments
 (0)