Skip to content

Commit 1bbfae7

Browse files
Erik Bylundkirre-bylund
authored andcommitted
Disable admin extension until critical bugs have been fixed
1 parent 5260a00 commit 1bbfae7

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

Runtime/Editor/LootLockerAdminEndPoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using UnityEngine;
22

3-
#if UNITY_EDITOR
3+
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && LOOTLOCKER_ENABLE_EXTENSION
44
namespace LootLocker
55
{
66
public class LootLockerAdminEndPoints

Runtime/Editor/LootLockerExtensionCalls.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
using System;
2+
using UnityEngine;
3+
4+
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && LOOTLOCKER_ENABLE_EXTENSION
25
using LootLocker.Extension.Requests;
36
using LootLocker.Extension.Responses;
4-
using UnityEngine;
57

6-
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER
78
namespace LootLocker.Extension
89
{
910
public partial class LootLockerAdminManager

Runtime/Editor/LootLockerExtensionResponses.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
using LootLocker.Extension.DataTypes;
21
using System.Collections.Generic;
32

3+
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && LOOTLOCKER_ENABLE_EXTENSION
4+
using LootLocker.Extension.DataTypes;
45
namespace LootLocker.Extension.Requests
56
{
67
public class MfaAdminLoginRequest
@@ -106,4 +107,5 @@ public class KeyResponse : LootLockerResponse
106107
public string created_at { get; set; }
107108
public string updated_at { get; set; }
108109
}
109-
}
110+
}
111+
#endif

Runtime/Editor/StoredUser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using LootLocker;
2-
using LootLocker.Extension.Requests;
32
using System.IO;
43
using System;
54
using UnityEditor;
65
using UnityEngine;
76

8-
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER
7+
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && LOOTLOCKER_ENABLE_EXTENSION
8+
using LootLocker.Extension.Requests;
99
using LootLocker.Extension.DataTypes;
1010

1111
namespace LootLocker.Extension

Runtime/Editor/VisualElements/LootLocker MFA/LootLockerMFA.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using UnityEngine;
33
using UnityEngine.UIElements;
44
using LootLocker;
5-
#if UNITY_2021_3_OR_NEWER && UNITY_EDITOR
5+
#if UNITY_2021_3_OR_NEWER && UNITY_EDITOR && LOOTLOCKER_ENABLE_EXTENSION
66

77
namespace LootLocker.Extension
88
{

Runtime/Editor/VisualElements/LootLocker MainWindow/LootLockerMainWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine.UIElements;
44
using System.Linq;
55

6-
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER
6+
#if UNITY_EDITOR && UNITY_2021_3_OR_NEWER && LOOTLOCKER_ENABLE_EXTENSION
77
using LootLocker.Extension.DataTypes;
88
using LootLocker.Extension.Responses;
99

Runtime/Editor/VisualElements/LootLocker Setup/LootLockerWizard.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using UnityEngine;
33
using UnityEngine.UIElements;
44
using LootLocker;
5-
#if (UNITY_EDITOR) && UNITY_2021_3_OR_NEWER
5+
#if (UNITY_EDITOR) && UNITY_2021_3_OR_NEWER && LOOTLOCKER_ENABLE_EXTENSION
66

77
namespace LootLocker.Extension
88
{

0 commit comments

Comments
 (0)