예제 #1
0
        private void OnClickableMenuClosed(object sender, EventArgsClickableMenuClosed e)
        {
            Utils.DebugLog(e.PriorMenu.GetType().ToString() + " menu closed.");

            if (currentGiftHelper != null)
            {
                Utils.DebugLog("Closing current helper: " + currentGiftHelper.GetType().ToString());

                UnsubscribeEvents();

                currentGiftHelper.OnClose();
            }
        }
예제 #2
0
        private void OnClickableMenuClosed(IClickableMenu priorMenu)
        {
            Utils.DebugLog(previousMenu.GetType().ToString() + " menu closed.");

            if (currentGiftHelper != null)
            {
                Utils.DebugLog("[OnClickableMenuClosed] Closing current helper: " + currentGiftHelper.GetType().ToString());

                UnsubscribeEvents();

                currentGiftHelper.OnClose();
            }
        }