internal static void Create() { try { _abort = false; _isOpen = false; var tmp = new LootFrame(); _instance = tmp; _isOpen = true; if (!_abort && ObjectManager.Instance.Player.CurrentLootGuid != 0) { return; } _isOpen = false; _instance = null; } catch { _isOpen = false; _instance = null; } }
internal static void Destroy() { _abort = true; _isOpen = false; _instance = null; }