public static void Show(PacketAPI api, short npcID)
		{
			if (Instance != null)
				return;

			Instance = new BankAccountDialog(api);

			if (!api.BankOpen(npcID))
			{
				Instance.Close();
				Instance = null;
				EOGame.Instance.DoShowLostConnectionDialogAndReturnToMainMenu();
			}
		}
Beispiel #2
0
        public static void Show(PacketAPI api, short npcID)
        {
            if (Instance != null)
            {
                return;
            }

            Instance = new BankAccountDialog(api);

            if (!api.BankOpen(npcID))
            {
                Instance.Close();
                Instance = null;
                EOGame.Instance.DoShowLostConnectionDialogAndReturnToMainMenu();
            }
        }