public void Close() { Character.CloseDialog(this); TaxCollector.OnDialogClosed(this); DialogHandler.SendLeaveDialogMessage(Character.Client, DialogType); }
public void Close() { Character.Area.UnregisterTimer(Timer); Character.CloseDialog(this); TaxCollector.OnDialogClosed(this); if (TaxCollector.IsDisposed) { return; } TaxCollectorHandler.SendGetExchangeGuildTaxCollectorMessage(TaxCollector.Guild.Clients, GetExchangeGuildTaxCollector()); InventoryHandler.SendExchangeLeaveMessage(Character.Client, DialogType, false); TaxCollector.Guild.AddXP(TaxCollector.GatheredExperience); TaxCollector.Delete(); }