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();
			}
		}
示例#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();
            }
        }