Exemple #1
0
        public void Open()
        {
            Character.SetDialoger(m_collector);
            TaxCollector.OnDialogOpened(this);

            InventoryHandler.SendExchangeStartedTaxCollectorShopMessage(Character.Client, TaxCollector);

            //Attention, la fenêtre d'échange se fermera automatiquement dans %1 minutes.
            Character.SendInformationMessage(TextInformationTypeEnum.TEXT_INFORMATION_ERROR, 139, 5);
            Timer = Character.Area.CallDelayed((5 * 60 * 1000), Close);
        }
Exemple #2
0
        public void Open()
        {
            Character.SetDialog(this);
            TaxCollector.OnDialogOpened(this);

            Character.Client.Send(new NpcDialogCreationMessage(TaxCollector.Map.Id, TaxCollector.Id));
            Character.Client.Send(
                new TaxCollectorDialogQuestionExtendedMessage(TaxCollector.Guild.GetBasicGuildInformations(),
                                                              (short)TaxCollector.Guild.TaxCollectorPods,
                                                              (short)TaxCollector.Guild.TaxCollectorProspecting, (short)TaxCollector.Guild.TaxCollectorWisdom,
                                                              (sbyte)TaxCollector.Guild.TaxCollectors.Count, 0, TaxCollector.GatheredKamas, TaxCollector.GatheredExperience,
                                                              TaxCollector.Bag.BagWeight, TaxCollector.Bag.BagValue));
        }