@@ -60,7 +60,7 @@ public static LootLockerConfig Get()
60
60
{
61
61
settingsInstance = ProjectSettingsHelper . Load < LootLockerConfig > ( path ) ;
62
62
}
63
-
63
+
64
64
settingsInstance . hideFlags = HideFlags . HideAndDontSave ;
65
65
return settingsInstance ;
66
66
#else
@@ -91,34 +91,31 @@ public static LootLockerConfig current
91
91
}
92
92
}
93
93
94
- public string apiKey ;
95
- [ HideInInspector ]
96
- public string token ;
94
+ public string apiKey ;
97
95
[ HideInInspector ]
98
- public int gameID ;
99
- public string game_version = "1.0" ;
96
+ public string token ;
100
97
[ HideInInspector ]
101
- public string deviceID = "defaultPlayerId" ;
98
+ public int gameID ;
99
+ public string game_version = "1.0" ;
102
100
[ HideInInspector ]
103
- public string email , password ;
104
- public platformType platform ;
105
- public environmentType environment ;
106
- public enum environmentType { Development , Live }
107
- public enum platformType { android , ios , Steam , Windows }
108
- public bool developmentMode => environment == environmentType . Development ? true : false ;
101
+ public string deviceID = "defaultPlayerId" ;
102
+ public platformType platform ;
103
+ public enum platformType { Android , iOS , Steam , Windows , GoG , Xbox , PlayStationNetwork , EpicStore , NintendoSwitch , Web , Other }
104
+
105
+ public bool developmentMode ;
109
106
[ HideInInspector ]
110
- public string url = "https://api.lootlocker.io/game/v1" ;
107
+ public string url = "https://api.lootlocker.io/game/v1" ;
111
108
[ HideInInspector ]
112
- public string adminUrl = "https://api.lootlocker.io/admin" ;
109
+ public string adminUrl = "https://api.lootlocker.io/admin" ;
113
110
[ HideInInspector ]
114
- public string playerUrl = "https://api.lootlocker.io/player" ;
111
+ public string playerUrl = "https://api.lootlocker.io/player" ;
115
112
[ HideInInspector ]
116
- public string userUrl = "https://api.lootlocker.io/game" ;
113
+ public string userUrl = "https://api.lootlocker.io/game" ;
117
114
public enum DebugLevel { All , ErrorOnly , NormalOnly , Off }
118
- public DebugLevel currentDebugLevel ;
119
- public bool allowTokenRefresh = true ;
115
+ public DebugLevel currentDebugLevel ;
116
+ public bool allowTokenRefresh = true ;
120
117
121
- public void UpdateToken ( string _token , string _player_identifier )
118
+ public void UpdateToken ( string _token , string _player_identifier )
122
119
{
123
120
token = _token ;
124
121
deviceID = _player_identifier ;
0 commit comments