-
Notifications
You must be signed in to change notification settings - Fork 7
fix: Remove references to live env (and also stage env) #424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,7 +11,6 @@ public class LootLockerEditorData | |||||||||
| private static string adminToken = prefix + "AdminToken"; | ||||||||||
| private static string selectedGameID = prefix + "SelectedGameID"; | ||||||||||
| private static string selectedGameName = prefix + "SelectedGameName"; | ||||||||||
| private static string environment = prefix + "Environment"; | ||||||||||
| private static string firstTimeWelcome = prefix + "FirstTimeWelcome"; | ||||||||||
| private static string newSession = prefix + "NewSession"; | ||||||||||
|
|
||||||||||
|
|
@@ -20,7 +19,6 @@ public static void ClearLootLockerPrefs() | |||||||||
| EditorPrefs.DeleteKey(adminToken); | ||||||||||
| EditorPrefs.DeleteKey(selectedGameID); | ||||||||||
| EditorPrefs.DeleteKey(selectedGameName); | ||||||||||
| EditorPrefs.DeleteKey(environment); | ||||||||||
| EditorPrefs.DeleteKey(firstTimeWelcome); | ||||||||||
| EditorPrefs.DeleteKey(newSession); | ||||||||||
|
||||||||||
| EditorPrefs.DeleteKey(newSession); | |
| EditorPrefs.DeleteKey(newSession); | |
| // Delete legacy environment key used by older versions so resets fully clear LootLocker editor state | |
| EditorPrefs.DeleteKey(PlayerSettings.productGUID.ToString() + ".LootLocker.Environment"); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -415,9 +415,7 @@ public static LootLockerConfig current | |
| [HideInInspector] private static readonly string WssProtocol = "wss://"; | ||
| [HideInInspector] private static readonly string UrlCore = "api.lootlocker.com"; | ||
| [HideInInspector] private static string UrlCoreOverride = | ||
| #if LOOTLOCKER_TARGET_STAGE_ENV | ||
| "api.stage.internal.dev.lootlocker.cloud"; | ||
| #elif LOOTLOCKER_TARGET_LOCAL_ENV | ||
| #if LOOTLOCKER_TARGET_LOCAL_ENV | ||
| "localhost:8080"; | ||
| #else | ||
| null; | ||
|
Comment on lines
417
to
421
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you extract this to a variable instead?
If we extend on this in the future, we would most likely want to reuse this color and not want to type it in manually.